1 /* 2 * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com 3 * The software in this package is published under the terms of the CPAL v1.0 4 * license, a copy of which has been included with this distribution in the 5 * LICENSE.txt file. 6 */ 7 package org.mule.json.model; 8 9 import org.codehaus.jackson.map.annotate.JsonSerialize; 10 11 /** 12 * An Email object 13 */ 14 @JsonSerialize 15 public class EmailAddress 16 { 17 private String type; 18 private String address; 19 20 public String getType() 21 { 22 return type; 23 } 24 25 public void setType(String type) 26 { 27 this.type = type; 28 } 29 30 public String getAddress() 31 { 32 return address; 33 } 34 35 public void setAddress(String address) 36 { 37 this.address = address; 38 } 39 }