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 Details

    • attributeSet

      @SerializedName(value="attributeSet", alternate="AttributeSet") @Expose @Nullable public String attributeSet
      The Attribute Set. Name of the attribute set. Case insensitive.
    • description

      @SerializedName(value="description", alternate="Description") @Expose @Nullable public String description
      The 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 isCollection
      The 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 isSearchable
      The Is Searchable. Indicates whether custom security attribute values are indexed for searching on objects that are assigned attribute values. Cannot be changed later.
    • name

      @SerializedName(value="name", alternate="Name") @Expose @Nullable public String 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

      @SerializedName(value="status", alternate="Status") @Expose @Nullable public String status
      The Status. Specifies whether the custom security attribute is active or deactivated. Acceptable values are: Available and Deprecated. Can be changed later.
    • type

      @SerializedName(value="type", alternate="Type") @Expose @Nullable public String 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 usePreDefinedValuesOnly
      The 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 allowedValues
      The 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:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to