Class Contact
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.Contact
-
public class Contact extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContact.Builder
-
Constructor Summary
Constructors Constructor Description Contact()Contact(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,java.lang.Object>> unifiedCustomFields, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> firstName, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> lastName, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyName, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> emails, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> phoneNumbers, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> dealIds, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> remoteDealIds, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> accountIds, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> remoteAccountIds, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<CustomFields>> customFields, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>>accountIds()List of associated account IDsstatic Contact.Builderbuilder()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>companyName()The contact company nameorg.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>createdAt()Timestamp when the contact was createdorg.openapitools.jackson.nullable.JsonNullable<java.util.List<CustomFields>>customFields()Contact custom fieldsorg.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>>dealIds()List of associated deal IDsorg.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>>emails()List of contact email addressesbooleanequals(java.lang.Object o)org.openapitools.jackson.nullable.JsonNullable<java.lang.String>firstName()The contact first nameinthashCode()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>id()Unique identifierorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>lastName()The contact last nameorg.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>>phoneNumbers()List of contact phone numbersorg.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>>remoteAccountIds()Provider's list of associated account IDsorg.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>>remoteDealIds()Provider's list of associated deal IDsorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>remoteId()Provider's unique identifierjava.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<java.util.Map<java.lang.String,java.lang.Object>>unifiedCustomFields()Custom Unified Fields configured in your StackOne projectorg.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>updatedAt()Timestamp when the contact was last updatedContactwithAccountIds(java.util.List<java.lang.String> accountIds)List of associated account IDsContactwithAccountIds(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> accountIds)List of associated account IDsContactwithCompanyName(java.lang.String companyName)The contact company nameContactwithCompanyName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyName)The contact company nameContactwithCreatedAt(java.time.OffsetDateTime createdAt)Timestamp when the contact was createdContactwithCreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)Timestamp when the contact was createdContactwithCustomFields(java.util.List<CustomFields> customFields)Contact custom fieldsContactwithCustomFields(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<CustomFields>> customFields)Contact custom fieldsContactwithDealIds(java.util.List<java.lang.String> dealIds)List of associated deal IDsContactwithDealIds(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> dealIds)List of associated deal IDsContactwithEmails(java.util.List<java.lang.String> emails)List of contact email addressesContactwithEmails(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> emails)List of contact email addressesContactwithFirstName(java.lang.String firstName)The contact first nameContactwithFirstName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> firstName)The contact first nameContactwithId(java.lang.String id)Unique identifierContactwithId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierContactwithLastName(java.lang.String lastName)The contact last nameContactwithLastName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> lastName)The contact last nameContactwithPhoneNumbers(java.util.List<java.lang.String> phoneNumbers)List of contact phone numbersContactwithPhoneNumbers(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> phoneNumbers)List of contact phone numbersContactwithRemoteAccountIds(java.util.List<java.lang.String> remoteAccountIds)Provider's list of associated account IDsContactwithRemoteAccountIds(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> remoteAccountIds)Provider's list of associated account IDsContactwithRemoteDealIds(java.util.List<java.lang.String> remoteDealIds)Provider's list of associated deal IDsContactwithRemoteDealIds(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> remoteDealIds)Provider's list of associated deal IDsContactwithRemoteId(java.lang.String remoteId)Provider's unique identifierContactwithRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierContactwithUnifiedCustomFields(java.util.Map<java.lang.String,java.lang.Object> unifiedCustomFields)Custom Unified Fields configured in your StackOne projectContactwithUnifiedCustomFields(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,java.lang.Object>> unifiedCustomFields)Custom Unified Fields configured in your StackOne projectContactwithUpdatedAt(java.time.OffsetDateTime updatedAt)Timestamp when the contact was last updatedContactwithUpdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)Timestamp when the contact was last updated
-
-
-
Constructor Detail
-
Contact
public Contact(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,java.lang.Object>> unifiedCustomFields, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> firstName, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> lastName, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyName, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> emails, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> phoneNumbers, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> dealIds, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> remoteDealIds, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> accountIds, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> remoteAccountIds, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<CustomFields>> customFields, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
-
Contact
public Contact()
-
-
Method Detail
-
id
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id()
Unique identifier
-
remoteId
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId()
Provider's unique identifier
-
unifiedCustomFields
public org.openapitools.jackson.nullable.JsonNullable<java.util.Map<java.lang.String,java.lang.Object>> unifiedCustomFields()
Custom Unified Fields configured in your StackOne project
-
firstName
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> firstName()
The contact first name
-
lastName
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> lastName()
The contact last name
-
companyName
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyName()
The contact company name
-
emails
public org.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>> emails()
List of contact email addresses
-
phoneNumbers
public org.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>> phoneNumbers()
List of contact phone numbers
-
dealIds
public org.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>> dealIds()
List of associated deal IDs
-
remoteDealIds
public org.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>> remoteDealIds()
Provider's list of associated deal IDs
-
accountIds
public org.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>> accountIds()
List of associated account IDs
-
remoteAccountIds
public org.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>> remoteAccountIds()
Provider's list of associated account IDs
-
customFields
public org.openapitools.jackson.nullable.JsonNullable<java.util.List<CustomFields>> customFields()
Contact custom fields
-
createdAt
public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt()
Timestamp when the contact was created
-
updatedAt
public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt()
Timestamp when the contact was last updated
-
builder
public static Contact.Builder builder()
-
withId
public Contact withId(java.lang.String id)
Unique identifier
-
withId
public Contact withId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
withRemoteId
public Contact withRemoteId(java.lang.String remoteId)
Provider's unique identifier
-
withRemoteId
public Contact withRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
withUnifiedCustomFields
public Contact withUnifiedCustomFields(java.util.Map<java.lang.String,java.lang.Object> unifiedCustomFields)
Custom Unified Fields configured in your StackOne project
-
withUnifiedCustomFields
public Contact withUnifiedCustomFields(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,java.lang.Object>> unifiedCustomFields)
Custom Unified Fields configured in your StackOne project
-
withFirstName
public Contact withFirstName(java.lang.String firstName)
The contact first name
-
withFirstName
public Contact withFirstName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> firstName)
The contact first name
-
withLastName
public Contact withLastName(java.lang.String lastName)
The contact last name
-
withLastName
public Contact withLastName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> lastName)
The contact last name
-
withCompanyName
public Contact withCompanyName(java.lang.String companyName)
The contact company name
-
withCompanyName
public Contact withCompanyName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyName)
The contact company name
-
withEmails
public Contact withEmails(java.util.List<java.lang.String> emails)
List of contact email addresses
-
withEmails
public Contact withEmails(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> emails)
List of contact email addresses
-
withPhoneNumbers
public Contact withPhoneNumbers(java.util.List<java.lang.String> phoneNumbers)
List of contact phone numbers
-
withPhoneNumbers
public Contact withPhoneNumbers(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> phoneNumbers)
List of contact phone numbers
-
withDealIds
public Contact withDealIds(java.util.List<java.lang.String> dealIds)
List of associated deal IDs
-
withDealIds
public Contact withDealIds(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> dealIds)
List of associated deal IDs
-
withRemoteDealIds
public Contact withRemoteDealIds(java.util.List<java.lang.String> remoteDealIds)
Provider's list of associated deal IDs
-
withRemoteDealIds
public Contact withRemoteDealIds(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> remoteDealIds)
Provider's list of associated deal IDs
-
withAccountIds
public Contact withAccountIds(java.util.List<java.lang.String> accountIds)
List of associated account IDs
-
withAccountIds
public Contact withAccountIds(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> accountIds)
List of associated account IDs
-
withRemoteAccountIds
public Contact withRemoteAccountIds(java.util.List<java.lang.String> remoteAccountIds)
Provider's list of associated account IDs
-
withRemoteAccountIds
public Contact withRemoteAccountIds(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> remoteAccountIds)
Provider's list of associated account IDs
-
withCustomFields
public Contact withCustomFields(java.util.List<CustomFields> customFields)
Contact custom fields
-
withCustomFields
public Contact withCustomFields(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<CustomFields>> customFields)
Contact custom fields
-
withCreatedAt
public Contact withCreatedAt(java.time.OffsetDateTime createdAt)
Timestamp when the contact was created
-
withCreatedAt
public Contact withCreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
Timestamp when the contact was created
-
withUpdatedAt
public Contact withUpdatedAt(java.time.OffsetDateTime updatedAt)
Timestamp when the contact was last updated
-
withUpdatedAt
public Contact withUpdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
Timestamp when the contact was last updated
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-