Package com.courier.models
Class ChannelPreference
-
- All Implemented Interfaces:
public final class ChannelPreference
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classChannelPreference.BuilderA builder for ChannelPreference.
-
Method Summary
Modifier and Type Method Description final ChannelClassificationchannel()final JsonField<ChannelClassification>_channel()Returns the raw JSON value of channel. final Map<String, JsonValue>_additionalProperties()final ChannelPreference.BuildertoBuilder()final ChannelPreferencevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ChannelPreference.Builderbuilder()Returns a mutable builder for constructing an instance of ChannelPreference. -
-
Method Detail
-
channel
final ChannelClassification channel()
-
_channel
final JsonField<ChannelClassification> _channel()
Returns the raw JSON value of channel.
Unlike channel, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ChannelPreference.Builder toBuilder()
-
validate
final ChannelPreference validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ChannelPreference.Builder builder()
Returns a mutable builder for constructing an instance of ChannelPreference.
The following fields are required:
.channel()
-
-
-
-