Class DirectoryRole

All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class DirectoryRole extends DirectoryObject implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Directory Role.
  • Field Details

    • description

      @SerializedName(value="description", alternate="Description") @Expose @Nullable public String description
      The Description. The description for the directory role. Read-only. Supports $filter (eq), $search, $select.
    • displayName

      @SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayName
      The Display Name. The display name for the directory role. Read-only. Supports $filter (eq), $search, $select.
    • roleTemplateId

      @SerializedName(value="roleTemplateId", alternate="RoleTemplateId") @Expose @Nullable public String roleTemplateId
      The Role Template Id. The id of the directoryRoleTemplate that this role is based on. The property must be specified when activating a directory role in a tenant with a POST operation. After the directory role has been activated, the property is read only. Supports $filter (eq), $select.
    • members

      @Nullable public DirectoryObjectCollectionPage members
      The Members. Users that are members of this directory role. HTTP Methods: GET, POST, DELETE. Read-only. Nullable. Supports $expand.
    • scopedMembers

      @SerializedName(value="scopedMembers", alternate="ScopedMembers") @Expose @Nullable public ScopedRoleMembershipCollectionPage scopedMembers
      The Scoped Members. Members of this directory role that are scoped to administrative units. Read-only. Nullable.
  • Constructor Details

    • DirectoryRole

      public DirectoryRole()
  • 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 DirectoryObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to