Package com.courier.models.profiles
Class ProfileRetrieveResponse
-
- All Implemented Interfaces:
public final class ProfileRetrieveResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classProfileRetrieveResponse.BuilderA builder for ProfileRetrieveResponse.
public final classProfileRetrieveResponse.Profile
-
Method Summary
Modifier and Type Method Description final ProfileRetrieveResponse.Profileprofile()final Optional<RecipientPreferences>preferences()final JsonField<ProfileRetrieveResponse.Profile>_profile()Returns the raw JSON value of profile. final JsonField<RecipientPreferences>_preferences()Returns the raw JSON value of preferences. final Map<String, JsonValue>_additionalProperties()final ProfileRetrieveResponse.BuildertoBuilder()final ProfileRetrieveResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ProfileRetrieveResponse.Builderbuilder()Returns a mutable builder for constructing an instance of ProfileRetrieveResponse. -
-
Method Detail
-
profile
final ProfileRetrieveResponse.Profile profile()
-
preferences
final Optional<RecipientPreferences> preferences()
-
_profile
final JsonField<ProfileRetrieveResponse.Profile> _profile()
Returns the raw JSON value of profile.
Unlike profile, 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 ProfileRetrieveResponse.Builder toBuilder()
-
validate
final ProfileRetrieveResponse 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 ProfileRetrieveResponse.Builder builder()
Returns a mutable builder for constructing an instance of ProfileRetrieveResponse.
The following fields are required:
.profile()
-
-
-
-