Class ExtensionConfigurationSegment
java.lang.Object
com.github.twitch4j.extensions.domain.ExtensionConfigurationSegment
public class ExtensionConfigurationSegment
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExtensionConfigurationSegment.ExtensionConfigurationSegmentBuilder -
Constructor Summary
Constructors Constructor Description ExtensionConfigurationSegment()ExtensionConfigurationSegment(@NonNull java.lang.String channelId, @NonNull ConfigurationSegmentType segment, java.lang.String content, java.lang.String version) -
Method Summary
Modifier and Type Method Description static ExtensionConfigurationSegment.ExtensionConfigurationSegmentBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)@NonNull java.lang.StringgetChannelId()java.lang.StringgetContent()@NonNull ConfigurationSegmentTypegetSegment()java.lang.StringgetVersion()inthashCode()java.lang.StringtoString()ExtensionConfigurationSegmentwithChannelId(@NonNull java.lang.String channelId)ExtensionConfigurationSegmentwithContent(java.lang.String content)ExtensionConfigurationSegmentwithSegment(@NonNull ConfigurationSegmentType segment)ExtensionConfigurationSegmentwithVersion(java.lang.String version)Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
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
-
getContent
public java.lang.String getContent() -
getVersion
public java.lang.String getVersion() -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
withChannelId
- Returns:
- a clone of this object, except with this updated property (returns
thisif 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
thisif an identical value is passed).
-
withContent
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withVersion
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-