Class Contact


  • public class Contact
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Contact.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 IDs
      static Contact.Builder builder()  
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyName()
      The contact company name
      org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt()
      Timestamp when the contact was created
      org.openapitools.jackson.nullable.JsonNullable<java.util.List<CustomFields>> customFields()
      Contact custom fields
      org.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>> dealIds()
      List of associated deal IDs
      org.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>> emails()
      List of contact email addresses
      boolean equals​(java.lang.Object o)  
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> firstName()
      The contact first name
      int hashCode()  
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id()
      Unique identifier
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> lastName()
      The contact last name
      org.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>> phoneNumbers()
      List of contact phone numbers
      org.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>> remoteAccountIds()
      Provider's list of associated account IDs
      org.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>> remoteDealIds()
      Provider's list of associated deal IDs
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId()
      Provider's unique identifier
      java.lang.String toString()  
      org.openapitools.jackson.nullable.JsonNullable<java.util.Map<java.lang.String,​java.lang.Object>> unifiedCustomFields()
      Custom Unified Fields configured in your StackOne project
      org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt()
      Timestamp when the contact was last updated
      Contact withAccountIds​(java.util.List<java.lang.String> accountIds)
      List of associated account IDs
      Contact withAccountIds​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> accountIds)
      List of associated account IDs
      Contact withCompanyName​(java.lang.String companyName)
      The contact company name
      Contact withCompanyName​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyName)
      The contact company name
      Contact withCreatedAt​(java.time.OffsetDateTime createdAt)
      Timestamp when the contact was created
      Contact withCreatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
      Timestamp when the contact was created
      Contact withCustomFields​(java.util.List<CustomFields> customFields)
      Contact custom fields
      Contact withCustomFields​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<CustomFields>> customFields)
      Contact custom fields
      Contact withDealIds​(java.util.List<java.lang.String> dealIds)
      List of associated deal IDs
      Contact withDealIds​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> dealIds)
      List of associated deal IDs
      Contact withEmails​(java.util.List<java.lang.String> emails)
      List of contact email addresses
      Contact withEmails​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> emails)
      List of contact email addresses
      Contact withFirstName​(java.lang.String firstName)
      The contact first name
      Contact withFirstName​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> firstName)
      The contact first name
      Contact withId​(java.lang.String id)
      Unique identifier
      Contact withId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
      Unique identifier
      Contact withLastName​(java.lang.String lastName)
      The contact last name
      Contact withLastName​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> lastName)
      The contact last name
      Contact withPhoneNumbers​(java.util.List<java.lang.String> phoneNumbers)
      List of contact phone numbers
      Contact withPhoneNumbers​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> phoneNumbers)
      List of contact phone numbers
      Contact withRemoteAccountIds​(java.util.List<java.lang.String> remoteAccountIds)
      Provider's list of associated account IDs
      Contact withRemoteAccountIds​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> remoteAccountIds)
      Provider's list of associated account IDs
      Contact withRemoteDealIds​(java.util.List<java.lang.String> remoteDealIds)
      Provider's list of associated deal IDs
      Contact withRemoteDealIds​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> remoteDealIds)
      Provider's list of associated deal IDs
      Contact withRemoteId​(java.lang.String remoteId)
      Provider's unique identifier
      Contact withRemoteId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
      Provider's unique identifier
      Contact withUnifiedCustomFields​(java.util.Map<java.lang.String,​java.lang.Object> unifiedCustomFields)
      Custom Unified Fields configured in your StackOne project
      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
      Contact withUpdatedAt​(java.time.OffsetDateTime updatedAt)
      Timestamp when the contact was last updated
      Contact withUpdatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
      Timestamp when the contact was last updated
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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
      • 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:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object