Class BlockedTerm

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

public class BlockedTerm extends Object
  • Constructor Details

    • BlockedTerm

      public BlockedTerm()
  • Method Details

    • getId

      public String getId()
      An ID that uniquely identifies this blocked term.
    • getBroadcasterId

      public String getBroadcasterId()
      The broadcaster that owns the list of blocked terms.
    • getModeratorId

      public String getModeratorId()
      The moderator that blocked the word or phrase from being used in the broadcaster’s chat room.
    • getText

      public String getText()
      The blocked word or phrase.
    • getCreatedAt

      public Instant getCreatedAt()
      The UTC date and time (in RFC3339 format) of when the term was blocked.
    • getUpdatedAt

      public Instant getUpdatedAt()
      The UTC date and time (in RFC3339 format) of when the term was updated.

      When the term is added, this timestamp is the same as created_at. The timestamp changes as AutoMod continues to deny the term.

    • getExpiresAt

      @Nullable public @Nullable Instant getExpiresAt()
      The UTC date and time (in RFC3339 format) of when the blocked term is set to expire. After the block expires, user’s will be able to use the term in the broadcaster’s chat room.

      This field is null if the term was added manually or was permanently blocked by AutoMod.

    • 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