Package com.microsoft.graph.models
Class ScheduleChangeRequest
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ChangeTrackedEntity
com.microsoft.graph.models.ScheduleChangeRequest
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
- Direct Known Subclasses:
OfferShiftRequest,OpenShiftChangeRequest,TimeOffRequest
@Generated("com.microsoft.kiota")
public class ScheduleChangeRequest
extends ChangeTrackedEntity
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 ScheduleChangeRequestcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the assignedTo property value.The deserialization information for the current modelGets the managerActionDateTime property value.Gets the managerActionMessage property value.Gets the managerUserId property value.Gets the senderDateTime property value.Gets the senderMessage property value.Gets the senderUserId property value.getState()Gets the state property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidSets the assignedTo property value.voidSets the managerActionDateTime property value.voidsetManagerActionMessage(String value) Sets the managerActionMessage property value.voidsetManagerUserId(String value) Sets the managerUserId property value.voidsetSenderDateTime(OffsetDateTime value) Sets the senderDateTime property value.voidsetSenderMessage(String value) Sets the senderMessage property value.voidsetSenderUserId(String value) Sets the senderUserId property value.voidsetState(ScheduleChangeState value) Sets the state property value.Methods inherited from class com.microsoft.graph.models.ChangeTrackedEntity
getCreatedBy, getCreatedDateTime, getLastModifiedBy, getLastModifiedDateTime, setCreatedBy, setCreatedDateTime, setLastModifiedBy, setLastModifiedDateTimeMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
ScheduleChangeRequest
public ScheduleChangeRequest()Instantiates a newScheduleChangeRequestand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static ScheduleChangeRequest 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
ScheduleChangeRequest
-
getAssignedTo
Gets the assignedTo property value. Indicates who the request is assigned to. Possible values are: sender, recipient, manager, system, unknownFutureValue.- Returns:
- a
ScheduleChangeRequestActor
-
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 classChangeTrackedEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getManagerActionDateTime
Gets the managerActionDateTime property value. The date and time when the manager approved or declined the scheduleChangeRequest. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Returns:
- a
OffsetDateTime
-
getManagerActionMessage
Gets the managerActionMessage property value. The message sent by the manager regarding the scheduleChangeRequest. Optional.- Returns:
- a
String
-
getManagerUserId
Gets the managerUserId property value. The user ID of the manager who approved or declined the scheduleChangeRequest.- Returns:
- a
String
-
getSenderDateTime
Gets the senderDateTime property value. The date and time when the sender sent the scheduleChangeRequest. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Returns:
- a
OffsetDateTime
-
getSenderMessage
Gets the senderMessage property value. The message sent by the sender of the scheduleChangeRequest. Optional.- Returns:
- a
String
-
getSenderUserId
Gets the senderUserId property value. The user ID of the sender of the scheduleChangeRequest.- Returns:
- a
String
-
getState
Gets the state property value. The state of the scheduleChangeRequest. Possible values are: pending, approved, declined, unknownFutureValue.- Returns:
- a
ScheduleChangeState
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classChangeTrackedEntity- Parameters:
writer- Serialization writer to use to serialize this model
-
setAssignedTo
Sets the assignedTo property value. Indicates who the request is assigned to. Possible values are: sender, recipient, manager, system, unknownFutureValue.- Parameters:
value- Value to set for the assignedTo property.
-
setManagerActionDateTime
Sets the managerActionDateTime property value. The date and time when the manager approved or declined the scheduleChangeRequest. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Parameters:
value- Value to set for the managerActionDateTime property.
-
setManagerActionMessage
Sets the managerActionMessage property value. The message sent by the manager regarding the scheduleChangeRequest. Optional.- Parameters:
value- Value to set for the managerActionMessage property.
-
setManagerUserId
Sets the managerUserId property value. The user ID of the manager who approved or declined the scheduleChangeRequest.- Parameters:
value- Value to set for the managerUserId property.
-
setSenderDateTime
Sets the senderDateTime property value. The date and time when the sender sent the scheduleChangeRequest. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Parameters:
value- Value to set for the senderDateTime property.
-
setSenderMessage
Sets the senderMessage property value. The message sent by the sender of the scheduleChangeRequest. Optional.- Parameters:
value- Value to set for the senderMessage property.
-
setSenderUserId
Sets the senderUserId property value. The user ID of the sender of the scheduleChangeRequest.- Parameters:
value- Value to set for the senderUserId property.
-
setState
Sets the state property value. The state of the scheduleChangeRequest. Possible values are: pending, approved, declined, unknownFutureValue.- Parameters:
value- Value to set for the state property.
-