Class ExtensionConfigurationSegment
java.lang.Object
com.github.twitch4j.extensions.domain.ExtensionConfigurationSegment
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionExtensionConfigurationSegment(@NonNull String channelId, @NonNull ConfigurationSegmentType segment, String content, String version) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanboolean@NonNull String@NonNull ConfigurationSegmentTypeinthashCode()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
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).
-