public class AttachmentBase extends Object
Constructor and Description |
---|
AttachmentBase() |
AttachmentBase(String base64Data,
String contentId,
ContentType contentType,
Map<String,String> headers)
Initializes a new instance of the AttachmentBase
|
Modifier and Type | Method and Description |
---|---|
AttachmentBase |
base64Data(String base64Data) |
AttachmentBase |
contentId(String contentId) |
AttachmentBase |
contentType(ContentType contentType) |
boolean |
equals(Object o) |
String |
getBase64Data()
Attachment file content as Base64 string.
|
String |
getContentId()
Attachment content id
|
ContentType |
getContentType()
Content type
|
Map<String,String> |
getHeaders()
Attachment headers.
|
int |
hashCode() |
AttachmentBase |
headers(Map<String,String> headers) |
AttachmentBase |
putHeadersItem(String key,
String headersItem) |
void |
setBase64Data(String base64Data) |
void |
setContentId(String contentId) |
void |
setContentType(ContentType contentType) |
void |
setHeaders(Map<String,String> headers) |
String |
toString() |
public AttachmentBase()
public AttachmentBase(String base64Data, String contentId, ContentType contentType, Map<String,String> headers)
base64Data
- Attachment file content as Base64 string.contentId
- Attachment content idcontentType
- Content typeheaders
- Attachment headers.public AttachmentBase base64Data(String base64Data)
public String getBase64Data()
public void setBase64Data(String base64Data)
public AttachmentBase contentId(String contentId)
public String getContentId()
public void setContentId(String contentId)
public AttachmentBase contentType(ContentType contentType)
public ContentType getContentType()
public void setContentType(ContentType contentType)
public AttachmentBase headers(Map<String,String> headers)
public AttachmentBase putHeadersItem(String key, String headersItem)
Copyright © 2020. All rights reserved.