Class ScheduledSegment

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

public class ScheduledSegment extends Object
  • Constructor Details

    • ScheduledSegment

      public ScheduledSegment()
  • Method Details

    • getId

      public String getId()
      The ID for the scheduled broadcast.
    • getStartTime

      public Instant getStartTime()
      Scheduled start time for the scheduled broadcast in RFC3339 format.
    • getEndTime

      public Instant getEndTime()
      Scheduled end time for the scheduled broadcast in RFC3339 format.
    • getTitle

      public String getTitle()
      Title for the scheduled broadcast.
    • getCanceledUntil

      @Nullable public @Nullable Instant getCanceledUntil()
      Used with recurring scheduled broadcasts. Specifies the date of the next recurring broadcast in RFC3339 format if one or more specific broadcasts have been deleted in the series. Set to null otherwise.
    • getCategory

      @Nullable public @Nullable ScheduledSegment.Category getCategory()
      The category for the scheduled broadcast. Set to null if no category has been specified.
    • isRecurring

      public Boolean isRecurring()
      Indicates whether the scheduled broadcast is recurring weekly.
    • 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