Class ObjectDefinition

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

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

    • oDataType

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

      @SerializedName(value="attributes", alternate="Attributes") @Expose @Nullable public List<AttributeDefinition> attributes
      The Attributes. Defines attributes of the object.
    • metadata

      @SerializedName(value="metadata", alternate="Metadata") @Expose @Nullable public List<ObjectDefinitionMetadataEntry> metadata
      The Metadata. Metadata for the given object.
    • name

      @SerializedName(value="name", alternate="Name") @Expose @Nullable public String name
      The Name. Name of the object. Must be unique within a directory definition. Not nullable.
    • supportedApis

      @SerializedName(value="supportedApis", alternate="SupportedApis") @Expose @Nullable public List<String> supportedApis
      The Supported Apis. The API that the provisioning service queries to retrieve data for synchronization.
  • Constructor Details

    • ObjectDefinition

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