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()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()
-
builder
final static ProfileRetrieveResponse.Builder builder()
Returns a mutable builder for constructing an instance of ProfileRetrieveResponse.
The following fields are required:
.profile()
-
-
-
-