Package software.xdev.brevo.model
Class GetEmailEventReportEventsInner
java.lang.Object
software.xdev.brevo.model.GetEmailEventReportEventsInner
GetEmailEventReportEventsInner
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEvent which occurred -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetDate()UTC date-time on which the event has been generatedgetEmail()Email address which generates the eventgetEvent()Event which occurredgetFrom()Sender email from which the emails are sentgetIp()IP from which the user has opened the email or clicked on the link (only available if the event is opened or clicks)getLink()The link which is sent to the user (only available if the event is requests or opened or clicks)Message ID which generated the eventReason of bounce (only available if the event is hardbounce or softbounce)Subject of the eventgetTag()Tag of the email which generated the eventID of the template (only available if the email is template based)inthashCode()voidvoidvoidvoidvoidvoidvoidsetMessageId(String messageId) voidvoidsetSubject(String subject) voidvoidsetTemplateId(Long templateId) templateId(Long templateId) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_EMAIL
- See Also:
-
JSON_PROPERTY_DATE
- See Also:
-
JSON_PROPERTY_SUBJECT
- See Also:
-
JSON_PROPERTY_MESSAGE_ID
- See Also:
-
JSON_PROPERTY_EVENT
- See Also:
-
JSON_PROPERTY_REASON
- See Also:
-
JSON_PROPERTY_TAG
- See Also:
-
JSON_PROPERTY_IP
- See Also:
-
JSON_PROPERTY_LINK
- See Also:
-
JSON_PROPERTY_FROM
- See Also:
-
JSON_PROPERTY_TEMPLATE_ID
- See Also:
-
-
Constructor Details
-
GetEmailEventReportEventsInner
public GetEmailEventReportEventsInner()
-
-
Method Details
-
email
-
getEmail
Email address which generates the event- Returns:
-
setEmail
-
date
-
getDate
UTC date-time on which the event has been generated- Returns:
- date
-
setDate
-
subject
-
getSubject
Subject of the event- Returns:
- subject
-
setSubject
-
messageId
-
getMessageId
Message ID which generated the event- Returns:
- messageId
-
setMessageId
-
event
public GetEmailEventReportEventsInner event(@Nonnull GetEmailEventReportEventsInner.EventEnum event) -
getEvent
Event which occurred- Returns:
- event
-
setEvent
-
reason
-
getReason
Reason of bounce (only available if the event is hardbounce or softbounce)- Returns:
- reason
-
setReason
-
tag
-
getTag
Tag of the email which generated the event- Returns:
- tag
-
setTag
-
ip
-
getIp
IP from which the user has opened the email or clicked on the link (only available if the event is opened or clicks)- Returns:
- ip
-
setIp
-
link
-
getLink
The link which is sent to the user (only available if the event is requests or opened or clicks)- Returns:
- link
-
setLink
-
from
-
getFrom
Sender email from which the emails are sent- Returns:
- from
-
setFrom
-
templateId
-
getTemplateId
ID of the template (only available if the email is template based)- Returns:
- templateId
-
setTemplateId
-
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
-