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

    • ScheduleChangeRequest

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

      @Nullable public ScheduleChangeRequestActor getAssignedTo()
      Gets the assignedTo property value. The assignedTo property
      Returns:
      a ScheduleChangeRequestActor
    • 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 ChangeTrackedEntity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getManagerActionDateTime

      @Nullable public OffsetDateTime getManagerActionDateTime()
      Gets the managerActionDateTime property value. The managerActionDateTime property
      Returns:
      a OffsetDateTime
    • getManagerActionMessage

      @Nullable public String getManagerActionMessage()
      Gets the managerActionMessage property value. The managerActionMessage property
      Returns:
      a String
    • getManagerUserId

      @Nullable public String getManagerUserId()
      Gets the managerUserId property value. The managerUserId property
      Returns:
      a String
    • getSenderDateTime

      @Nullable public OffsetDateTime getSenderDateTime()
      Gets the senderDateTime property value. The senderDateTime property
      Returns:
      a OffsetDateTime
    • getSenderMessage

      @Nullable public String getSenderMessage()
      Gets the senderMessage property value. The senderMessage property
      Returns:
      a String
    • getSenderUserId

      @Nullable public String getSenderUserId()
      Gets the senderUserId property value. The senderUserId property
      Returns:
      a String
    • getState

      @Nullable public ScheduleChangeState getState()
      Gets the state property value. The state property
      Returns:
      a ScheduleChangeState
    • 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 ChangeTrackedEntity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAssignedTo

      public void setAssignedTo(@Nullable ScheduleChangeRequestActor value)
      Sets the assignedTo property value. The assignedTo property
      Parameters:
      value - Value to set for the assignedTo property.
    • setManagerActionDateTime

      public void setManagerActionDateTime(@Nullable OffsetDateTime value)
      Sets the managerActionDateTime property value. The managerActionDateTime property
      Parameters:
      value - Value to set for the managerActionDateTime property.
    • setManagerActionMessage

      public void setManagerActionMessage(@Nullable String value)
      Sets the managerActionMessage property value. The managerActionMessage property
      Parameters:
      value - Value to set for the managerActionMessage property.
    • setManagerUserId

      public void setManagerUserId(@Nullable String value)
      Sets the managerUserId property value. The managerUserId property
      Parameters:
      value - Value to set for the managerUserId property.
    • setSenderDateTime

      public void setSenderDateTime(@Nullable OffsetDateTime value)
      Sets the senderDateTime property value. The senderDateTime property
      Parameters:
      value - Value to set for the senderDateTime property.
    • setSenderMessage

      public void setSenderMessage(@Nullable String value)
      Sets the senderMessage property value. The senderMessage property
      Parameters:
      value - Value to set for the senderMessage property.
    • setSenderUserId

      public void setSenderUserId(@Nullable String value)
      Sets the senderUserId property value. The senderUserId property
      Parameters:
      value - Value to set for the senderUserId property.
    • setState

      public void setState(@Nullable ScheduleChangeState value)
      Sets the state property value. The state property
      Parameters:
      value - Value to set for the state property.