Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionThe Code.The Display Name.The End Date Time.The Is Paid.the OData type of the object as returned by the serviceThe Start Date Time.The Theme. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManager
void
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON object
-
Field Details
-
oDataType
the OData type of the object as returned by the service -
code
The Code. Customer defined code for the shiftActivity. Required. -
displayName
@SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayNameThe Display Name. The name of the shiftActivity. Required. -
endDateTime
@SerializedName(value="endDateTime", alternate="EndDateTime") @Expose @Nullable public OffsetDateTime endDateTimeThe 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
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 startDateTimeThe 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 themeThe Theme.
-
-
Constructor Details
-
ShiftActivity
public ShiftActivity()
-
-
Method Details
-
additionalDataManager
@Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()- Specified by:
additionalDataManager
in interfacecom.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 interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-