Package software.xdev.brevo.model
Class CompaniesPostRequest
java.lang.Object
software.xdev.brevo.model.CompaniesPostRequest
CompaniesPostRequest
-
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 creationCountry code if phone_number is passed in attributes.Contact ids to be linked with companyDeal ids to be linked with companygetName()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
-
CompaniesPostRequest
public CompaniesPostRequest()
-
-
Method Details
-
name
-
getName
Name of company- Returns:
- name
-
setName
-
attributes
-
getAttributes
Attributes for company creation- Returns:
- attributes
-
setAttributes
-
countryCode
-
getCountryCode
Country code if phone_number is passed in attributes.- Returns:
- countryCode
-
setCountryCode
-
linkedContactsIds
-
addLinkedContactsIdsItem
-
getLinkedContactsIds
Contact ids to be linked with company- Returns:
- linkedContactsIds
-
setLinkedContactsIds
-
linkedDealsIds
-
addLinkedDealsIdsItem
-
getLinkedDealsIds
Deal ids to be linked with company- 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
-