Class ParticipantAddParams.Body
-
- All Implemented Interfaces:
public final class ParticipantAddParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classParticipantAddParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Stringemail()final Optional<String>fingerprint()final Optional<String>firstName()final Optional<String>ipAddress()final Optional<String>lastName()final Optional<ParticipantAddParams.Metadata>metadata()Shallow custom metadata object. final Optional<ParticipantAddParams.ReferralStatus>referralStatus()final Optional<String>referredBy()Referrer participant ID or email address. final JsonField<String>_email()Returns the raw JSON value of email. final JsonField<String>_fingerprint()Returns the raw JSON value of fingerprint. final JsonField<String>_firstName()Returns the raw JSON value of firstName. final JsonField<String>_ipAddress()Returns the raw JSON value of ipAddress. final JsonField<String>_lastName()Returns the raw JSON value of lastName. final JsonField<ParticipantAddParams.Metadata>_metadata()Returns the raw JSON value of metadata. final JsonField<ParticipantAddParams.ReferralStatus>_referralStatus()Returns the raw JSON value of referralStatus. final JsonField<String>_referredBy()Returns the raw JSON value of referredBy. final Map<String, JsonValue>_additionalProperties()final ParticipantAddParams.Body.BuildertoBuilder()final ParticipantAddParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ParticipantAddParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
fingerprint
final Optional<String> fingerprint()
-
metadata
final Optional<ParticipantAddParams.Metadata> metadata()
Shallow custom metadata object.
-
referralStatus
final Optional<ParticipantAddParams.ReferralStatus> referralStatus()
-
referredBy
final Optional<String> referredBy()
Referrer participant ID or email address.
-
_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.
-
_fingerprint
final JsonField<String> _fingerprint()
Returns the raw JSON value of fingerprint.
Unlike fingerprint, 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.
-
_ipAddress
final JsonField<String> _ipAddress()
Returns the raw JSON value of ipAddress.
Unlike ipAddress, 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<ParticipantAddParams.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<ParticipantAddParams.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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ParticipantAddParams.Body.Builder toBuilder()
-
validate
final ParticipantAddParams.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 ParticipantAddParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.email()
-
-
-
-