Package com.courier.models.profiles
Class ProfileUpdateParams.Body
-
- All Implemented Interfaces:
public final class ProfileUpdateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classProfileUpdateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final List<ProfileUpdateParams.Patch>patch()List of patch operations to apply to the profile. final JsonField<List<ProfileUpdateParams.Patch>>_patch()Returns the raw JSON value of patch. final Map<String, JsonValue>_additionalProperties()final ProfileUpdateParams.Body.BuildertoBuilder()final ProfileUpdateParams.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 ProfileUpdateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
patch
final List<ProfileUpdateParams.Patch> patch()
List of patch operations to apply to the profile.
-
_patch
final JsonField<List<ProfileUpdateParams.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 ProfileUpdateParams.Body.Builder toBuilder()
-
validate
final ProfileUpdateParams.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 ProfileUpdateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.patch()
-
-
-
-