Class Schedule

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.Schedule
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class Schedule extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Schedule.
  • Field Details

    • enabled

      @SerializedName(value="enabled", alternate="Enabled") @Expose @Nullable public Boolean enabled
      The Enabled. Indicates whether the schedule is enabled for the team. Required.
    • offerShiftRequestsEnabled

      @SerializedName(value="offerShiftRequestsEnabled", alternate="OfferShiftRequestsEnabled") @Expose @Nullable public Boolean offerShiftRequestsEnabled
      The Offer Shift Requests Enabled. Indicates whether offer shift requests are enabled for the schedule.
    • openShiftsEnabled

      @SerializedName(value="openShiftsEnabled", alternate="OpenShiftsEnabled") @Expose @Nullable public Boolean openShiftsEnabled
      The Open Shifts Enabled. Indicates whether open shifts are enabled for the schedule.
    • provisionStatus

      @SerializedName(value="provisionStatus", alternate="ProvisionStatus") @Expose @Nullable public OperationStatus provisionStatus
      The Provision Status. The status of the schedule provisioning. The possible values are notStarted, running, completed, failed.
    • provisionStatusCode

      @SerializedName(value="provisionStatusCode", alternate="ProvisionStatusCode") @Expose @Nullable public String provisionStatusCode
      The Provision Status Code. Additional information about why schedule provisioning failed.
    • swapShiftsRequestsEnabled

      @SerializedName(value="swapShiftsRequestsEnabled", alternate="SwapShiftsRequestsEnabled") @Expose @Nullable public Boolean swapShiftsRequestsEnabled
      The Swap Shifts Requests Enabled. Indicates whether swap shifts requests are enabled for the schedule.
    • timeClockEnabled

      @SerializedName(value="timeClockEnabled", alternate="TimeClockEnabled") @Expose @Nullable public Boolean timeClockEnabled
      The Time Clock Enabled. Indicates whether time clock is enabled for the schedule.
    • timeOffRequestsEnabled

      @SerializedName(value="timeOffRequestsEnabled", alternate="TimeOffRequestsEnabled") @Expose @Nullable public Boolean timeOffRequestsEnabled
      The Time Off Requests Enabled. Indicates whether time off requests are enabled for the schedule.
    • timeZone

      @SerializedName(value="timeZone", alternate="TimeZone") @Expose @Nullable public String timeZone
      The Time Zone. Indicates the time zone of the schedule team using tz database format. Required.
    • workforceIntegrationIds

      @SerializedName(value="workforceIntegrationIds", alternate="WorkforceIntegrationIds") @Expose @Nullable public List<String> workforceIntegrationIds
      The Workforce Integration Ids.
    • offerShiftRequests

      @SerializedName(value="offerShiftRequests", alternate="OfferShiftRequests") @Expose @Nullable public OfferShiftRequestCollectionPage offerShiftRequests
      The Offer Shift Requests.
    • openShiftChangeRequests

      @SerializedName(value="openShiftChangeRequests", alternate="OpenShiftChangeRequests") @Expose @Nullable public OpenShiftChangeRequestCollectionPage openShiftChangeRequests
      The Open Shift Change Requests.
    • openShifts

      @SerializedName(value="openShifts", alternate="OpenShifts") @Expose @Nullable public OpenShiftCollectionPage openShifts
      The Open Shifts.
    • schedulingGroups

      @SerializedName(value="schedulingGroups", alternate="SchedulingGroups") @Expose @Nullable public SchedulingGroupCollectionPage schedulingGroups
      The Scheduling Groups. The logical grouping of users in the schedule (usually by role).
    • shifts

      @SerializedName(value="shifts", alternate="Shifts") @Expose @Nullable public ShiftCollectionPage shifts
      The Shifts. The shifts in the schedule.
    • swapShiftsChangeRequests

      @SerializedName(value="swapShiftsChangeRequests", alternate="SwapShiftsChangeRequests") @Expose @Nullable public SwapShiftsChangeRequestCollectionPage swapShiftsChangeRequests
      The Swap Shifts Change Requests.
    • timeOffReasons

      @SerializedName(value="timeOffReasons", alternate="TimeOffReasons") @Expose @Nullable public TimeOffReasonCollectionPage timeOffReasons
      The Time Off Reasons. The set of reasons for a time off in the schedule.
    • timeOffRequests

      @SerializedName(value="timeOffRequests", alternate="TimeOffRequests") @Expose @Nullable public TimeOffRequestCollectionPage timeOffRequests
      The Time Off Requests.
    • timesOff

      @SerializedName(value="timesOff", alternate="TimesOff") @Expose @Nullable public TimeOffCollectionPage timesOff
      The Times Off. The instances of times off in the schedule.
  • Constructor Details

    • Schedule

      public Schedule()
  • 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 Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to