twitchkt
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
twitchkt
helix
/
io.github.captnblubber.twitchkt.helix.model
/
ScheduleSegment
Schedule
Segment
@
Serializable
data
class
ScheduleSegment
(
val
id
:
String
,
val
startTime
:
Instant
,
val
endTime
:
Instant
,
val
title
:
String
,
val
canceledUntil
:
Instant
?
=
null
,
val
category
:
ScheduleCategory
?
=
null
,
val
isRecurring
:
Boolean
)
Represents a segment in a stream schedule.
Members
Constructors
Schedule
Segment
Link copied to clipboard
constructor
(
id
:
String
,
startTime
:
Instant
,
endTime
:
Instant
,
title
:
String
,
canceledUntil
:
Instant
?
=
null
,
category
:
ScheduleCategory
?
=
null
,
isRecurring
:
Boolean
)
Properties
canceled
Until
Link copied to clipboard
@
SerialName
(
value
=
"canceled_until"
)
val
canceledUntil
:
Instant
?
category
Link copied to clipboard
val
category
:
ScheduleCategory
?
end
Time
Link copied to clipboard
@
SerialName
(
value
=
"end_time"
)
val
endTime
:
Instant
id
Link copied to clipboard
val
id
:
String
is
Recurring
Link copied to clipboard
@
SerialName
(
value
=
"is_recurring"
)
val
isRecurring
:
Boolean
start
Time
Link copied to clipboard
@
SerialName
(
value
=
"start_time"
)
val
startTime
:
Instant
title
Link copied to clipboard
val
title
:
String