Package com.microsoft.graph.models
Class PrivilegedAccessScheduleRequest
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.Request
com.microsoft.graph.models.PrivilegedAccessScheduleRequest
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
- Direct Known Subclasses:
PrivilegedAccessGroupAssignmentScheduleRequest,PrivilegedAccessGroupEligibilityScheduleRequest
@Generated("com.microsoft.kiota")
public class PrivilegedAccessScheduleRequest
extends Request
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newPrivilegedAccessScheduleRequestand 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.The deserialization information for the current modelGets the isValidationOnly property value.Gets the justification property value.Gets the scheduleInfo property value.Gets the ticketInfo property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAction(ScheduleRequestActions value) Sets the action property value.voidsetIsValidationOnly(Boolean value) Sets the isValidationOnly property value.voidsetJustification(String value) Sets the justification property value.voidsetScheduleInfo(RequestSchedule value) Sets the scheduleInfo 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
-
PrivilegedAccessScheduleRequest
public PrivilegedAccessScheduleRequest()Instantiates a newPrivilegedAccessScheduleRequestand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static PrivilegedAccessScheduleRequest 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
PrivilegedAccessScheduleRequest
-
getAction
Gets the action property value. Represents the type of operation on the group membership or ownership assignment request. The possible values are: adminAssign, adminUpdate, adminRemove, selfActivate, selfDeactivate, adminExtend, adminRenew. adminAssign: For administrators to assign group membership or ownership to principals.adminRemove: For administrators to remove principals from group membership or ownership. adminUpdate: For administrators to change existing group membership or ownership 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.- Returns:
- a
ScheduleRequestActions
-
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 privilegedAccessGroupAssignmentScheduleRequest object.- Returns:
- a
String
-
getScheduleInfo
Gets the scheduleInfo property value. The period of the group membership or ownership assignment. Recurring schedules are currently unsupported.- Returns:
- a
RequestSchedule
-
getTicketInfo
Gets the ticketInfo property value. Ticket details linked to the group membership or ownership 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 operation on the group membership or ownership assignment request. The possible values are: adminAssign, adminUpdate, adminRemove, selfActivate, selfDeactivate, adminExtend, adminRenew. adminAssign: For administrators to assign group membership or ownership to principals.adminRemove: For administrators to remove principals from group membership or ownership. adminUpdate: For administrators to change existing group membership or ownership 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.- Parameters:
value- Value to set for the action 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 privilegedAccessGroupAssignmentScheduleRequest object.- Parameters:
value- Value to set for the justification property.
-
setScheduleInfo
Sets the scheduleInfo property value. The period of the group membership or ownership assignment. Recurring schedules are currently unsupported.- Parameters:
value- Value to set for the scheduleInfo property.
-
setTicketInfo
Sets the ticketInfo property value. Ticket details linked to the group membership or ownership assignment request including details of the ticket number and ticket system.- Parameters:
value- Value to set for the ticketInfo property.
-