Package software.xdev.brevo.model
Class ExportWebhooksHistory
java.lang.Object
software.xdev.brevo.model.ExportWebhooksHistory
ExportWebhooksHistory
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumFilter the history for a specific event typestatic enumFilter the history based on webhook type -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetDays()Number of days in the past including today (positive integer).getEmail()Filter the history for a specific emailMandatory if startDate is used.getEvent()Filter the history for a specific event typeFilter the history for a specific message id.Webhook URL to receive CSV file linkgetSort()Sorting order of records (asc or desc)Mandatory if endDate is used.getType()Filter the history based on webhook typeFilter the history for a specific webhook idinthashCode()voidvoidvoidsetEndDate(String endDate) voidvoidsetMessageId(Integer messageId) voidsetNotifyURL(String notifyURL) voidvoidsetStartDate(String startDate) voidvoidsetWebhookId(Integer webhookId) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_DAYS
- See Also:
-
JSON_PROPERTY_START_DATE
- See Also:
-
JSON_PROPERTY_END_DATE
- See Also:
-
JSON_PROPERTY_SORT
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_EVENT
- See Also:
-
JSON_PROPERTY_NOTIFY_U_R_L
- See Also:
-
JSON_PROPERTY_WEBHOOK_ID
- See Also:
-
JSON_PROPERTY_EMAIL
- See Also:
-
JSON_PROPERTY_MESSAGE_ID
- See Also:
-
-
Constructor Details
-
ExportWebhooksHistory
public ExportWebhooksHistory()
-
-
Method Details
-
days
-
getDays
Number of days in the past including today (positive integer). _Not compatible with 'startDate' and 'endDate'_- Returns:
- days
-
setDays
-
startDate
-
getStartDate
Mandatory if endDate is used. Starting date of the history (YYYY-MM-DD). Must be lower than equal to endDate- Returns:
- startDate
-
setStartDate
-
endDate
-
getEndDate
Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate- Returns:
- endDate
-
setEndDate
-
sort
-
getSort
Sorting order of records (asc or desc)- Returns:
- sort
-
setSort
-
type
-
getType
Filter the history based on webhook type- Returns:
- type
-
setType
-
event
-
getEvent
Filter the history for a specific event type- Returns:
- event
-
setEvent
-
notifyURL
-
getNotifyURL
Webhook URL to receive CSV file link- Returns:
- notifyURL
-
setNotifyURL
-
webhookId
-
getWebhookId
Filter the history for a specific webhook id- Returns:
- webhookId
-
setWebhookId
-
email
-
getEmail
Filter the history for a specific email- Returns:
-
setEmail
-
messageId
-
getMessageId
Filter the history for a specific message id. Applicable only for transactional webhooks.- Returns:
- messageId
-
setMessageId
-
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
-