Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PrivilegedAccessSchedule
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the createdDateTime property value.Gets the createdUsing property value.The deserialization information for the current modelGets the modifiedDateTime property value.Gets the scheduleInfo property value.Gets the status property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
setCreatedUsing
(String value) Sets the createdUsing property value.void
Sets the modifiedDateTime property value.void
setScheduleInfo
(RequestSchedule value) Sets the scheduleInfo property value.void
Sets the status property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
PrivilegedAccessSchedule
public PrivilegedAccessSchedule()Instantiates a newPrivilegedAccessSchedule
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
Gets the createdDateTime property value. When the schedule was created. Optional.- Returns:
- a
OffsetDateTime
-
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getModifiedDateTime
Gets the modifiedDateTime property value. When the schedule was last modified. Optional.- Returns:
- a
OffsetDateTime
-
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
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 -
setCreatedDateTime
Sets the createdDateTime property value. When the schedule was created. Optional.- Parameters:
value
- Value to set for the createdDateTime property.
-
setCreatedUsing
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
Sets the modifiedDateTime property value. When the schedule was last modified. Optional.- Parameters:
value
- Value to set for the modifiedDateTime property.
-
setScheduleInfo
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
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.
-