Package software.xdev.brevo.model
Class SendSmtpEmailAttachmentInner
java.lang.Object
software.xdev.brevo.model.SendSmtpEmailAttachmentInner
SendSmtpEmailAttachmentInner
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontent(byte[] content) booleanbyte[]Base64 encoded chunk data of the attachment generated on the flygetName()**Required if content is passed**.getUrl()Absolute url of the attachment (**no local file**).inthashCode()voidsetContent(byte[] content) voidvoidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_URL
- See Also:
-
JSON_PROPERTY_CONTENT
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
-
Constructor Details
-
SendSmtpEmailAttachmentInner
public SendSmtpEmailAttachmentInner()
-
-
Method Details
-
url
-
getUrl
Absolute url of the attachment (**no local file**).- Returns:
- url
-
setUrl
-
content
-
getContent
@Nullable public byte[] getContent()Base64 encoded chunk data of the attachment generated on the fly- Returns:
- content
-
setContent
public void setContent(@Nullable byte[] content) -
name
-
getName
**Required if content is passed**. Name of the attachment- Returns:
- name
-
setName
-
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
-