Class ExtensionConfigurationSegment

java.lang.Object
com.github.twitch4j.extensions.domain.ExtensionConfigurationSegment

public class ExtensionConfigurationSegment
extends java.lang.Object
  • Constructor Details

    • ExtensionConfigurationSegment

      public ExtensionConfigurationSegment()
    • ExtensionConfigurationSegment

      public ExtensionConfigurationSegment​(@NonNull @NonNull java.lang.String channelId, @NonNull @NonNull ConfigurationSegmentType segment, java.lang.String content, java.lang.String version)
  • Method Details

    • builder

    • getChannelId

      @NonNull public @NonNull java.lang.String getChannelId()
    • getSegment

      @NonNull public @NonNull ConfigurationSegmentType getSegment()
    • getContent

      public java.lang.String getContent()
    • getVersion

      public java.lang.String getVersion()
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

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

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • withChannelId

      public ExtensionConfigurationSegment withChannelId​(@NonNull @NonNull java.lang.String channelId)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withSegment

      public ExtensionConfigurationSegment withSegment​(@NonNull @NonNull ConfigurationSegmentType segment)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withContent

      public ExtensionConfigurationSegment withContent​(java.lang.String content)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withVersion

      public ExtensionConfigurationSegment withVersion​(java.lang.String version)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).