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