Class ParticipantUpdateParams.Body.Builder
-
- All Implemented Interfaces:
public final class ParticipantUpdateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
email
final ParticipantUpdateParams.Body.Builder email(String email)
-
email
final ParticipantUpdateParams.Body.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.
-
firstName
final ParticipantUpdateParams.Body.Builder firstName(String firstName)
-
firstName
final ParticipantUpdateParams.Body.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.
-
lastName
final ParticipantUpdateParams.Body.Builder lastName(String lastName)
-
lastName
final ParticipantUpdateParams.Body.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 ParticipantUpdateParams.Body.Builder metadata(ParticipantUpdateParams.Metadata metadata)
Shallow custom metadata object.
-
metadata
final ParticipantUpdateParams.Body.Builder metadata(JsonField<ParticipantUpdateParams.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 ParticipantUpdateParams.Body.Builder referralStatus(ParticipantUpdateParams.ReferralStatus referralStatus)
-
referralStatus
final ParticipantUpdateParams.Body.Builder referralStatus(JsonField<ParticipantUpdateParams.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 ParticipantUpdateParams.Body.Builder referredBy(String referredBy)
-
referredBy
final ParticipantUpdateParams.Body.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.
-
unsubscribed
final ParticipantUpdateParams.Body.Builder unsubscribed(Boolean unsubscribed)
-
unsubscribed
final ParticipantUpdateParams.Body.Builder unsubscribed(JsonField<Boolean> unsubscribed)
Sets Builder.unsubscribed to an arbitrary JSON value.
You should usually call Builder.unsubscribed with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
vanityKeys
final ParticipantUpdateParams.Body.Builder vanityKeys(List<String> vanityKeys)
-
vanityKeys
final ParticipantUpdateParams.Body.Builder vanityKeys(JsonField<List<String>> vanityKeys)
Sets Builder.vanityKeys to an arbitrary JSON value.
You should usually call Builder.vanityKeys with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addVanityKey
final ParticipantUpdateParams.Body.Builder addVanityKey(String vanityKey)
Adds a single String to vanityKeys.
-
additionalProperties
final ParticipantUpdateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ParticipantUpdateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ParticipantUpdateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ParticipantUpdateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ParticipantUpdateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ParticipantUpdateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-