Class OfferShiftRequest

All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
Direct Known Subclasses:
SwapShiftsChangeRequest

public class OfferShiftRequest extends ScheduleChangeRequest implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Offer Shift Request.
  • Field Details

    • recipientActionDateTime

      @SerializedName(value="recipientActionDateTime", alternate="RecipientActionDateTime") @Expose @Nullable public OffsetDateTime recipientActionDateTime
      The Recipient Action Date Time. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
    • recipientActionMessage

      @SerializedName(value="recipientActionMessage", alternate="RecipientActionMessage") @Expose @Nullable public String recipientActionMessage
      The Recipient Action Message. Custom message sent by recipient of the offer shift request.
    • recipientUserId

      @SerializedName(value="recipientUserId", alternate="RecipientUserId") @Expose @Nullable public String recipientUserId
      The Recipient User Id. User ID of the recipient of the offer shift request.
    • senderShiftId

      @SerializedName(value="senderShiftId", alternate="SenderShiftId") @Expose @Nullable public String senderShiftId
      The Sender Shift Id. User ID of the sender of the offer shift request.
  • Constructor Details

    • OfferShiftRequest

      public OfferShiftRequest()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class ScheduleChangeRequest
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to