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 Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • accessConsent

      @SerializedName(value="accessConsent", alternate="AccessConsent") @Expose @Nullable public Boolean accessConsent
      The Access Consent. Indicates whether the user has been consented to access student data.
    • displayName

      @SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayName
      The Display Name. Name of the contact. Required.
    • emailAddress

      @SerializedName(value="emailAddress", alternate="EmailAddress") @Expose @Nullable public String emailAddress
      The Email Address. Primary email address of the contact. Required.
    • mobilePhone

      @SerializedName(value="mobilePhone", alternate="MobilePhone") @Expose @Nullable public String mobilePhone
      The Mobile Phone. Mobile phone number of the contact.
    • relationship

      @SerializedName(value="relationship", alternate="Relationship") @Expose @Nullable public ContactRelationship relationship
      The 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 interface com.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 interface com.microsoft.graph.serializer.IJsonBackedObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to