TimeSlotOption Class
Represents a complex time slot option type. This class is used to provide time option payloads that can be translated to structured content payloads in rich content messages.
The following are constructors for TimeSlotOption.
-
TimeSlotOption(startTime, endTime)
Creates a
TimeSlotOptionobject with a start and end time. -
TimeSlotOption(startTime, duration)
Creates a
TimeSlotOptionobject with a start time and a duration. -
Creates a
TimeSlotOptionobject.
Creates a TimeSlotOption object with a start and end time.
public TimeSlotOption(Datetime startTime, Datetime endTime)
Creates a TimeSlotOption object with a start time and a duration.
public TimeSlotOption(Datetime startTime, Integer duration)
Creates a TimeSlotOption object.
public TimeSlotOption()
The following are properties for TimeSlotOption.
-
The duration in seconds.
-
The duration in seconds. Enabled for Lightning components.
-
The end time. Enabled for Lightning components.
-
The start time.
-
The start time. Enabled for Lightning components.
The duration in seconds.
public Integer duration {get; set;}
Type: Integer
The duration in seconds. Enabled for Lightning components.
public Integer durationValue {get; set;}
Type: Integer
The end time. Enabled for Lightning components.
public Datetime endTimeValue {get; set;}
Type: Datetime
The start time.
public Datetime startTime {get; set;}
Type: Datetime
The start time. Enabled for Lightning components.
public Datetime startTimeValue {get; set;}
Type: Datetime