Class UserProfile.Address
-
- All Implemented Interfaces:
public final class UserProfile.Address
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUserProfile.Address.BuilderA builder for Address.
-
Method Summary
Modifier and Type Method Description final Stringcountry()final Stringformatted()final Stringlocality()final StringpostalCode()final Stringregion()final StringstreetAddress()final JsonField<String>_country()Returns the raw JSON value of country. final JsonField<String>_formatted()Returns the raw JSON value of formatted. final JsonField<String>_locality()Returns the raw JSON value of locality. final JsonField<String>_postalCode()Returns the raw JSON value of postalCode. final JsonField<String>_region()Returns the raw JSON value of region. final JsonField<String>_streetAddress()Returns the raw JSON value of streetAddress. final Map<String, JsonValue>_additionalProperties()final UserProfile.Address.BuildertoBuilder()final UserProfile.Addressvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static UserProfile.Address.Builderbuilder()Returns a mutable builder for constructing an instance of Address. -
-
Method Detail
-
postalCode
final String postalCode()
-
streetAddress
final String streetAddress()
-
_country
final JsonField<String> _country()
Returns the raw JSON value of country.
Unlike country, this method doesn't throw if the JSON field has an unexpected type.
-
_formatted
final JsonField<String> _formatted()
Returns the raw JSON value of formatted.
Unlike formatted, this method doesn't throw if the JSON field has an unexpected type.
-
_locality
final JsonField<String> _locality()
Returns the raw JSON value of locality.
Unlike locality, this method doesn't throw if the JSON field has an unexpected type.
-
_postalCode
final JsonField<String> _postalCode()
Returns the raw JSON value of postalCode.
Unlike postalCode, this method doesn't throw if the JSON field has an unexpected type.
-
_region
final JsonField<String> _region()
Returns the raw JSON value of region.
Unlike region, this method doesn't throw if the JSON field has an unexpected type.
-
_streetAddress
final JsonField<String> _streetAddress()
Returns the raw JSON value of streetAddress.
Unlike streetAddress, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final UserProfile.Address.Builder toBuilder()
-
validate
final UserProfile.Address 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 UserProfile.Address.Builder builder()
Returns a mutable builder for constructing an instance of Address.
The following fields are required:
.country() .formatted() .locality() .postalCode() .region() .streetAddress()
-
-
-
-