Class PrivilegedAccessSchedule

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.PrivilegedAccessSchedule
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel
Direct Known Subclasses:
PrivilegedAccessGroupAssignmentSchedule, PrivilegedAccessGroupEligibilitySchedule

@Generated("com.microsoft.kiota") public class PrivilegedAccessSchedule extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • PrivilegedAccessSchedule

      public PrivilegedAccessSchedule()
      Instantiates a new PrivilegedAccessSchedule and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static PrivilegedAccessSchedule 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 PrivilegedAccessSchedule
    • getCreatedDateTime

      @Nullable public OffsetDateTime getCreatedDateTime()
      Gets the createdDateTime property value. When the schedule was created. Optional.
      Returns:
      a OffsetDateTime
    • getCreatedUsing

      @Nullable public String getCreatedUsing()
      Gets the createdUsing property value. The identifier of the access assignment or eligibility request that created this schedule. Optional.
      Returns:
      a String
    • 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 Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getModifiedDateTime

      @Nullable public OffsetDateTime getModifiedDateTime()
      Gets the modifiedDateTime property value. When the schedule was last modified. Optional.
      Returns:
      a OffsetDateTime
    • getScheduleInfo

      @Nullable public RequestSchedule getScheduleInfo()
      Gets the scheduleInfo property value. Represents the period of the access assignment or eligibility. The scheduleInfo can represent a single occurrence or multiple recurring instances. Required.
      Returns:
      a RequestSchedule
    • getStatus

      @Nullable public String getStatus()
      Gets the status property value. The status of the access assignment or eligibility request. The possible values are: Canceled, Denied, Failed, Granted, PendingAdminDecision, PendingApproval, PendingProvisioning, PendingScheduleCreation, Provisioned, Revoked, and ScheduleCreated. Not nullable. Optional.
      Returns:
      a String
    • 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 Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setCreatedDateTime

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      Sets the createdDateTime property value. When the schedule was created. Optional.
      Parameters:
      value - Value to set for the createdDateTime property.
    • setCreatedUsing

      public void setCreatedUsing(@Nullable String value)
      Sets the createdUsing property value. The identifier of the access assignment or eligibility request that created this schedule. Optional.
      Parameters:
      value - Value to set for the createdUsing property.
    • setModifiedDateTime

      public void setModifiedDateTime(@Nullable OffsetDateTime value)
      Sets the modifiedDateTime property value. When the schedule was last modified. Optional.
      Parameters:
      value - Value to set for the modifiedDateTime property.
    • setScheduleInfo

      public void setScheduleInfo(@Nullable RequestSchedule value)
      Sets the scheduleInfo property value. Represents the period of the access assignment or eligibility. The scheduleInfo can represent a single occurrence or multiple recurring instances. Required.
      Parameters:
      value - Value to set for the scheduleInfo property.
    • setStatus

      public void setStatus(@Nullable String value)
      Sets the status property value. The status of the access assignment or eligibility request. The possible values are: Canceled, Denied, Failed, Granted, PendingAdminDecision, PendingApproval, PendingProvisioning, PendingScheduleCreation, Provisioned, Revoked, and ScheduleCreated. Not nullable. Optional.
      Parameters:
      value - Value to set for the status property.