Package com.courier.models.lists
Class ListUpdateParams.Body
-
- All Implemented Interfaces:
public final class ListUpdateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classListUpdateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Stringname()final Optional<RecipientPreferences>preferences()final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<RecipientPreferences>_preferences()Returns the raw JSON value of preferences. final Map<String, JsonValue>_additionalProperties()final ListUpdateParams.Body.BuildertoBuilder()final ListUpdateParams.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 ListUpdateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
preferences
final Optional<RecipientPreferences> preferences()
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_preferences
final JsonField<RecipientPreferences> _preferences()
Returns the raw JSON value of preferences.
Unlike preferences, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ListUpdateParams.Body.Builder toBuilder()
-
validate
final ListUpdateParams.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 ListUpdateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.name()
-
-
-
-