Package software.xdev.brevo.model
Class CompaniesIdPatchRequest
java.lang.Object
software.xdev.brevo.model.CompaniesIdPatchRequest
CompaniesIdPatchRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddLinkedContactsIdsItem(Long linkedContactsIdsItem) addLinkedDealsIdsItem(String linkedDealsIdsItem) attributes(Object attributes) countryCode(Long countryCode) booleanAttributes for company updateCountry code if phone_number is passed in attributes.Warning - Using PATCH on linkedContactIds replaces the list of linked contacts.Warning - Using PATCH on linkedDealsIds replaces the list of linked contacts.getName()Name of companyinthashCode()linkedContactsIds(List<Long> linkedContactsIds) linkedDealsIds(List<String> linkedDealsIds) voidsetAttributes(Object attributes) voidsetCountryCode(Long countryCode) voidsetLinkedContactsIds(List<Long> linkedContactsIds) voidsetLinkedDealsIds(List<String> linkedDealsIds) 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_COUNTRY_CODE
- See Also:
-
JSON_PROPERTY_LINKED_CONTACTS_IDS
- See Also:
-
JSON_PROPERTY_LINKED_DEALS_IDS
- See Also:
-
-
Constructor Details
-
CompaniesIdPatchRequest
public CompaniesIdPatchRequest()
-
-
Method Details
-
name
-
getName
Name of company- Returns:
- name
-
setName
-
attributes
-
getAttributes
Attributes for company update- Returns:
- attributes
-
setAttributes
-
countryCode
-
getCountryCode
Country code if phone_number is passed in attributes.- Returns:
- countryCode
-
setCountryCode
-
linkedContactsIds
-
addLinkedContactsIdsItem
-
getLinkedContactsIds
Warning - Using PATCH on linkedContactIds replaces the list of linked contacts. Omitted IDs will be removed.- Returns:
- linkedContactsIds
-
setLinkedContactsIds
-
linkedDealsIds
-
addLinkedDealsIdsItem
-
getLinkedDealsIds
Warning - Using PATCH on linkedDealsIds replaces the list of linked contacts. Omitted IDs will be removed.- Returns:
- linkedDealsIds
-
setLinkedDealsIds
-
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
-