Class ParticipantUpdateParams.Body
-
- All Implemented Interfaces:
public final class ParticipantUpdateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classParticipantUpdateParams.Body.BuilderA builder for Body.
-
Method Summary
-
-
Method Detail
-
metadata
final Optional<ParticipantUpdateParams.Metadata> metadata()
Shallow custom metadata object.
-
referralStatus
final Optional<ParticipantUpdateParams.ReferralStatus> referralStatus()
-
referredBy
final Optional<String> referredBy()
-
unsubscribed
final Optional<Boolean> unsubscribed()
-
vanityKeys
final Optional<List<String>> vanityKeys()
-
_email
final JsonField<String> _email()
Returns the raw JSON value of email.
Unlike email, this method doesn't throw if the JSON field has an unexpected type.
-
_firstName
final JsonField<String> _firstName()
Returns the raw JSON value of firstName.
Unlike firstName, this method doesn't throw if the JSON field has an unexpected type.
-
_lastName
final JsonField<String> _lastName()
Returns the raw JSON value of lastName.
Unlike lastName, this method doesn't throw if the JSON field has an unexpected type.
-
_metadata
final JsonField<ParticipantUpdateParams.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_referralStatus
final JsonField<ParticipantUpdateParams.ReferralStatus> _referralStatus()
Returns the raw JSON value of referralStatus.
Unlike referralStatus, this method doesn't throw if the JSON field has an unexpected type.
-
_referredBy
final JsonField<String> _referredBy()
Returns the raw JSON value of referredBy.
Unlike referredBy, this method doesn't throw if the JSON field has an unexpected type.
-
_unsubscribed
final JsonField<Boolean> _unsubscribed()
Returns the raw JSON value of unsubscribed.
Unlike unsubscribed, this method doesn't throw if the JSON field has an unexpected type.
-
_vanityKeys
final JsonField<List<String>> _vanityKeys()
Returns the raw JSON value of vanityKeys.
Unlike vanityKeys, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ParticipantUpdateParams.Body.Builder toBuilder()
-
validate
final ParticipantUpdateParams.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 ParticipantUpdateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
-
-
-
-