Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Template Source: BaseEntity.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
package com.microsoft.graph.models;
import com.microsoft.graph.serializer.ISerializer;
import com.microsoft.graph.serializer.IJsonBackedObject;
import com.microsoft.graph.serializer.AdditionalDataManager;
import java.util.EnumSet;
import com.microsoft.graph.http.BaseCollectionPage;
import com.microsoft.graph.models.StringKeyStringValuePair;
import com.microsoft.graph.models.AttributeDefinitionMetadataEntry;
import com.microsoft.graph.models.Mutability;
import com.microsoft.graph.models.ReferencedObject;
import com.microsoft.graph.models.AttributeType;
import com.google.gson.JsonObject;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import javax.annotation.Nullable;
import javax.annotation.Nonnull;
// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
* The class for the Attribute Definition.
*/
public class AttributeDefinition implements IJsonBackedObject {
/** the OData type of the object as returned by the service */
@SerializedName("@odata.type")
@Expose
@Nullable
public String oDataType;
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
@Override
@Nonnull
public final AdditionalDataManager additionalDataManager() {
return additionalDataManager;
}
/**
* 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.
*/
@SerializedName(value = "anchor", alternate = {"Anchor"})
@Expose
@Nullable
public Boolean anchor;
/**
* The Api Expressions.
*
*/
@SerializedName(value = "apiExpressions", alternate = {"ApiExpressions"})
@Expose
@Nullable
public java.util.List apiExpressions;
/**
* The 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.
*/
@SerializedName(value = "caseExact", alternate = {"CaseExact"})
@Expose
@Nullable
public Boolean caseExact;
/**
* The Default Value.
*
*/
@SerializedName(value = "defaultValue", alternate = {"DefaultValue"})
@Expose
@Nullable
public String defaultValue;
/**
* The Flow Null Values.
* 'true' to allow null values for attributes.
*/
@SerializedName(value = "flowNullValues", alternate = {"FlowNullValues"})
@Expose
@Nullable
public Boolean flowNullValues;
/**
* The Metadata.
* Metadata for the given object.
*/
@SerializedName(value = "metadata", alternate = {"Metadata"})
@Expose
@Nullable
public java.util.List metadata;
/**
* The Multivalued.
* true if an attribute can have multiple values. Default is false.
*/
@SerializedName(value = "multivalued", alternate = {"Multivalued"})
@Expose
@Nullable
public Boolean multivalued;
/**
* The Mutability.
* An attribute's mutability. Possible values are: ReadWrite, ReadOnly, Immutable, WriteOnly. Default is ReadWrite.
*/
@SerializedName(value = "mutability", alternate = {"Mutability"})
@Expose
@Nullable
public Mutability mutability;
/**
* The Name.
* Name of the attribute. Must be unique within the object definition. Not nullable.
*/
@SerializedName(value = "name", alternate = {"Name"})
@Expose
@Nullable
public String name;
/**
* The Referenced Objects.
* For attributes with reference type, lists referenced objects (for example, the manager attribute would list User as the referenced object).
*/
@SerializedName(value = "referencedObjects", alternate = {"ReferencedObjects"})
@Expose
@Nullable
public java.util.List referencedObjects;
/**
* 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.
*/
@SerializedName(value = "required", alternate = {"Required"})
@Expose
@Nullable
public Boolean required;
/**
* The Type.
* Attribute value type. Possible values are: String, Integer, Reference, Binary, Boolean,DateTime. Default is String.
*/
@SerializedName(value = "type", alternate = {"Type"})
@Expose
@Nullable
public AttributeType type;
/**
* Sets the raw JSON object
*
* @param serializer the serializer
* @param json the JSON object to set this object to
*/
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
}
}