Package com.microsoft.graph.models
Class AttributeDefinition
java.lang.Object
com.microsoft.graph.models.AttributeDefinition
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class AttributeDefinition
extends Object
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Attribute Definition.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Anchor.The Api Expressions.The Case Exact.The Default Value.The Flow Null Values.The Metadata.The Multivalued.The Mutability.The Name.the OData type of the object as returned by the serviceThe Referenced Objects.The Required.The Type. -
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 -
anchor
The Anchor. true if the attribute should be used as the anchor for the object. Anchor attributes must have a unique value identifying an object, and must be immutable. Default is false. One, and only one, of the object's attributes must be designated as the anchor to support synchronization. -
apiExpressions
@SerializedName(value="apiExpressions", alternate="ApiExpressions") @Expose @Nullable public List<StringKeyStringValuePair> apiExpressionsThe Api Expressions. -
caseExact
@SerializedName(value="caseExact", alternate="CaseExact") @Expose @Nullable public Boolean caseExactThe Case Exact. true if value of this attribute should be treated as case-sensitive. This setting affects how the synchronization engine detects changes for the attribute. -
defaultValue
@SerializedName(value="defaultValue", alternate="DefaultValue") @Expose @Nullable public String defaultValueThe Default Value. -
flowNullValues
@SerializedName(value="flowNullValues", alternate="FlowNullValues") @Expose @Nullable public Boolean flowNullValuesThe Flow Null Values. 'true' to allow null values for attributes. -
metadata
@SerializedName(value="metadata", alternate="Metadata") @Expose @Nullable public List<AttributeDefinitionMetadataEntry> metadataThe Metadata. Metadata for the given object. -
multivalued
@SerializedName(value="multivalued", alternate="Multivalued") @Expose @Nullable public Boolean multivaluedThe Multivalued. true if an attribute can have multiple values. Default is false. -
mutability
@SerializedName(value="mutability", alternate="Mutability") @Expose @Nullable public Mutability mutabilityThe Mutability. An attribute's mutability. Possible values are: ReadWrite, ReadOnly, Immutable, WriteOnly. Default is ReadWrite. -
name
The Name. Name of the attribute. Must be unique within the object definition. Not nullable. -
referencedObjects
@SerializedName(value="referencedObjects", alternate="ReferencedObjects") @Expose @Nullable public List<ReferencedObject> referencedObjectsThe Referenced Objects. For attributes with reference type, lists referenced objects (for example, the manager attribute would list User as the referenced object). -
required
The Required. true if attribute is required. Object can not be created if any of the required attributes are missing. If during synchronization, the required attribute has no value, the default value will be used. If default the value was not set, synchronization will record an error. -
type
The Type. Attribute value type. Possible values are: String, Integer, Reference, Binary, Boolean,DateTime. Default is String.
-
-
Constructor Details
-
AttributeDefinition
public AttributeDefinition()
-
-
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
-