Class UnifiedRoleScheduleInstanceBase

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.UnifiedRoleScheduleInstanceBase
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
Direct Known Subclasses:
UnifiedRoleAssignmentScheduleInstance, UnifiedRoleEligibilityScheduleInstance

public class UnifiedRoleScheduleInstanceBase extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Unified Role Schedule Instance Base.
  • Field Details

    • appScopeId

      @SerializedName(value="appScopeId", alternate="AppScopeId") @Expose @Nullable public String appScopeId
      The App Scope Id. Identifier of the app-specific scope when the assignment scope is app-specific. The scope of an assignment determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units.
    • directoryScopeId

      @SerializedName(value="directoryScopeId", alternate="DirectoryScopeId") @Expose @Nullable public String directoryScopeId
      The Directory Scope Id. Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only.
    • principalId

      @SerializedName(value="principalId", alternate="PrincipalId") @Expose @Nullable public String principalId
      The Principal Id. Identifier of the principal to which the assignment is being granted to. Can be a group or a user.
    • roleDefinitionId

      @SerializedName(value="roleDefinitionId", alternate="RoleDefinitionId") @Expose @Nullable public String roleDefinitionId
      The Role Definition Id. Identifier of the unifiedRoleDefinition the assignment is for. Read only. Supports $filter (eq).
    • appScope

      @SerializedName(value="appScope", alternate="AppScope") @Expose @Nullable public AppScope appScope
      The App Scope. Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity.
    • directoryScope

      @SerializedName(value="directoryScope", alternate="DirectoryScope") @Expose @Nullable public DirectoryObject directoryScope
      The Directory Scope. The directory object that is the scope of the assignment. Enables the retrieval of the directory object using $expand at the same time as getting the role assignment. Read-only.
    • principal

      @SerializedName(value="principal", alternate="Principal") @Expose @Nullable public DirectoryObject principal
      The Principal. The principal that is getting a role assignment through the request. Enables the retrieval of the principal using $expand at the same time as getting the role assignment. Read-only.
    • roleDefinition

      @SerializedName(value="roleDefinition", alternate="RoleDefinition") @Expose @Nullable public UnifiedRoleDefinition roleDefinition
      The Role Definition. The roleDefinition for the assignment. Enables the retrieval of the role definition using $expand at the same time as getting the role assignment. The roleDefinition.Id is automatically expanded.
  • Constructor Details

    • UnifiedRoleScheduleInstanceBase

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