Class LocaleInfo

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

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

    • oDataType

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

      @SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayName
      The Display Name. A name representing the user's locale in natural language, for example, 'English (United States)'.
    • locale

      @SerializedName(value="locale", alternate="Locale") @Expose @Nullable public String locale
      The Locale. A locale representation for the user, which includes the user's preferred language and country/region. For example, 'en-us'. The language component follows 2-letter codes as defined in ISO 639-1, and the country component follows 2-letter codes as defined in ISO 3166-1 alpha-2.
  • Constructor Details

    • LocaleInfo

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