Class Phone

java.lang.Object
com.microsoft.graph.models.Phone
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class Phone extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Phone.
  • Field Details

    • oDataType

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

      @SerializedName(value="language", alternate="Language") @Expose @Nullable public String language
      The Language.
    • number

      @SerializedName(value="number", alternate="Number") @Expose @Nullable public String number
      The Number. The phone number.
    • region

      @SerializedName(value="region", alternate="Region") @Expose @Nullable public String region
      The Region.
    • type

      @SerializedName(value="type", alternate="Type") @Expose @Nullable public PhoneType type
      The Type. The type of phone number. The possible values are: home, business, mobile, other, assistant, homeFax, businessFax, otherFax, pager, radio.
  • Constructor Details

    • Phone

      public Phone()
  • 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