Class ChannelData
-
- All Implemented Interfaces:
public final class ChannelDataChannel data for a given channel type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classChannelData.BuilderA builder for ChannelData.
public final classChannelData.DataChannel data for a given channel type.
public final classChannelData.ProviderThe type of provider.
-
Method Summary
Modifier and Type Method Description final String_typename()The typename of the schema. final StringchannelId()The unique identifier for the channel. final ChannelData.Datadata()Channel data for a given channel type. final Optional<ChannelData.Provider>provider()The type of provider. final JsonField<String>__typename()Returns the raw JSON value of _typename. final JsonField<String>_channelId()Returns the raw JSON value of channelId. final JsonField<ChannelData.Data>_data()Returns the raw JSON value of data. final JsonField<ChannelData.Provider>_provider()Returns the raw JSON value of provider. final Map<String, JsonValue>_additionalProperties()final ChannelData.BuildertoBuilder()final ChannelDatavalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ChannelData.Builderbuilder()Returns a mutable builder for constructing an instance of ChannelData. -
-
Method Detail
-
data
final ChannelData.Data data()
Channel data for a given channel type.
-
provider
final Optional<ChannelData.Provider> provider()
The type of provider.
-
__typename
final JsonField<String> __typename()
Returns the raw JSON value of _typename.
Unlike _typename, this method doesn't throw if the JSON field has an unexpected type.
-
_channelId
final JsonField<String> _channelId()
Returns the raw JSON value of channelId.
Unlike channelId, this method doesn't throw if the JSON field has an unexpected type.
-
_data
final JsonField<ChannelData.Data> _data()
Returns the raw JSON value of data.
Unlike data, this method doesn't throw if the JSON field has an unexpected type.
-
_provider
final JsonField<ChannelData.Provider> _provider()
Returns the raw JSON value of provider.
Unlike provider, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ChannelData.Builder toBuilder()
-
validate
final ChannelData validate()
-
builder
final static ChannelData.Builder builder()
Returns a mutable builder for constructing an instance of ChannelData.
The following fields are required:
._typename() .channelId() .data()
-
-
-
-