Package com.github.twitch4j.helix.domain
Class ScheduleSegmentInput
java.lang.Object
com.github.twitch4j.helix.domain.ScheduleSegmentInput
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
Indicated if the scheduled broadcast is canceled.Game/Category ID for the scheduled broadcast.Duration of the scheduled broadcast in minutes from the start_time.Indicates if the scheduled broadcast is recurring weekly.Start time for the scheduled broadcast specified in RFC3339 format.The timezone of the application creating the scheduled broadcast using the IANA time zone database format.getTitle()
Title for the scheduled broadcast.int
hashCode()
toString()
withCanceled
(Boolean canceled) Indicated if the scheduled broadcast is canceled.withCategoryId
(String categoryId) Game/Category ID for the scheduled broadcast.withDurationMinutes
(Integer durationMinutes) Duration of the scheduled broadcast in minutes from the start_time.withRecurring
(Boolean recurring) Indicates if the scheduled broadcast is recurring weekly.withStartTime
(Instant startTime) Start time for the scheduled broadcast specified in RFC3339 format.withTimezone
(String timezone) The timezone of the application creating the scheduled broadcast using the IANA time zone database format.Title for the scheduled broadcast.
-
Constructor Details
-
ScheduleSegmentInput
public ScheduleSegmentInput() -
ScheduleSegmentInput
public ScheduleSegmentInput(Instant startTime, String timezone, Boolean recurring, Boolean canceled, Integer durationMinutes, String categoryId, String title) Creates a newScheduleSegmentInput
instance.- Parameters:
startTime
- Start time for the scheduled broadcast specified in RFC3339 format.timezone
- The timezone of the application creating the scheduled broadcast using the IANA time zone database format.recurring
- Indicates if the scheduled broadcast is recurring weekly.canceled
- Indicated if the scheduled broadcast is canceled.durationMinutes
- Duration of the scheduled broadcast in minutes from the start_time. Default: 240.categoryId
- Game/Category ID for the scheduled broadcast.title
- Title for the scheduled broadcast. Maximum: 140 characters.- See Also:
-
-
Method Details
-
builder
-
toBuilder
-
withStartTime
Start time for the scheduled broadcast specified in RFC3339 format.- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withTimezone
The timezone of the application creating the scheduled broadcast using the IANA time zone database format.- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed). - See Also:
-
withRecurring
Indicates if the scheduled broadcast is recurring weekly.- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withCanceled
Indicated if the scheduled broadcast is canceled.- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withDurationMinutes
Duration of the scheduled broadcast in minutes from the start_time. Default: 240.- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withCategoryId
Game/Category ID for the scheduled broadcast.- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withTitle
Title for the scheduled broadcast. Maximum: 140 characters.- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
getStartTime
Start time for the scheduled broadcast specified in RFC3339 format. -
getTimezone
The timezone of the application creating the scheduled broadcast using the IANA time zone database format.- See Also:
-
getRecurring
Indicates if the scheduled broadcast is recurring weekly. -
getCanceled
Indicated if the scheduled broadcast is canceled. -
getDurationMinutes
Duration of the scheduled broadcast in minutes from the start_time. Default: 240. -
getCategoryId
Game/Category ID for the scheduled broadcast. -
getTitle
Title for the scheduled broadcast. Maximum: 140 characters. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-