Package com.microsoft.graph.models
Class RelatedContact
java.lang.Object
com.microsoft.graph.models.RelatedContact
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class RelatedContact
extends Object
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Related Contact.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Access Consent.The Display Name.The Email Address.The Mobile Phone.the OData type of the object as returned by the serviceThe Relationship. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManager
void
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON object
-
Field Details
-
oDataType
the OData type of the object as returned by the service -
accessConsent
@SerializedName(value="accessConsent", alternate="AccessConsent") @Expose @Nullable public Boolean accessConsentThe Access Consent. Indicates whether the user has been consented to access student data. -
displayName
@SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayNameThe Display Name. Name of the contact. Required. -
emailAddress
@SerializedName(value="emailAddress", alternate="EmailAddress") @Expose @Nullable public String emailAddressThe Email Address. Primary email address of the contact. Required. -
mobilePhone
@SerializedName(value="mobilePhone", alternate="MobilePhone") @Expose @Nullable public String mobilePhoneThe Mobile Phone. Mobile phone number of the contact. -
relationship
@SerializedName(value="relationship", alternate="Relationship") @Expose @Nullable public ContactRelationship relationshipThe Relationship. Relationship to the user. Possible values are: parent, relative, aide, doctor, guardian, child, other, unknownFutureValue.
-
-
Constructor Details
-
RelatedContact
public RelatedContact()
-
-
Method Details
-
additionalDataManager
@Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()- Specified by:
additionalDataManager
in interfacecom.microsoft.graph.serializer.IJsonBackedObject
-
setRawObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json) Sets the raw JSON object- Specified by:
setRawObject
in interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-