Class ParticipantAddParams.Builder
-
- All Implemented Interfaces:
public final class ParticipantAddParams.BuilderA builder for ParticipantAddParams.
-
-
Method Summary
-
-
Method Detail
-
id
final ParticipantAddParams.Builder id(String id)
-
id
final ParticipantAddParams.Builder id(Optional<String> id)
Alias for calling Builder.id with
id.orElse(null).
-
body
final ParticipantAddParams.Builder body(ParticipantAddParams.Body body)
Sets the entire request body.
This is generally only useful if you are already constructing the body separately. Otherwise, it's more convenient to use the top-level setters instead:
-
email
final ParticipantAddParams.Builder email(String email)
-
email
final ParticipantAddParams.Builder email(JsonField<String> email)
Sets Builder.email to an arbitrary JSON value.
You should usually call Builder.email with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
fingerprint
final ParticipantAddParams.Builder fingerprint(String fingerprint)
-
fingerprint
final ParticipantAddParams.Builder fingerprint(JsonField<String> fingerprint)
Sets Builder.fingerprint to an arbitrary JSON value.
You should usually call Builder.fingerprint with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
firstName
final ParticipantAddParams.Builder firstName(String firstName)
-
firstName
final ParticipantAddParams.Builder firstName(JsonField<String> firstName)
Sets Builder.firstName to an arbitrary JSON value.
You should usually call Builder.firstName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
ipAddress
final ParticipantAddParams.Builder ipAddress(String ipAddress)
-
ipAddress
final ParticipantAddParams.Builder ipAddress(JsonField<String> ipAddress)
Sets Builder.ipAddress to an arbitrary JSON value.
You should usually call Builder.ipAddress with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
lastName
final ParticipantAddParams.Builder lastName(String lastName)
-
lastName
final ParticipantAddParams.Builder lastName(JsonField<String> lastName)
Sets Builder.lastName to an arbitrary JSON value.
You should usually call Builder.lastName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
metadata
final ParticipantAddParams.Builder metadata(ParticipantAddParams.Metadata metadata)
Shallow custom metadata object.
-
metadata
final ParticipantAddParams.Builder metadata(JsonField<ParticipantAddParams.Metadata> metadata)
Sets Builder.metadata to an arbitrary JSON value.
You should usually call Builder.metadata with a well-typed Metadata value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
referralStatus
final ParticipantAddParams.Builder referralStatus(ParticipantAddParams.ReferralStatus referralStatus)
-
referralStatus
final ParticipantAddParams.Builder referralStatus(JsonField<ParticipantAddParams.ReferralStatus> referralStatus)
Sets Builder.referralStatus to an arbitrary JSON value.
You should usually call Builder.referralStatus with a well-typed ReferralStatus value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
referredBy
final ParticipantAddParams.Builder referredBy(String referredBy)
Referrer participant ID or email address.
-
referredBy
final ParticipantAddParams.Builder referredBy(JsonField<String> referredBy)
Sets Builder.referredBy to an arbitrary JSON value.
You should usually call Builder.referredBy with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalBodyProperties
final ParticipantAddParams.Builder additionalBodyProperties(Map<String, JsonValue> additionalBodyProperties)
-
putAdditionalBodyProperty
final ParticipantAddParams.Builder putAdditionalBodyProperty(String key, JsonValue value)
-
putAllAdditionalBodyProperties
final ParticipantAddParams.Builder putAllAdditionalBodyProperties(Map<String, JsonValue> additionalBodyProperties)
-
removeAdditionalBodyProperty
final ParticipantAddParams.Builder removeAdditionalBodyProperty(String key)
-
removeAllAdditionalBodyProperties
final ParticipantAddParams.Builder removeAllAdditionalBodyProperties(Set<String> keys)
-
additionalHeaders
final ParticipantAddParams.Builder additionalHeaders(Headers additionalHeaders)
-
additionalHeaders
final ParticipantAddParams.Builder additionalHeaders(Map<String, Iterable<String>> additionalHeaders)
-
putAdditionalHeader
final ParticipantAddParams.Builder putAdditionalHeader(String name, String value)
-
putAdditionalHeaders
final ParticipantAddParams.Builder putAdditionalHeaders(String name, Iterable<String> values)
-
putAllAdditionalHeaders
final ParticipantAddParams.Builder putAllAdditionalHeaders(Headers additionalHeaders)
-
putAllAdditionalHeaders
final ParticipantAddParams.Builder putAllAdditionalHeaders(Map<String, Iterable<String>> additionalHeaders)
-
replaceAdditionalHeaders
final ParticipantAddParams.Builder replaceAdditionalHeaders(String name, String value)
-
replaceAdditionalHeaders
final ParticipantAddParams.Builder replaceAdditionalHeaders(String name, Iterable<String> values)
-
replaceAllAdditionalHeaders
final ParticipantAddParams.Builder replaceAllAdditionalHeaders(Headers additionalHeaders)
-
replaceAllAdditionalHeaders
final ParticipantAddParams.Builder replaceAllAdditionalHeaders(Map<String, Iterable<String>> additionalHeaders)
-
removeAdditionalHeaders
final ParticipantAddParams.Builder removeAdditionalHeaders(String name)
-
removeAllAdditionalHeaders
final ParticipantAddParams.Builder removeAllAdditionalHeaders(Set<String> names)
-
additionalQueryParams
final ParticipantAddParams.Builder additionalQueryParams(QueryParams additionalQueryParams)
-
additionalQueryParams
final ParticipantAddParams.Builder additionalQueryParams(Map<String, Iterable<String>> additionalQueryParams)
-
putAdditionalQueryParam
final ParticipantAddParams.Builder putAdditionalQueryParam(String key, String value)
-
putAdditionalQueryParams
final ParticipantAddParams.Builder putAdditionalQueryParams(String key, Iterable<String> values)
-
putAllAdditionalQueryParams
final ParticipantAddParams.Builder putAllAdditionalQueryParams(QueryParams additionalQueryParams)
-
putAllAdditionalQueryParams
final ParticipantAddParams.Builder putAllAdditionalQueryParams(Map<String, Iterable<String>> additionalQueryParams)
-
replaceAdditionalQueryParams
final ParticipantAddParams.Builder replaceAdditionalQueryParams(String key, String value)
-
replaceAdditionalQueryParams
final ParticipantAddParams.Builder replaceAdditionalQueryParams(String key, Iterable<String> values)
-
replaceAllAdditionalQueryParams
final ParticipantAddParams.Builder replaceAllAdditionalQueryParams(QueryParams additionalQueryParams)
-
replaceAllAdditionalQueryParams
final ParticipantAddParams.Builder replaceAllAdditionalQueryParams(Map<String, Iterable<String>> additionalQueryParams)
-
removeAdditionalQueryParams
final ParticipantAddParams.Builder removeAdditionalQueryParams(String key)
-
removeAllAdditionalQueryParams
final ParticipantAddParams.Builder removeAllAdditionalQueryParams(Set<String> keys)
-
build
final ParticipantAddParams build()
Returns an immutable instance of ParticipantAddParams.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.email()
-
-
-
-