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 TypeMethodDescriptionvoid
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManager
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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 operation on the role eligibility request. The possible values are: adminAssign, adminUpdate, adminRemove, selfActivate, selfDeactivate, adminExtend, adminRenew, selfExtend, selfRenew, unknownFutureValue. adminAssign: For administrators to assign eligible roles to principals.adminRemove: For administrators to remove eligible roles from principals. adminUpdate: For administrators to change existing role eligibilities.adminExtend: For administrators to extend expiring role eligibilities.adminRenew: For administrators to renew expired eligibilities.selfActivate: For users to activate their assignments.selfDeactivate: For users to deactivate their active assignments.selfExtend: For users to request to extend their expiring assignments.selfRenew: For users to request to renew their expired assignments. -
appScopeId
@SerializedName(value="appScopeId", alternate="AppScopeId") @Expose @Nullable public String appScopeIdThe App Scope Id. Identifier of the app-specific scope when the role eligibility is scoped to an app. The scope of a role eligibility determines the set of resources for which the principal is eligible to 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. Supports $filter (eq, ne, and on null values). -
directoryScopeId
@SerializedName(value="directoryScopeId", alternate="DirectoryScopeId") @Expose @Nullable public String directoryScopeIdThe Directory Scope Id. Identifier of the directory object representing the scope of the role eligibility. The scope of a role eligibility 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. Supports $filter (eq, ne, and on null values). -
isValidationOnly
@SerializedName(value="isValidationOnly", alternate="IsValidationOnly") @Expose @Nullable public Boolean isValidationOnlyThe Is Validation Only. 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 they create the unifiedRoleEligibilityScheduleRequest object. -
principalId
@SerializedName(value="principalId", alternate="PrincipalId") @Expose @Nullable public String principalIdThe Principal Id. Identifier of the principal that has been granted the role eligibility. Can be a user or a role-assignable group. You can grant only active assignments service principals.Supports $filter (eq, ne). -
roleDefinitionId
@SerializedName(value="roleDefinitionId", alternate="RoleDefinitionId") @Expose @Nullable public String roleDefinitionIdThe Role Definition Id. Identifier of the unifiedRoleDefinition object that is being assigned to the principal. Supports $filter (eq, ne). -
scheduleInfo
@SerializedName(value="scheduleInfo", alternate="ScheduleInfo") @Expose @Nullable public RequestSchedule scheduleInfoThe Schedule Info. The period of the role eligibility. Recurring schedules are currently unsupported. -
targetScheduleId
@SerializedName(value="targetScheduleId", alternate="TargetScheduleId") @Expose @Nullable public String targetScheduleIdThe Target Schedule Id. Identifier of the schedule object that's linked to the eligibility request. Supports $filter (eq, ne). -
ticketInfo
@SerializedName(value="ticketInfo", alternate="TicketInfo") @Expose @Nullable public TicketInfo ticketInfoThe Ticket Info. Ticket details linked to the role eligibility request including details of the ticket number and ticket system. Optional. -
appScope
The App Scope. Read-only property with details of the app-specific scope when the role eligibility is scoped to an app. Nullable. Supports $expand. -
directoryScope
@SerializedName(value="directoryScope", alternate="DirectoryScope") @Expose @Nullable public DirectoryObject directoryScopeThe Directory Scope. The directory object that is the scope of the role eligibility. Read-only. Supports $expand. -
principal
@SerializedName(value="principal", alternate="Principal") @Expose @Nullable public DirectoryObject principalThe Principal. The principal that's getting a role eligibility through the request. Supports $expand. -
roleDefinition
@SerializedName(value="roleDefinition", alternate="RoleDefinition") @Expose @Nullable public UnifiedRoleDefinition roleDefinitionThe Role Definition. Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand. -
targetSchedule
@SerializedName(value="targetSchedule", alternate="TargetSchedule") @Expose @Nullable public UnifiedRoleEligibilitySchedule targetScheduleThe Target Schedule. The schedule for a role eligibility that is referenced through the targetScheduleId property. Supports $expand.
-
-
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:
setRawObject
in interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Overrides:
setRawObject
in classRequest
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-