Class ExtensionConfigurationSegment
java.lang.Object
com.github.twitch4j.extensions.domain.ExtensionConfigurationSegment
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionExtensionConfigurationSegment
(@NonNull String channelId, @NonNull ConfigurationSegmentType segment, String content, String version) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
@NonNull String
@NonNull ConfigurationSegmentType
int
hashCode()
toString()
withChannelId
(@NonNull String channelId) withContent
(String content) withSegment
(@NonNull ConfigurationSegmentType segment) withVersion
(String version)
-
Constructor Details
-
ExtensionConfigurationSegment
public ExtensionConfigurationSegment() -
ExtensionConfigurationSegment
public ExtensionConfigurationSegment(@NonNull @NonNull String channelId, @NonNull @NonNull ConfigurationSegmentType segment, String content, String version)
-
-
Method Details
-
builder
-
getChannelId
-
getSegment
-
getContent
-
getVersion
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
withChannelId
- 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
- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withVersion
- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-