Class SocialMedium
- java.lang.Object
-
- com.ellucian.generated.eedm.persons.v12_2_0.SocialMedium
-
@Generated("jsonschema2pojo") public class SocialMedium extends Object
-
-
Constructor Summary
Constructors Constructor Description SocialMedium()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
String
getAddress()
AddressObject
getPreference()
Preferred Social MediaType__4
getType()
Social Mediaint
hashCode()
void
setAddress(String address)
Addressvoid
setPreference(Object preference)
Preferred Social Mediavoid
setType(Type__4 type)
Social MediaString
toString()
SocialMedium
withAddress(String address)
SocialMedium
withPreference(Object preference)
SocialMedium
withType(Type__4 type)
-
-
-
Field Detail
-
type
@JsonPropertyDescription("A type of social media account for a person. Includes a standard type (e.g. \'skype\', \'facebook\') and an optional, custom type to further identify the type of social media account.") private Type__4 type
Social MediaA type of social media account for a person. Includes a standard type (e.g. 'skype', 'facebook') and an optional, custom type to further identify the type of social media account. (Required)
-
preference
@JsonPropertyDescription("Specifies if the social media account is preferred over others of the same type. Only one social media should be set to primary for a person.") private Object preference
Preferred Social MediaSpecifies if the social media account is preferred over others of the same type. Only one social media should be set to primary for a person.
-
address
@JsonPropertyDescription("The username, handle or other address of the social media account.") private String address
AddressThe username, handle or other address of the social media account. (Required)
-
-
Method Detail
-
getType
public Type__4 getType()
Social MediaA type of social media account for a person. Includes a standard type (e.g. 'skype', 'facebook') and an optional, custom type to further identify the type of social media account. (Required)
-
setType
public void setType(Type__4 type)
Social MediaA type of social media account for a person. Includes a standard type (e.g. 'skype', 'facebook') and an optional, custom type to further identify the type of social media account. (Required)
-
withType
public SocialMedium withType(Type__4 type)
-
getPreference
public Object getPreference()
Preferred Social MediaSpecifies if the social media account is preferred over others of the same type. Only one social media should be set to primary for a person.
-
setPreference
public void setPreference(Object preference)
Preferred Social MediaSpecifies if the social media account is preferred over others of the same type. Only one social media should be set to primary for a person.
-
withPreference
public SocialMedium withPreference(Object preference)
-
getAddress
public String getAddress()
AddressThe username, handle or other address of the social media account. (Required)
-
setAddress
public void setAddress(String address)
AddressThe username, handle or other address of the social media account. (Required)
-
withAddress
public SocialMedium withAddress(String address)
-
-