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