Class Email
java.lang.Object
co.elastic.clients.elasticsearch.watcher.Email
- All Implemented Interfaces:
JsonpSerializable
- Direct Known Subclasses:
EmailAction
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<Email>
Json deserializer forEmail
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal Map<String,
EmailAttachment> API name:attachments
bcc()
API name:bcc
final EmailBody
body()
API name:body
cc()
API name:cc
static Email
final String
from()
API name:from
final String
id()
API name:id
final EmailPriority
priority()
API name:priority
replyTo()
API name:reply_to
final DateTime
sentDate()
API name:sent_date
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static <BuilderT extends Email.AbstractBuilder<BuilderT>>
voidsetupEmailDeserializer
(ObjectDeserializer<BuilderT> op) final String
subject()
Required - API name:subject
to()
Required - API name:to
toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forEmail
-
-
Constructor Details
-
Email
-
-
Method Details
-
emailOf
-
id
API name:id
-
bcc
API name:bcc
-
body
API name:body
-
cc
API name:cc
-
from
API name:from
-
priority
API name:priority
-
replyTo
API name:reply_to
-
sentDate
API name:sent_date
-
subject
Required - API name:subject
-
to
Required - API name:to
-
attachments
API name:attachments
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupEmailDeserializer
protected static <BuilderT extends Email.AbstractBuilder<BuilderT>> void setupEmailDeserializer(ObjectDeserializer<BuilderT> op)
-