Class CompaniesIdPatchRequest

java.lang.Object
software.xdev.brevo.model.CompaniesIdPatchRequest

public class CompaniesIdPatchRequest extends Object
CompaniesIdPatchRequest
  • Field Details

  • Constructor Details

    • CompaniesIdPatchRequest

      public CompaniesIdPatchRequest()
  • Method Details

    • name

      public CompaniesIdPatchRequest name(@Nullable String name)
    • getName

      @Nullable public String getName()
      Name of company
      Returns:
      name
    • setName

      public void setName(@Nullable String name)
    • attributes

      public CompaniesIdPatchRequest attributes(@Nullable Object attributes)
    • getAttributes

      @Nullable public Object getAttributes()
      Attributes for company update
      Returns:
      attributes
    • setAttributes

      public void setAttributes(@Nullable Object attributes)
    • countryCode

      public CompaniesIdPatchRequest countryCode(@Nullable Long countryCode)
    • getCountryCode

      @Nullable public Long getCountryCode()
      Country code if phone_number is passed in attributes.
      Returns:
      countryCode
    • setCountryCode

      public void setCountryCode(@Nullable Long countryCode)
    • linkedContactsIds

      public CompaniesIdPatchRequest linkedContactsIds(@Nullable List<Long> linkedContactsIds)
    • addLinkedContactsIdsItem

      public CompaniesIdPatchRequest addLinkedContactsIdsItem(Long linkedContactsIdsItem)
    • getLinkedContactsIds

      @Nullable public List<Long> getLinkedContactsIds()
      Warning - Using PATCH on linkedContactIds replaces the list of linked contacts. Omitted IDs will be removed.
      Returns:
      linkedContactsIds
    • setLinkedContactsIds

      public void setLinkedContactsIds(@Nullable List<Long> linkedContactsIds)
    • linkedDealsIds

      public CompaniesIdPatchRequest linkedDealsIds(@Nullable List<String> linkedDealsIds)
    • addLinkedDealsIdsItem

      public CompaniesIdPatchRequest addLinkedDealsIdsItem(String linkedDealsIdsItem)
    • getLinkedDealsIds

      @Nullable public List<String> getLinkedDealsIds()
      Warning - Using PATCH on linkedDealsIds replaces the list of linked contacts. Omitted IDs will be removed.
      Returns:
      linkedDealsIds
    • setLinkedDealsIds

      public void setLinkedDealsIds(@Nullable List<String> linkedDealsIds)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string