Package com.microsoft.graph.models
Class TimeConstraint
java.lang.Object
com.microsoft.graph.models.TimeConstraint
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class TimeConstraint
extends Object
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Time Constraint.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Activity Domain.the OData type of the object as returned by the serviceThe Time Slots. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManagervoidsetRawObject(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 -
activityDomain
@SerializedName(value="activityDomain", alternate="ActivityDomain") @Expose @Nullable public ActivityDomain activityDomainThe Activity Domain. The nature of the activity, optional. The possible values are: work, personal, unrestricted, or unknown. -
timeSlots
@SerializedName(value="timeSlots", alternate="TimeSlots") @Expose @Nullable public List<TimeSlot> timeSlotsThe Time Slots.
-
-
Constructor Details
-
TimeConstraint
public TimeConstraint()
-
-
Method Details
-
additionalDataManager
@Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()- Specified by:
additionalDataManagerin 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:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-