Class CrmDealsIdPatchRequest

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

public class CrmDealsIdPatchRequest extends Object
CrmDealsIdPatchRequest
  • Field Details

  • Constructor Details

    • CrmDealsIdPatchRequest

      public CrmDealsIdPatchRequest()
  • Method Details

    • name

      public CrmDealsIdPatchRequest name(@Nullable String name)
    • getName

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

      public void setName(@Nullable String name)
    • attributes

      public CrmDealsIdPatchRequest attributes(@Nullable Object attributes)
    • getAttributes

      @Nullable public Object getAttributes()
      Attributes for deal update To assign owner of a Deal you can send attributes.deal_owner and utilize the account email or ID. If you wish to update the pipeline of a deal you need to provide the `pipeline` and the `deal_stage` Pipeline and deal_stage are ids you can fetch using this endpoint `/crm/pipeline/details/{pipelineID}`
      Returns:
      attributes
    • setAttributes

      public void setAttributes(@Nullable Object attributes)
    • linkedContactIds

      public CrmDealsIdPatchRequest linkedContactIds(@Nullable List<Long> linkedContactIds)
    • addLinkedContactIdsItem

      public CrmDealsIdPatchRequest addLinkedContactIdsItem(Long linkedContactIdsItem)
    • getLinkedContactIds

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

      public void setLinkedContactIds(@Nullable List<Long> linkedContactIds)
    • linkedCompaniesIds

      public CrmDealsIdPatchRequest linkedCompaniesIds(@Nullable List<String> linkedCompaniesIds)
    • addLinkedCompaniesIdsItem

      public CrmDealsIdPatchRequest addLinkedCompaniesIdsItem(String linkedCompaniesIdsItem)
    • getLinkedCompaniesIds

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

      public void setLinkedCompaniesIds(@Nullable List<String> linkedCompaniesIds)
    • 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