Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionThe Attributes.The Metadata.The Name.the OData type of the object as returned by the serviceThe Supported Apis. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManagervoidsetRawObject(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 -
attributes
@SerializedName(value="attributes", alternate="Attributes") @Expose @Nullable public List<AttributeDefinition> attributesThe Attributes. Defines attributes of the object. -
metadata
@SerializedName(value="metadata", alternate="Metadata") @Expose @Nullable public List<ObjectDefinitionMetadataEntry> metadataThe Metadata. Metadata for the given object. -
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> supportedApisThe 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:
additionalDataManagerin 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:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-