Package software.xdev.mailpit.model
Class SendMessageParamsRequestAttachmentsInner
java.lang.Object
software.xdev.mailpit.model.SendMessageParamsRequestAttachmentsInner
SendMessageParamsRequestAttachmentsInner
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontentType(String contentType) booleanBase64-encoded string of the file contentOptional Content-ID (`cid`) for attachment.Optional Content Type for the the attachment.FilenameinthashCode()voidsetContent(String content) voidsetContentID(String contentID) voidsetContentType(String contentType) voidsetFilename(String filename) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_CONTENT
- See Also:
-
JSON_PROPERTY_CONTENT_I_D
- See Also:
-
JSON_PROPERTY_CONTENT_TYPE
- See Also:
-
JSON_PROPERTY_FILENAME
- See Also:
-
-
Constructor Details
-
SendMessageParamsRequestAttachmentsInner
public SendMessageParamsRequestAttachmentsInner()
-
-
Method Details
-
content
-
getContent
Base64-encoded string of the file content- Returns:
- content
-
setContent
-
contentID
-
getContentID
Optional Content-ID (`cid`) for attachment. If this field is set then the file is attached inline.- Returns:
- contentID
-
setContentID
-
contentType
-
getContentType
Optional Content Type for the the attachment. If this field is not set (or empty) then the content type is automatically detected.- Returns:
- contentType
-
setContentType
-
filename
-
getFilename
Filename- Returns:
- filename
-
setFilename
-
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
-