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