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
  • Constructor Details

    • PrivilegedAccessScheduleRequest

      public PrivilegedAccessScheduleRequest()
      Instantiates a new PrivilegedAccessScheduleRequest and 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

      @Nullable public ScheduleRequestActions 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:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Request
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getIsValidationOnly

      @Nullable public Boolean 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

      @Nullable public String getJustification()
      Gets the justification property value. A message provided by users and administrators when create they create the privilegedAccessGroupAssignmentScheduleRequest object.
      Returns:
      a String
    • getScheduleInfo

      @Nullable public RequestSchedule getScheduleInfo()
      Gets the scheduleInfo property value. The period of the group membership or ownership assignment. Recurring schedules are currently unsupported.
      Returns:
      a RequestSchedule
    • getTicketInfo

      @Nullable public TicketInfo 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Request
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAction

      public void setAction(@Nullable ScheduleRequestActions value)
      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

      public void setIsValidationOnly(@Nullable Boolean value)
      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

      public void setJustification(@Nullable String value)
      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

      public void setScheduleInfo(@Nullable RequestSchedule value)
      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

      public void setTicketInfo(@Nullable TicketInfo value)
      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.