Class PartyCreateParams.Body
-
- All Implemented Interfaces:
public final class PartyCreateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPartyCreateParams.Body.BuilderA builder for Body.
-
Method Summary
-
-
Method Detail
-
addresses
final Optional<List<PartyCreateParams.Address>> addresses()
-
customFields
final Optional<PartyCreateParams.CustomFields> customFields()
-
metadata
final Optional<PartyCreateParams.Metadata> metadata()
-
type
final Optional<PartyCreateParams.Type> type()
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_addresses
final JsonField<List<PartyCreateParams.Address>> _addresses()
Returns the raw JSON value of addresses.
Unlike addresses, this method doesn't throw if the JSON field has an unexpected type.
-
_customFields
final JsonField<PartyCreateParams.CustomFields> _customFields()
Returns the raw JSON value of customFields.
Unlike customFields, this method doesn't throw if the JSON field has an unexpected type.
-
_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.
-
_metadata
final JsonField<PartyCreateParams.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_notes
final JsonField<String> _notes()
Returns the raw JSON value of notes.
Unlike notes, this method doesn't throw if the JSON field has an unexpected type.
-
_phone
final JsonField<String> _phone()
Returns the raw JSON value of phone.
Unlike phone, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<PartyCreateParams.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final PartyCreateParams.Body.Builder toBuilder()
-
validate
final PartyCreateParams.Body 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 PartyCreateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.name()
-
-
-
-