Package com.microsoft.graph.models
Class CustomSecurityAttributeDefinition
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.CustomSecurityAttributeDefinition
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class CustomSecurityAttributeDefinition
extends Entity
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Custom Security Attribute Definition.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Allowed Values.The Attribute Set.The Description.The Is Collection.The Is Searchable.The Name.The Status.The Type.The Use Pre Defined Values Only. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
attributeSet
@SerializedName(value="attributeSet", alternate="AttributeSet") @Expose @Nullable public String attributeSetThe Attribute Set. Name of the attribute set. Case insensitive. -
description
@SerializedName(value="description", alternate="Description") @Expose @Nullable public String descriptionThe Description. Description of the custom security attribute. Can be up to 128 characters long and include Unicode characters. Can be changed later. -
isCollection
@SerializedName(value="isCollection", alternate="IsCollection") @Expose @Nullable public Boolean isCollectionThe Is Collection. Indicates whether multiple values can be assigned to the custom security attribute. Cannot be changed later. If type is set to Boolean, isCollection cannot be set to true. -
isSearchable
@SerializedName(value="isSearchable", alternate="IsSearchable") @Expose @Nullable public Boolean isSearchableThe Is Searchable. Indicates whether custom security attribute values are indexed for searching on objects that are assigned attribute values. Cannot be changed later. -
name
The Name. Name of the custom security attribute. Must be unique within an attribute set. Can be up to 32 characters long and include Unicode characters. Cannot contain spaces or special characters. Cannot be changed later. Case insensitive. -
status
The Status. Specifies whether the custom security attribute is active or deactivated. Acceptable values are: Available and Deprecated. Can be changed later. -
type
The Type. Data type for the custom security attribute values. Supported types are: Boolean, Integer, and String. Cannot be changed later. -
usePreDefinedValuesOnly
@SerializedName(value="usePreDefinedValuesOnly", alternate="UsePreDefinedValuesOnly") @Expose @Nullable public Boolean usePreDefinedValuesOnlyThe Use Pre Defined Values Only. Indicates whether only predefined values can be assigned to the custom security attribute. If set to false, free-form values are allowed. Can later be changed from true to false, but cannot be changed from false to true. If type is set to Boolean, usePreDefinedValuesOnly cannot be set to true. -
allowedValues
@SerializedName(value="allowedValues", alternate="AllowedValues") @Expose @Nullable public AllowedValueCollectionPage allowedValuesThe Allowed Values. Values that are predefined for this custom security attribute. This navigation property is not returned by default and must be specified in an $expand query. For example, /directory/customSecurityAttributeDefinitions?$expand=allowedValues.
-
-
Constructor Details
-
CustomSecurityAttributeDefinition
public CustomSecurityAttributeDefinition()
-
-
Method Details
-
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- Overrides:
setRawObjectin classEntity- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-