Package com.courier.models.users.tokens
Class TokenListResponse
-
- All Implemented Interfaces:
public final class TokenListResponseA list of tokens registered with the user.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTokenListResponse.BuilderA builder for TokenListResponse.
-
Method Summary
Modifier and Type Method Description final List<UserToken>tokens()final JsonField<List<UserToken>>_tokens()Returns the raw JSON value of tokens. final Map<String, JsonValue>_additionalProperties()final TokenListResponse.BuildertoBuilder()final TokenListResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TokenListResponse.Builderbuilder()Returns a mutable builder for constructing an instance of TokenListResponse. -
-
Method Detail
-
_tokens
final JsonField<List<UserToken>> _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 TokenListResponse.Builder toBuilder()
-
validate
final TokenListResponse validate()
-
builder
final static TokenListResponse.Builder builder()
Returns a mutable builder for constructing an instance of TokenListResponse.
The following fields are required:
.tokens()
-
-
-
-