Class TimeOffRequest

All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class TimeOffRequest extends ScheduleChangeRequest implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Time Off Request.
  • Field Details

    • endDateTime

      @SerializedName(value="endDateTime", alternate="EndDateTime") @Expose @Nullable public OffsetDateTime endDateTime
      The End 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
    • startDateTime

      @SerializedName(value="startDateTime", alternate="StartDateTime") @Expose @Nullable public OffsetDateTime startDateTime
      The Start 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
    • timeOffReasonId

      @SerializedName(value="timeOffReasonId", alternate="TimeOffReasonId") @Expose @Nullable public String timeOffReasonId
      The Time Off Reason Id. The reason for the time off.
  • Constructor Details

    • TimeOffRequest

      public TimeOffRequest()
  • 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