Package com.github.twitch4j.helix.domain
Class ExtensionConfigurationSegmentInput
java.lang.Object
com.github.twitch4j.helix.domain.ExtensionConfigurationSegmentInput
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionExtensionConfigurationSegmentInput
(String extensionId, ExtensionSegment segment, @Nullable String broadcasterId, @Nullable String content, @Nullable String version) Creates a newExtensionConfigurationSegmentInput
instance. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
@Nullable String
User ID of the broadcaster.@Nullable String
Configuration in a string-encoded format.Required: ID for the Extension which the configuration is for.Required: Configuration type.@Nullable String
Configuration version with the segment type.int
hashCode()
toString()
withBroadcasterId
(@Nullable String broadcasterId) User ID of the broadcaster.withContent
(@Nullable String content) Configuration in a string-encoded format.withExtensionId
(String extensionId) Required: ID for the Extension which the configuration is for.withSegment
(ExtensionSegment segment) Required: Configuration type.withVersion
(@Nullable String version) Configuration version with the segment type.
-
Constructor Details
-
ExtensionConfigurationSegmentInput
public ExtensionConfigurationSegmentInput() -
ExtensionConfigurationSegmentInput
public ExtensionConfigurationSegmentInput(String extensionId, ExtensionSegment segment, @Nullable @Nullable String broadcasterId, @Nullable @Nullable String content, @Nullable @Nullable String version) Creates a newExtensionConfigurationSegmentInput
instance.- Parameters:
extensionId
- Required: ID for the Extension which the configuration is for.segment
- Required: Configuration type.broadcasterId
- User ID of the broadcaster. Required if the segment type is "developer" or "broadcaster".content
- Configuration in a string-encoded format.version
- Configuration version with the segment type.
-
-
Method Details
-
builder
public static ExtensionConfigurationSegmentInput.ExtensionConfigurationSegmentInputBuilder builder() -
toBuilder
-
withExtensionId
Required: ID for the Extension which the configuration is for.- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withSegment
Required: Configuration type.- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withBroadcasterId
public ExtensionConfigurationSegmentInput withBroadcasterId(@Nullable @Nullable String broadcasterId) User ID of the broadcaster. Required if the segment type is "developer" or "broadcaster".- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withContent
Configuration in a string-encoded format.- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withVersion
Configuration version with the segment type.- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
getExtensionId
Required: ID for the Extension which the configuration is for. -
getSegment
Required: Configuration type. -
getBroadcasterId
User ID of the broadcaster. Required if the segment type is "developer" or "broadcaster". -
getContent
Configuration in a string-encoded format. -
getVersion
Configuration version with the segment type. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-