Class Contact.Builder

  • Enclosing class:
    Contact

    public static final class Contact.Builder
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Contact.Builder accountIds​(java.util.List<java.lang.String> accountIds)
      List of associated account IDs
      Contact.Builder accountIds​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> accountIds)
      List of associated account IDs
      Contact build()  
      Contact.Builder companyName​(java.lang.String companyName)
      The contact company name
      Contact.Builder companyName​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyName)
      The contact company name
      Contact.Builder createdAt​(java.time.OffsetDateTime createdAt)
      Timestamp when the contact was created
      Contact.Builder createdAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
      Timestamp when the contact was created
      Contact.Builder customFields​(java.util.List<CustomFields> customFields)
      Contact custom fields
      Contact.Builder customFields​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<CustomFields>> customFields)
      Contact custom fields
      Contact.Builder dealIds​(java.util.List<java.lang.String> dealIds)
      List of associated deal IDs
      Contact.Builder dealIds​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> dealIds)
      List of associated deal IDs
      Contact.Builder emails​(java.util.List<java.lang.String> emails)
      List of contact email addresses
      Contact.Builder emails​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> emails)
      List of contact email addresses
      Contact.Builder firstName​(java.lang.String firstName)
      The contact first name
      Contact.Builder firstName​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> firstName)
      The contact first name
      Contact.Builder id​(java.lang.String id)
      Unique identifier
      Contact.Builder id​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
      Unique identifier
      Contact.Builder lastName​(java.lang.String lastName)
      The contact last name
      Contact.Builder lastName​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> lastName)
      The contact last name
      Contact.Builder phoneNumbers​(java.util.List<java.lang.String> phoneNumbers)
      List of contact phone numbers
      Contact.Builder phoneNumbers​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> phoneNumbers)
      List of contact phone numbers
      Contact.Builder remoteAccountIds​(java.util.List<java.lang.String> remoteAccountIds)
      Provider's list of associated account IDs
      Contact.Builder remoteAccountIds​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> remoteAccountIds)
      Provider's list of associated account IDs
      Contact.Builder remoteDealIds​(java.util.List<java.lang.String> remoteDealIds)
      Provider's list of associated deal IDs
      Contact.Builder remoteDealIds​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> remoteDealIds)
      Provider's list of associated deal IDs
      Contact.Builder remoteId​(java.lang.String remoteId)
      Provider's unique identifier
      Contact.Builder remoteId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
      Provider's unique identifier
      Contact.Builder unifiedCustomFields​(java.util.Map<java.lang.String,​java.lang.Object> unifiedCustomFields)
      Custom Unified Fields configured in your StackOne project
      Contact.Builder unifiedCustomFields​(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.Builder updatedAt​(java.time.OffsetDateTime updatedAt)
      Timestamp when the contact was last updated
      Contact.Builder updatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
      Timestamp when the contact was last updated
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • id

        public Contact.Builder id​(java.lang.String id)
        Unique identifier
      • id

        public Contact.Builder id​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
        Unique identifier
      • remoteId

        public Contact.Builder remoteId​(java.lang.String remoteId)
        Provider's unique identifier
      • remoteId

        public Contact.Builder remoteId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
        Provider's unique identifier
      • unifiedCustomFields

        public Contact.Builder unifiedCustomFields​(java.util.Map<java.lang.String,​java.lang.Object> unifiedCustomFields)
        Custom Unified Fields configured in your StackOne project
      • unifiedCustomFields

        public Contact.Builder unifiedCustomFields​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,​java.lang.Object>> unifiedCustomFields)
        Custom Unified Fields configured in your StackOne project
      • firstName

        public Contact.Builder firstName​(java.lang.String firstName)
        The contact first name
      • firstName

        public Contact.Builder firstName​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> firstName)
        The contact first name
      • lastName

        public Contact.Builder lastName​(java.lang.String lastName)
        The contact last name
      • lastName

        public Contact.Builder lastName​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> lastName)
        The contact last name
      • companyName

        public Contact.Builder companyName​(java.lang.String companyName)
        The contact company name
      • companyName

        public Contact.Builder companyName​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyName)
        The contact company name
      • emails

        public Contact.Builder emails​(java.util.List<java.lang.String> emails)
        List of contact email addresses
      • emails

        public Contact.Builder emails​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> emails)
        List of contact email addresses
      • phoneNumbers

        public Contact.Builder phoneNumbers​(java.util.List<java.lang.String> phoneNumbers)
        List of contact phone numbers
      • phoneNumbers

        public Contact.Builder phoneNumbers​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> phoneNumbers)
        List of contact phone numbers
      • dealIds

        public Contact.Builder dealIds​(java.util.List<java.lang.String> dealIds)
        List of associated deal IDs
      • dealIds

        public Contact.Builder dealIds​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> dealIds)
        List of associated deal IDs
      • remoteDealIds

        public Contact.Builder remoteDealIds​(java.util.List<java.lang.String> remoteDealIds)
        Provider's list of associated deal IDs
      • remoteDealIds

        public Contact.Builder remoteDealIds​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> remoteDealIds)
        Provider's list of associated deal IDs
      • accountIds

        public Contact.Builder accountIds​(java.util.List<java.lang.String> accountIds)
        List of associated account IDs
      • accountIds

        public Contact.Builder accountIds​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> accountIds)
        List of associated account IDs
      • remoteAccountIds

        public Contact.Builder remoteAccountIds​(java.util.List<java.lang.String> remoteAccountIds)
        Provider's list of associated account IDs
      • remoteAccountIds

        public Contact.Builder remoteAccountIds​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> remoteAccountIds)
        Provider's list of associated account IDs
      • customFields

        public Contact.Builder customFields​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<CustomFields>> customFields)
        Contact custom fields
      • createdAt

        public Contact.Builder createdAt​(java.time.OffsetDateTime createdAt)
        Timestamp when the contact was created
      • createdAt

        public Contact.Builder createdAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
        Timestamp when the contact was created
      • updatedAt

        public Contact.Builder updatedAt​(java.time.OffsetDateTime updatedAt)
        Timestamp when the contact was last updated
      • updatedAt

        public Contact.Builder updatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
        Timestamp when the contact was last updated