Class PartyCreateParams.Body.Builder
-
- All Implemented Interfaces:
public final class PartyCreateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
name
final PartyCreateParams.Body.Builder name(String name)
-
name
final PartyCreateParams.Body.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addresses
final PartyCreateParams.Body.Builder addresses(List<PartyCreateParams.Address> addresses)
-
addresses
final PartyCreateParams.Body.Builder addresses(JsonField<List<PartyCreateParams.Address>> addresses)
Sets Builder.addresses to an arbitrary JSON value.
You should usually call Builder.addresses with a well-typed
List<Address>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addAddress
final PartyCreateParams.Body.Builder addAddress(PartyCreateParams.Address address)
-
customFields
final PartyCreateParams.Body.Builder customFields(PartyCreateParams.CustomFields customFields)
-
customFields
final PartyCreateParams.Body.Builder customFields(Optional<PartyCreateParams.CustomFields> customFields)
Alias for calling Builder.customFields with
customFields.orElse(null).
-
customFields
final PartyCreateParams.Body.Builder customFields(JsonField<PartyCreateParams.CustomFields> customFields)
Sets Builder.customFields to an arbitrary JSON value.
You should usually call Builder.customFields with a well-typed CustomFields value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
email
final PartyCreateParams.Body.Builder email(String email)
-
email
final PartyCreateParams.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.
-
metadata
final PartyCreateParams.Body.Builder metadata(PartyCreateParams.Metadata metadata)
-
metadata
final PartyCreateParams.Body.Builder metadata(JsonField<PartyCreateParams.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.
-
notes
final PartyCreateParams.Body.Builder notes(String notes)
-
notes
final PartyCreateParams.Body.Builder notes(Optional<String> notes)
Alias for calling Builder.notes with
notes.orElse(null).
-
notes
final PartyCreateParams.Body.Builder notes(JsonField<String> notes)
Sets Builder.notes to an arbitrary JSON value.
You should usually call Builder.notes with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
phone
final PartyCreateParams.Body.Builder phone(String phone)
-
phone
final PartyCreateParams.Body.Builder phone(JsonField<String> phone)
Sets Builder.phone to an arbitrary JSON value.
You should usually call Builder.phone with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final PartyCreateParams.Body.Builder type(PartyCreateParams.Type type)
-
type
final PartyCreateParams.Body.Builder type(JsonField<PartyCreateParams.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final PartyCreateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final PartyCreateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final PartyCreateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final PartyCreateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final PartyCreateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final PartyCreateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.name()
-
-
-
-