Package com.courier.models
Class MessageRouting
-
- All Implemented Interfaces:
public final class MessageRouting
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMessageRouting.BuilderA builder for MessageRouting.
public final classMessageRouting.Method
-
Method Summary
Modifier and Type Method Description final List<MessageRoutingChannel>channels()final MessageRouting.Methodmethod()final JsonField<List<MessageRoutingChannel>>_channels()Returns the raw JSON value of channels. final JsonField<MessageRouting.Method>_method()Returns the raw JSON value of method. final Map<String, JsonValue>_additionalProperties()final MessageRouting.BuildertoBuilder()final MessageRoutingvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static MessageRouting.Builderbuilder()Returns a mutable builder for constructing an instance of MessageRouting. -
-
Method Detail
-
channels
final List<MessageRoutingChannel> channels()
-
method
final MessageRouting.Method method()
-
_channels
final JsonField<List<MessageRoutingChannel>> _channels()
Returns the raw JSON value of channels.
Unlike channels, this method doesn't throw if the JSON field has an unexpected type.
-
_method
final JsonField<MessageRouting.Method> _method()
Returns the raw JSON value of method.
Unlike method, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final MessageRouting.Builder toBuilder()
-
validate
final MessageRouting 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 MessageRouting.Builder builder()
Returns a mutable builder for constructing an instance of MessageRouting.
The following fields are required:
.channels() .method()
-
-
-
-