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 Details

    • oDataType

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

      @SerializedName(value="activityDomain", alternate="ActivityDomain") @Expose @Nullable public ActivityDomain activityDomain
      The 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> timeSlots
      The Time Slots.
  • Constructor Details

    • TimeConstraint

      public TimeConstraint()
  • 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