Package com.courier.models.users.tokens
Class TokenUpdateParams.Patch
-
- All Implemented Interfaces:
public final class TokenUpdateParams.Patch
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTokenUpdateParams.Patch.BuilderA builder for Patch.
-
Method Summary
Modifier and Type Method Description final Stringop()The operation to perform. final Stringpath()The JSON path specifying the part of the profile to operate on. final Optional<String>value()The value for the operation. final JsonField<String>_op()Returns the raw JSON value of op. final JsonField<String>_path()Returns the raw JSON value of path. final JsonField<String>_value()Returns the raw JSON value of value. final Map<String, JsonValue>_additionalProperties()final TokenUpdateParams.Patch.BuildertoBuilder()final TokenUpdateParams.Patchvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TokenUpdateParams.Patch.Builderbuilder()Returns a mutable builder for constructing an instance of Patch. -
-
Method Detail
-
_op
final JsonField<String> _op()
Returns the raw JSON value of op.
Unlike op, this method doesn't throw if the JSON field has an unexpected type.
-
_path
final JsonField<String> _path()
Returns the raw JSON value of path.
Unlike path, this method doesn't throw if the JSON field has an unexpected type.
-
_value
final JsonField<String> _value()
Returns the raw JSON value of value.
Unlike value, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final TokenUpdateParams.Patch.Builder toBuilder()
-
validate
final TokenUpdateParams.Patch validate()
-
builder
final static TokenUpdateParams.Patch.Builder builder()
Returns a mutable builder for constructing an instance of Patch.
The following fields are required:
.op() .path()
-
-
-
-