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.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class UnifiedRoleEligibilityScheduleRequest
extends Request
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newUnifiedRoleEligibilityScheduleRequestand 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 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.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
-
UnifiedRoleEligibilityScheduleRequest
public UnifiedRoleEligibilityScheduleRequest()Instantiates a newUnifiedRoleEligibilityScheduleRequestand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static UnifiedRoleEligibilityScheduleRequest 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
UnifiedRoleEligibilityScheduleRequest
-
getAction
Gets the action property value. 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.- Returns:
- a
UnifiedRoleScheduleRequestActions
-
getAppScope
Gets the appScope property value. Read-only property with details of the app-specific scope when the role eligibility 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 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).- Returns:
- a
String
-
getDirectoryScope
Gets the directoryScope property value. The directory object that is the scope of the role eligibility. Read-only. Supports $expand.- Returns:
- a
DirectoryObject
-
getDirectoryScopeId
Gets the directoryScopeId property value. 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).- 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 unifiedRoleEligibilityScheduleRequest object.- Returns:
- a
String
-
getPrincipal
Gets the principal property value. The principal that's getting a role eligibility through the request. Supports $expand.- Returns:
- a
DirectoryObject
-
getPrincipalId
Gets the principalId property value. 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).- Returns:
- a
String
-
getRoleDefinition
Gets the roleDefinition property value. Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $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 eligibility. Recurring schedules are currently unsupported.- Returns:
- a
RequestSchedule
-
getTargetSchedule
Gets the targetSchedule property value. The schedule for a role eligibility that is referenced through the targetScheduleId property. Supports $expand.- Returns:
- a
UnifiedRoleEligibilitySchedule
-
getTargetScheduleId
Gets the targetScheduleId property value. Identifier of the schedule object that's linked to the eligibility request. Supports $filter (eq, ne).- Returns:
- a
String
-
getTicketInfo
Gets the ticketInfo property value. Ticket details linked to the role eligibility request including details of the ticket number and ticket system. Optional.- 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 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.- Parameters:
value- Value to set for the action property.
-
setAppScope
Sets the appScope property value. Read-only property with details of the app-specific scope when the role eligibility 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 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).- Parameters:
value- Value to set for the appScopeId property.
-
setDirectoryScope
Sets the directoryScope property value. The directory object that is the scope of the role eligibility. 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 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).- 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 unifiedRoleEligibilityScheduleRequest object.- Parameters:
value- Value to set for the justification property.
-
setPrincipal
Sets the principal property value. The principal that's getting a role eligibility through the request. Supports $expand.- Parameters:
value- Value to set for the principal property.
-
setPrincipalId
Sets the principalId property value. 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).- 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.- 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 eligibility. Recurring schedules are currently unsupported.- Parameters:
value- Value to set for the scheduleInfo property.
-
setTargetSchedule
Sets the targetSchedule property value. The schedule for a role eligibility that is referenced through the targetScheduleId property. Supports $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 eligibility 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 eligibility request including details of the ticket number and ticket system. Optional.- Parameters:
value- Value to set for the ticketInfo property.
-