Class RoleAssignment

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.RoleAssignment
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
Direct Known Subclasses:
DeviceAndAppManagementRoleAssignment

public class RoleAssignment extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Role Assignment.
  • Field Details

    • description

      @SerializedName(value="description", alternate="Description") @Expose @Nullable public String description
      The Description. Description of the Role Assignment.
    • displayName

      @SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayName
      The Display Name. The display or friendly name of the role Assignment.
    • resourceScopes

      @SerializedName(value="resourceScopes", alternate="ResourceScopes") @Expose @Nullable public List<String> resourceScopes
      The Resource Scopes. List of ids of role scope member security groups. These are IDs from Azure Active Directory.
    • roleDefinition

      @SerializedName(value="roleDefinition", alternate="RoleDefinition") @Expose @Nullable public RoleDefinition roleDefinition
      The Role Definition. Role definition this assignment is part of.
  • Constructor Details

    • RoleAssignment

      public RoleAssignment()
  • 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