Package com.microsoft.graph.models
Class ShiftPreferences
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ChangeTrackedEntity
com.microsoft.graph.models.ShiftPreferences
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class ShiftPreferences
extends ChangeTrackedEntity
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Shift Preferences.
-
Field Summary
FieldsFields inherited from class com.microsoft.graph.models.ChangeTrackedEntity
createdDateTime, lastModifiedBy, lastModifiedDateTime
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManager
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
availability
@SerializedName(value="availability", alternate="Availability") @Expose @Nullable public List<ShiftAvailability> availabilityThe Availability. Availability of the user to be scheduled for work and its recurrence pattern.
-
-
Constructor Details
-
ShiftPreferences
public ShiftPreferences()
-
-
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 interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Overrides:
setRawObject
in classChangeTrackedEntity
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-