Package com.microsoft.graph.models
Class UnifiedRoleAssignmentScheduleRequest
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.Request
com.microsoft.graph.models.UnifiedRoleAssignmentScheduleRequest
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class UnifiedRoleAssignmentScheduleRequest
extends Request
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newUnifiedRoleAssignmentScheduleRequestand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptioncreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the action property value.Gets the activatedUsing property value.Gets the appScope property value.Gets the appScopeId property value.Gets the directoryScope property value.Gets the directoryScopeId property value.The deserialization information for the current modelGets the isValidationOnly property value.Gets the justification property value.Gets the principal property value.Gets the principalId property value.Gets the roleDefinition property value.Gets the roleDefinitionId property value.Gets the scheduleInfo property value.Gets the targetSchedule property value.Gets the targetScheduleId property value.Gets the ticketInfo property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidSets the action property value.voidSets the activatedUsing property value.voidsetAppScope(AppScope value) Sets the appScope property value.voidsetAppScopeId(String value) Sets the appScopeId property value.voidsetDirectoryScope(DirectoryObject value) Sets the directoryScope property value.voidsetDirectoryScopeId(String value) Sets the directoryScopeId property value.voidsetIsValidationOnly(Boolean value) Sets the isValidationOnly property value.voidsetJustification(String value) Sets the justification property value.voidsetPrincipal(DirectoryObject value) Sets the principal property value.voidsetPrincipalId(String value) Sets the principalId property value.voidSets the roleDefinition property value.voidsetRoleDefinitionId(String value) Sets the roleDefinitionId property value.voidsetScheduleInfo(RequestSchedule value) Sets the scheduleInfo property value.voidSets the targetSchedule property value.voidsetTargetScheduleId(String value) Sets the targetScheduleId property value.voidsetTicketInfo(TicketInfo value) Sets the ticketInfo property value.Methods inherited from class com.microsoft.graph.models.Request
getApprovalId, getCompletedDateTime, getCreatedBy, getCreatedDateTime, getCustomData, getStatus, setApprovalId, setCompletedDateTime, setCreatedBy, setCreatedDateTime, setCustomData, setStatusMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
UnifiedRoleAssignmentScheduleRequest
public UnifiedRoleAssignmentScheduleRequest()Instantiates a newUnifiedRoleAssignmentScheduleRequestand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static UnifiedRoleAssignmentScheduleRequest createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
UnifiedRoleAssignmentScheduleRequest
-
getAction
Gets the action property value. Represents the type of the operation on the role assignment request. The possible values are: adminAssign, adminUpdate, adminRemove, selfActivate, selfDeactivate, adminExtend, adminRenew, selfExtend, selfRenew, unknownFutureValue. adminAssign: For administrators to assign roles to principals.adminRemove: For administrators to remove principals from roles. adminUpdate: For administrators to change existing role assignments.adminExtend: For administrators to extend expiring assignments.adminRenew: For administrators to renew expired assignments.selfActivate: For principals to activate their assignments.selfDeactivate: For principals to deactivate their active assignments.selfExtend: For principals to request to extend their expiring assignments.selfRenew: For principals to request to renew their expired assignments.- Returns:
- a
UnifiedRoleScheduleRequestActions
-
getActivatedUsing
Gets the activatedUsing property value. If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it's null. Supports $expand and $select nested in $expand.- Returns:
- a
UnifiedRoleEligibilitySchedule
-
getAppScope
Gets the appScope property value. Read-only property with details of the app-specific scope when the assignment is scoped to an app. Nullable. Supports $expand.- Returns:
- a
AppScope
-
getAppScopeId
Gets the appScopeId property value. Identifier of the app-specific scope when the assignment is scoped to an app. 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. Supports $filter (eq, ne, and on null values).- Returns:
- a
String
-
getDirectoryScope
Gets the directoryScope property value. The directory object that is the scope of the assignment. Read-only. Supports $expand.- Returns:
- a
DirectoryObject
-
getDirectoryScopeId
Gets the directoryScopeId property value. 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. Supports $filter (eq, ne, and on null values).- Returns:
- a
String
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classRequest- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getIsValidationOnly
Gets the isValidationOnly property value. 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.- Returns:
- a
Boolean
-
getJustification
Gets the justification property value. A message provided by users and administrators when create they create the unifiedRoleAssignmentScheduleRequest object.- Returns:
- a
String
-
getPrincipal
Gets the principal property value. The principal that's getting a role assignment through the request. Supports $expand and $select nested in $expand for id only.- Returns:
- a
DirectoryObject
-
getPrincipalId
Gets the principalId property value. Identifier of the principal that has been granted the assignment. Can be a user, role-assignable group, or a service principal. Supports $filter (eq, ne).- Returns:
- a
String
-
getRoleDefinition
Gets the roleDefinition property value. Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand and $select nested in $expand.- Returns:
- a
UnifiedRoleDefinition
-
getRoleDefinitionId
Gets the roleDefinitionId property value. Identifier of the unifiedRoleDefinition object that is being assigned to the principal. Supports $filter (eq, ne).- Returns:
- a
String
-
getScheduleInfo
Gets the scheduleInfo property value. The period of the role assignment. Recurring schedules are currently unsupported.- Returns:
- a
RequestSchedule
-
getTargetSchedule
Gets the targetSchedule property value. The schedule for an eligible role assignment that is referenced through the targetScheduleId property. Supports $expand and $select nested in $expand.- Returns:
- a
UnifiedRoleAssignmentSchedule
-
getTargetScheduleId
Gets the targetScheduleId property value. Identifier of the schedule object that's linked to the assignment request. Supports $filter (eq, ne).- Returns:
- a
String
-
getTicketInfo
Gets the ticketInfo property value. Ticket details linked to the role assignment request including details of the ticket number and ticket system.- Returns:
- a
TicketInfo
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAction
Sets the action property value. Represents the type of the operation on the role assignment request. The possible values are: adminAssign, adminUpdate, adminRemove, selfActivate, selfDeactivate, adminExtend, adminRenew, selfExtend, selfRenew, unknownFutureValue. adminAssign: For administrators to assign roles to principals.adminRemove: For administrators to remove principals from roles. adminUpdate: For administrators to change existing role assignments.adminExtend: For administrators to extend expiring assignments.adminRenew: For administrators to renew expired assignments.selfActivate: For principals to activate their assignments.selfDeactivate: For principals to deactivate their active assignments.selfExtend: For principals to request to extend their expiring assignments.selfRenew: For principals to request to renew their expired assignments.- Parameters:
value- Value to set for the action property.
-
setActivatedUsing
Sets the activatedUsing property value. If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it's null. Supports $expand and $select nested in $expand.- Parameters:
value- Value to set for the activatedUsing property.
-
setAppScope
Sets the appScope property value. Read-only property with details of the app-specific scope when the assignment is scoped to an app. Nullable. Supports $expand.- Parameters:
value- Value to set for the appScope property.
-
setAppScopeId
Sets the appScopeId property value. Identifier of the app-specific scope when the assignment is scoped to an app. 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. Supports $filter (eq, ne, and on null values).- Parameters:
value- Value to set for the appScopeId property.
-
setDirectoryScope
Sets the directoryScope property value. The directory object that is the scope of the assignment. Read-only. Supports $expand.- Parameters:
value- Value to set for the directoryScope property.
-
setDirectoryScopeId
Sets the directoryScopeId property value. 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. Supports $filter (eq, ne, and on null values).- Parameters:
value- Value to set for the directoryScopeId property.
-
setIsValidationOnly
Sets the isValidationOnly property value. 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.- Parameters:
value- Value to set for the isValidationOnly property.
-
setJustification
Sets the justification property value. A message provided by users and administrators when create they create the unifiedRoleAssignmentScheduleRequest object.- Parameters:
value- Value to set for the justification property.
-
setPrincipal
Sets the principal property value. The principal that's getting a role assignment through the request. Supports $expand and $select nested in $expand for id only.- Parameters:
value- Value to set for the principal property.
-
setPrincipalId
Sets the principalId property value. Identifier of the principal that has been granted the assignment. Can be a user, role-assignable group, or a service principal. Supports $filter (eq, ne).- Parameters:
value- Value to set for the principalId property.
-
setRoleDefinition
Sets the roleDefinition property value. Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand and $select nested in $expand.- Parameters:
value- Value to set for the roleDefinition property.
-
setRoleDefinitionId
Sets the roleDefinitionId property value. Identifier of the unifiedRoleDefinition object that is being assigned to the principal. Supports $filter (eq, ne).- Parameters:
value- Value to set for the roleDefinitionId property.
-
setScheduleInfo
Sets the scheduleInfo property value. The period of the role assignment. Recurring schedules are currently unsupported.- Parameters:
value- Value to set for the scheduleInfo property.
-
setTargetSchedule
Sets the targetSchedule property value. The schedule for an eligible role assignment that is referenced through the targetScheduleId property. Supports $expand and $select nested in $expand.- Parameters:
value- Value to set for the targetSchedule property.
-
setTargetScheduleId
Sets the targetScheduleId property value. Identifier of the schedule object that's linked to the assignment request. Supports $filter (eq, ne).- Parameters:
value- Value to set for the targetScheduleId property.
-
setTicketInfo
Sets the ticketInfo property value. Ticket details linked to the role assignment request including details of the ticket number and ticket system.- Parameters:
value- Value to set for the ticketInfo property.
-