Package software.xdev.brevo.model
Class CrmTasksPostRequest
java.lang.Object
software.xdev.brevo.model.CrmTasksPostRequest
CrmTasksPostRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCompaniesIdsItem(String companiesIdsItem) addContactsIdsItem(Integer contactsIdsItem) addDealsIdsItem(String dealsIdsItem) assignToId(String assignToId) companiesIds(List<String> companiesIds) contactsIds(List<Integer> contactsIds) date(OffsetDateTime date) booleanTo assign a task to a user you can use either the account email or ID.Companies ids for companies a task is linked toContact ids for contacts linked to this taskgetDate()Task due date and timeDeal ids for deals a task is linked togetDone()Task marked as doneDuration of task in milliseconds [1 minute = 60000 ms] minimum: 0getName()Name of taskgetNotes()Notes added to a taskGet reminderId for type of task e.g Call / Email / Meeting etc.inthashCode()reminder(TaskReminder reminder) voidsetAssignToId(String assignToId) voidsetCompaniesIds(List<String> companiesIds) voidsetContactsIds(List<Integer> contactsIds) voidsetDate(OffsetDateTime date) voidsetDealsIds(List<String> dealsIds) voidvoidsetDuration(Long duration) voidvoidvoidsetReminder(TaskReminder reminder) voidsetTaskTypeId(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_NAME
- See Also:
-
JSON_PROPERTY_DURATION
- See Also:
-
JSON_PROPERTY_TASK_TYPE_ID
- See Also:
-
JSON_PROPERTY_DATE
- See Also:
-
JSON_PROPERTY_NOTES
- See Also:
-
JSON_PROPERTY_DONE
- See Also:
-
JSON_PROPERTY_ASSIGN_TO_ID
- See Also:
-
JSON_PROPERTY_CONTACTS_IDS
- See Also:
-
JSON_PROPERTY_DEALS_IDS
- See Also:
-
JSON_PROPERTY_COMPANIES_IDS
- See Also:
-
JSON_PROPERTY_REMINDER
- See Also:
-
-
Constructor Details
-
CrmTasksPostRequest
public CrmTasksPostRequest()
-
-
Method Details
-
name
-
getName
Name of task- Returns:
- name
-
setName
-
duration
-
getDuration
Duration of task in milliseconds [1 minute = 60000 ms] minimum: 0- Returns:
- duration
-
setDuration
-
taskTypeId
-
getTaskTypeId
Id for type of task e.g Call / Email / Meeting etc.- Returns:
- taskTypeId
-
setTaskTypeId
-
date
-
getDate
Task due date and time- Returns:
- date
-
setDate
-
notes
-
getNotes
Notes added to a task- Returns:
- notes
-
setNotes
-
done
-
getDone
Task marked as done- Returns:
- done
-
setDone
-
assignToId
-
getAssignToId
To assign a task to a user you can use either the account email or ID.- Returns:
- assignToId
-
setAssignToId
-
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
-
reminder
-
getReminder
Get reminder- Returns:
- reminder
-
setReminder
-
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
-