Class ScheduleSegmentInput

java.lang.Object
com.github.twitch4j.helix.domain.ScheduleSegmentInput

public class ScheduleSegmentInput extends Object
  • Constructor Details

    • ScheduleSegmentInput

      public ScheduleSegmentInput()
    • ScheduleSegmentInput

      public ScheduleSegmentInput(Instant startTime, String timezone, Boolean recurring, Boolean canceled, Integer durationMinutes, String categoryId, String title)
  • Method Details

    • builder

    • toBuilder

    • withStartTime

      public ScheduleSegmentInput withStartTime(Instant startTime)
      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

      public ScheduleSegmentInput withTimezone(String timezone)
      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

      public ScheduleSegmentInput withRecurring(Boolean recurring)
      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

      public ScheduleSegmentInput withCanceled(Boolean canceled)
      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

      public ScheduleSegmentInput withDurationMinutes(Integer durationMinutes)
      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

      public ScheduleSegmentInput withCategoryId(String categoryId)
      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

      public ScheduleSegmentInput withTitle(String title)
      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

      public Instant getStartTime()
      Start time for the scheduled broadcast specified in RFC3339 format.
    • getTimezone

      public String getTimezone()
      The timezone of the application creating the scheduled broadcast using the IANA time zone database format.
      See Also:
    • getRecurring

      public Boolean getRecurring()
      Indicates if the scheduled broadcast is recurring weekly.
    • getCanceled

      public Boolean getCanceled()
      Indicated if the scheduled broadcast is canceled.
    • getDurationMinutes

      public Integer getDurationMinutes()
      Duration of the scheduled broadcast in minutes from the start_time. Default: 240.
    • getCategoryId

      public String getCategoryId()
      Game/Category ID for the scheduled broadcast.
    • getTitle

      public String getTitle()
      Title for the scheduled broadcast. Maximum: 140 characters.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object