Package com.microsoft.graph.models
Class UnifiedRoleEligibilityScheduleRequest
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.Request
com.microsoft.graph.models.UnifiedRoleEligibilityScheduleRequest
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class UnifiedRoleEligibilityScheduleRequest
extends Request
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Unified Role Eligibility Schedule Request.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Action.The App Scope.The App Scope Id.The Directory Scope.The Directory Scope Id.The Is Validation Only.The Justification.The Principal.The Principal Id.The Role Definition.The Role Definition Id.The Schedule Info.The Target Schedule.The Target Schedule Id.The Ticket Info.Fields inherited from class com.microsoft.graph.models.Request
approvalId, completedDateTime, createdBy, createdDateTime, customData, status -
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
-
action
@SerializedName(value="action", alternate="Action") @Expose @Nullable public UnifiedRoleScheduleRequestActions actionThe Action. Represents the type of the operation on the role eligibility assignment. The possible values are: AdminAssign: For administrators to assign role eligibility to users or groups to roles.AdminExtend: For administrators to extend expiring assignments.AdminUpdate: For administrators to change existing role assignments.AdminRenew: For administrators to renew expired assignments.AdminRemove: For administrators to remove users or groups from eligible roles.UserAdd: For users to activate their eligible assignments.UserExtend: For users to request to extend their expiring eligible assignments.UserRemove: For users to deactivate their active eligible assignments.UserRenew: For users to request to renew their expired eligible assignments. -
appScopeId
@SerializedName(value="appScopeId", alternate="AppScopeId") @Expose @Nullable public String appScopeIdThe 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 directoryScopeIdThe 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. -
isValidationOnly
@SerializedName(value="isValidationOnly", alternate="IsValidationOnly") @Expose @Nullable public Boolean isValidationOnlyThe Is Validation Only. A boolean that determines whether the call is a validation or an actual call. Only set this property if you want to check whether an activation is subject to additional rules like MFA before actually submitting the request. -
justification
@SerializedName(value="justification", alternate="Justification") @Expose @Nullable public String justificationThe Justification. A message provided by users and administrators when create the request about why it is needed. -
principalId
@SerializedName(value="principalId", alternate="PrincipalId") @Expose @Nullable public String principalIdThe Principal Id. Identifier of the principal to which the assignment is being granted to. For example, a user or a group. For groups, they must be assignable to roles, that is, the isAssignableToRole of the group property set to true. -
roleDefinitionId
@SerializedName(value="roleDefinitionId", alternate="RoleDefinitionId") @Expose @Nullable public String roleDefinitionIdThe Role Definition Id. Identifier of the unifiedRoleDefinition the assignment is for. Read only. -
scheduleInfo
@SerializedName(value="scheduleInfo", alternate="ScheduleInfo") @Expose @Nullable public RequestSchedule scheduleInfoThe Schedule Info. The schedule object of the role assignment request. -
targetScheduleId
@SerializedName(value="targetScheduleId", alternate="TargetScheduleId") @Expose @Nullable public String targetScheduleIdThe Target Schedule Id. The time period for which the eligibility assignment is valid. -
ticketInfo
@SerializedName(value="ticketInfo", alternate="TicketInfo") @Expose @Nullable public TicketInfo ticketInfoThe Ticket Info. The details of the ticket number and ticket system that is attached to the role assignment request. -
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 directoryScopeThe Directory Scope. Property referencing the directory object that is the scope of the assignment. Provided so that callers can get 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 principalThe Principal. Property referencing the principal that is getting a role assignment through the request. Provided so that callers can get 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 roleDefinitionThe Role Definition. Property indicating the roleDefinition the assignment is for. Provided so that callers can get the role definition using $expand at the same time as getting the role assignment. roleDefinition.Id will be auto expanded. -
targetSchedule
@SerializedName(value="targetSchedule", alternate="TargetSchedule") @Expose @Nullable public UnifiedRoleEligibilitySchedule targetScheduleThe Target Schedule. Property indicating the schedule for an eligible role assignment.
-
-
Constructor Details
-
UnifiedRoleEligibilityScheduleRequest
public UnifiedRoleEligibilityScheduleRequest()
-
-
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 classRequest- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-