Class ShiftActivity

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

public class ShiftActivity extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Shift Activity.
  • Field Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • code

      @SerializedName(value="code", alternate="Code") @Expose @Nullable public String code
      The Code. Customer defined code for the shiftActivity. Required.
    • displayName

      @SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayName
      The Display Name. The name of the shiftActivity. Required.
    • endDateTime

      @SerializedName(value="endDateTime", alternate="EndDateTime") @Expose @Nullable public OffsetDateTime endDateTime
      The End Date Time. The end date and time for the shiftActivity. 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. Required.
    • isPaid

      @SerializedName(value="isPaid", alternate="IsPaid") @Expose @Nullable public Boolean isPaid
      The Is Paid. Indicates whether the microsoft.graph.user should be paid for the activity during their shift. Required.
    • startDateTime

      @SerializedName(value="startDateTime", alternate="StartDateTime") @Expose @Nullable public OffsetDateTime startDateTime
      The Start Date Time. The start date and time for the shiftActivity. 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. Required.
    • theme

      @SerializedName(value="theme", alternate="Theme") @Expose @Nullable public ScheduleEntityTheme theme
      The Theme.
  • Constructor Details

    • ShiftActivity

      public ShiftActivity()
  • Method Details

    • additionalDataManager

      @Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()
      Specified by:
      additionalDataManager in interface com.microsoft.graph.serializer.IJsonBackedObject
    • 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
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to