Package software.xdev.brevo.model
Class Task
java.lang.Object
software.xdev.brevo.model.Task
Task Details
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCompaniesIdsItem(String companiesIdsItem) addContactsIdsItem(Integer contactsIdsItem) addDealsIdsItem(String dealsIdsItem) companiesIds(List<String> companiesIds) contactsIds(List<Integer> contactsIds) booleanCompanies ids for companies a task is linked toContact ids for contacts linked to this taskDeal ids for deals a task is linked togetId()Unique task idgetName()Name of taskId for type of task e.g Call / Email / Meeting etc.inthashCode()voidsetCompaniesIds(List<String> companiesIds) voidsetContactsIds(List<Integer> contactsIds) voidsetDealsIds(List<String> dealsIds) voidvoidvoidsetTaskTypeId(String taskTypeId) taskTypeId(String taskTypeId) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_TASK_TYPE_ID
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_CONTACTS_IDS
- See Also:
-
JSON_PROPERTY_DEALS_IDS
- See Also:
-
JSON_PROPERTY_COMPANIES_IDS
- See Also:
-
-
Constructor Details
-
Task
public Task()
-
-
Method Details
-
id
-
getId
Unique task id- Returns:
- id
-
setId
-
taskTypeId
-
getTaskTypeId
Id for type of task e.g Call / Email / Meeting etc.- Returns:
- taskTypeId
-
setTaskTypeId
-
name
-
getName
Name of task- Returns:
- name
-
setName
-
contactsIds
-
addContactsIdsItem
-
getContactsIds
Contact ids for contacts linked to this task- Returns:
- contactsIds
-
setContactsIds
-
dealsIds
-
addDealsIdsItem
-
getDealsIds
Deal ids for deals a task is linked to- Returns:
- dealsIds
-
setDealsIds
-
companiesIds
-
addCompaniesIdsItem
-
getCompaniesIds
Companies ids for companies a task is linked to- Returns:
- companiesIds
-
setCompaniesIds
-
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
-