Package com.courier.models.brands
Class BrandSnippet
-
- All Implemented Interfaces:
public final class BrandSnippet
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBrandSnippet.BuilderA builder for BrandSnippet.
-
Method Summary
Modifier and Type Method Description final Stringname()final Stringvalue()final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_value()Returns the raw JSON value of value. final Map<String, JsonValue>_additionalProperties()final BrandSnippet.BuildertoBuilder()final BrandSnippetvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BrandSnippet.Builderbuilder()Returns a mutable builder for constructing an instance of BrandSnippet. -
-
Method Detail
-
_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.
-
_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 BrandSnippet.Builder toBuilder()
-
validate
final BrandSnippet 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 BrandSnippet.Builder builder()
Returns a mutable builder for constructing an instance of BrandSnippet.
The following fields are required:
.name() .value()
-
-
-
-