Class Channel
-
- All Implemented Interfaces:
public final class Channel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classChannel.BuilderA builder for Channel.
public final classChannel.OverrideChannel specific overrides.
public final classChannel.RoutingMethodDefaults to
single.
-
Method Summary
Modifier and Type Method Description final Optional<String>brandId()Brand id used for rendering. final Optional<String>if_()JS conditional with access to data/profile. final Optional<ChannelMetadata>metadata()final Optional<Channel.Override>override()Channel specific overrides. final Optional<List<String>>providers()Providers enabled for this channel. final Optional<Channel.RoutingMethod>routingMethod()Defaults to single.final Optional<Timeouts>timeouts()final JsonField<String>_brandId()Returns the raw JSON value of brandId. final JsonField<String>_if_()Returns the raw JSON value of if_. final JsonField<ChannelMetadata>_metadata()Returns the raw JSON value of metadata. final JsonField<Channel.Override>_override()Returns the raw JSON value of override. final JsonField<List<String>>_providers()Returns the raw JSON value of providers. final JsonField<Channel.RoutingMethod>_routingMethod()Returns the raw JSON value of routingMethod. final JsonField<Timeouts>_timeouts()Returns the raw JSON value of timeouts. final Map<String, JsonValue>_additionalProperties()final Channel.BuildertoBuilder()final Channelvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Channel.Builderbuilder()Returns a mutable builder for constructing an instance of Channel. -
-
Method Detail
-
metadata
final Optional<ChannelMetadata> metadata()
-
override
final Optional<Channel.Override> override()
Channel specific overrides.
-
routingMethod
final Optional<Channel.RoutingMethod> routingMethod()
Defaults to
single.
-
_brandId
final JsonField<String> _brandId()
Returns the raw JSON value of brandId.
Unlike brandId, this method doesn't throw if the JSON field has an unexpected type.
-
_if_
final JsonField<String> _if_()
Returns the raw JSON value of if_.
Unlike if_, this method doesn't throw if the JSON field has an unexpected type.
-
_metadata
final JsonField<ChannelMetadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_override
final JsonField<Channel.Override> _override()
Returns the raw JSON value of override.
Unlike override, this method doesn't throw if the JSON field has an unexpected type.
-
_providers
final JsonField<List<String>> _providers()
Returns the raw JSON value of providers.
Unlike providers, this method doesn't throw if the JSON field has an unexpected type.
-
_routingMethod
final JsonField<Channel.RoutingMethod> _routingMethod()
Returns the raw JSON value of routingMethod.
Unlike routingMethod, this method doesn't throw if the JSON field has an unexpected type.
-
_timeouts
final JsonField<Timeouts> _timeouts()
Returns the raw JSON value of timeouts.
Unlike timeouts, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Channel.Builder toBuilder()
-
builder
final static Channel.Builder builder()
Returns a mutable builder for constructing an instance of Channel.
-
-
-
-