Package software.xdev.brevo.model
Class CrmDealsIdPatchRequest
java.lang.Object
software.xdev.brevo.model.CrmDealsIdPatchRequest
CrmDealsIdPatchRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddLinkedCompaniesIdsItem(String linkedCompaniesIdsItem) addLinkedContactIdsItem(Long linkedContactIdsItem) attributes(Object attributes) booleanAttributes for deal update To assign owner of a Deal you can send attributes.deal_owner and utilize the account email or ID.Warning - Using PATCH on linkedCompaniesIds replaces the list of linked contacts.Warning - Using PATCH on linkedContactIds replaces the list of linked contacts.getName()Name of dealinthashCode()linkedCompaniesIds(List<String> linkedCompaniesIds) linkedContactIds(List<Long> linkedContactIds) voidsetAttributes(Object attributes) voidsetLinkedCompaniesIds(List<String> linkedCompaniesIds) voidsetLinkedContactIds(List<Long> linkedContactIds) voidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_LINKED_CONTACT_IDS
- See Also:
-
JSON_PROPERTY_LINKED_COMPANIES_IDS
- See Also:
-
-
Constructor Details
-
CrmDealsIdPatchRequest
public CrmDealsIdPatchRequest()
-
-
Method Details
-
name
-
getName
Name of deal- Returns:
- name
-
setName
-
attributes
-
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
-
linkedContactIds
-
addLinkedContactIdsItem
-
getLinkedContactIds
Warning - Using PATCH on linkedContactIds replaces the list of linked contacts. Omitted IDs will be removed.- Returns:
- linkedContactIds
-
setLinkedContactIds
-
linkedCompaniesIds
-
addLinkedCompaniesIdsItem
-
getLinkedCompaniesIds
Warning - Using PATCH on linkedCompaniesIds replaces the list of linked contacts. Omitted IDs will be removed.- Returns:
- linkedCompaniesIds
-
setLinkedCompaniesIds
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-