Package com.independentsoft.graph.calendars

# Class TimeConstraint

java.lang.Object
com.independentsoft.graph.calendars.TimeConstraint

All Implemented Interfaces:
  `ICreatable`

public class TimeConstraint extends Object implements ICreatable

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TimeConstraint()`
  `TimeConstraint​(JsonObject jsonObject)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ActivityDomain`
  `getActivityDomain()`
  `List<TimeSlot>`
  `getTimeSlots()`
  `String`
  `toCreateJson()`
  Converts this object to its JSON representation for creation.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### TimeConstraint

    public TimeConstraint()

  - ### TimeConstraint

    public TimeConstraint​(JsonObject jsonObject)

- ## Method Details

  - ### toCreateJson

    public String toCreateJson()
    Description copied from interface: `ICreatable`
    Converts this object to its JSON representation for creation.

    This method generates a JSON string containing all properties needed to create a new instance of this resource in Microsoft Graph. Only properties appropriate for creation should be included (e.g., excluding read-only properties like ID, createdTime, etc.).

    Specified by:
      `toCreateJson` in interface `ICreatable`
    Returns:
      JSON string representation for creating this resource

  - ### getActivityDomain

    public ActivityDomain getActivityDomain()

  - ### getTimeSlots

    public List<TimeSlot> getTimeSlots()