Class Create
-
- All Implemented Interfaces:
public final class Create
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCreate.BuilderA builder for Create.
public final classCreate.MetadataShallow custom metadata object.
public final classCreate.ReferralStatus
-
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<Create.Metadata>metadata()Shallow custom metadata object. final Optional<String>mobileInstanceId()Optional app-install scoped identifier for native mobile anti-fraud. final Optional<Create.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<Create.Metadata>_metadata()Returns the raw JSON value of metadata. final JsonField<String>_mobileInstanceId()Returns the raw JSON value of mobileInstanceId. final JsonField<Create.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 Create.BuildertoBuilder()final Createvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Create.Builderbuilder()Returns a mutable builder for constructing an instance of Create. -
-
Method Detail
-
fingerprint
final Optional<String> fingerprint()
-
metadata
final Optional<Create.Metadata> metadata()
Shallow custom metadata object.
-
mobileInstanceId
final Optional<String> mobileInstanceId()
Optional app-install scoped identifier for native mobile anti-fraud. Recommended for mobile participant creation and mobile participant token flows. The official mobile SDKs generate this as a lowercase UUID.
-
referralStatus
final Optional<Create.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<Create.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_mobileInstanceId
final JsonField<String> _mobileInstanceId()
Returns the raw JSON value of mobileInstanceId.
Unlike mobileInstanceId, this method doesn't throw if the JSON field has an unexpected type.
-
_referralStatus
final JsonField<Create.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 Create.Builder toBuilder()
-
validate
final Create 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 Create.Builder builder()
Returns a mutable builder for constructing an instance of Create.
The following fields are required:
.email()
-
-
-
-