Class Phone
- java.lang.Object
-
- com.ellucian.generated.eedm.persons.v12_2_0.Phone
-
@Generated("jsonschema2pojo") public class Phone extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private Object
countryCallingCode
Country Calling Codeprivate String
extension
Extensionprivate String
number
Numberprivate Object
preference
Preferred Phoneprivate Type__2
type
Type
-
Constructor Summary
Constructors Constructor Description Phone()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
Object
getCountryCallingCode()
Country Calling CodeString
getExtension()
ExtensionString
getNumber()
NumberObject
getPreference()
Preferred PhoneType__2
getType()
Typeint
hashCode()
void
setCountryCallingCode(Object countryCallingCode)
Country Calling Codevoid
setExtension(String extension)
Extensionvoid
setNumber(String number)
Numbervoid
setPreference(Object preference)
Preferred Phonevoid
setType(Type__2 type)
TypeString
toString()
Phone
withCountryCallingCode(Object countryCallingCode)
Phone
withExtension(String extension)
Phone
withNumber(String number)
Phone
withPreference(Object preference)
Phone
withType(Type__2 type)
-
-
-
Field Detail
-
type
@JsonPropertyDescription("A type of phone for a person. Includes a standard type (e.g. \'mobile\', \'home\') and an optional, custom type to further identify the type of phone.") private Type__2 type
TypeA type of phone for a person. Includes a standard type (e.g. 'mobile', 'home') and an optional, custom type to further identify the type of phone. (Required)
-
preference
@JsonPropertyDescription("Specifies if the phone is preferred over others of the same type. Only one phone should be set to primary for a person.") private Object preference
Preferred PhoneSpecifies if the phone is preferred over others of the same type. Only one phone should be set to primary for a person.
-
countryCallingCode
@JsonPropertyDescription("The country calling code of telephone and/or mobile device when dialing internationally.") private Object countryCallingCode
Country Calling CodeThe country calling code of telephone and/or mobile device when dialing internationally.
-
number
@JsonPropertyDescription("The number assigned to the phone.") private String number
NumberThe number assigned to the phone. (Required)
-
extension
@JsonPropertyDescription("The extension used to connect to the phone when multiple phones share the same primary number.") private String extension
ExtensionThe extension used to connect to the phone when multiple phones share the same primary number.
-
-
Method Detail
-
getType
public Type__2 getType()
TypeA type of phone for a person. Includes a standard type (e.g. 'mobile', 'home') and an optional, custom type to further identify the type of phone. (Required)
-
setType
public void setType(Type__2 type)
TypeA type of phone for a person. Includes a standard type (e.g. 'mobile', 'home') and an optional, custom type to further identify the type of phone. (Required)
-
getPreference
public Object getPreference()
Preferred PhoneSpecifies if the phone is preferred over others of the same type. Only one phone should be set to primary for a person.
-
setPreference
public void setPreference(Object preference)
Preferred PhoneSpecifies if the phone is preferred over others of the same type. Only one phone should be set to primary for a person.
-
getCountryCallingCode
public Object getCountryCallingCode()
Country Calling CodeThe country calling code of telephone and/or mobile device when dialing internationally.
-
setCountryCallingCode
public void setCountryCallingCode(Object countryCallingCode)
Country Calling CodeThe country calling code of telephone and/or mobile device when dialing internationally.
-
getNumber
public String getNumber()
NumberThe number assigned to the phone. (Required)
-
setNumber
public void setNumber(String number)
NumberThe number assigned to the phone. (Required)
-
getExtension
public String getExtension()
ExtensionThe extension used to connect to the phone when multiple phones share the same primary number.
-
setExtension
public void setExtension(String extension)
ExtensionThe extension used to connect to the phone when multiple phones share the same primary number.
-
-