public class AlternateView extends AttachmentBase
Constructor and Description |
---|
AlternateView() |
AlternateView(String base64Data,
String contentId,
ContentType contentType,
Map<String,String> headers,
String baseUri,
List<LinkedResource> linkedResources)
Initializes a new instance of the AlternateView
|
Modifier and Type | Method and Description |
---|---|
AlternateView |
addLinkedResourcesItem(LinkedResource linkedResourcesItem)
Add an item to linkedResources and return this.
|
AlternateView |
baseUri(String baseUri)
Set baseUri and return this.
|
boolean |
equals(Object o) |
String |
getBaseUri()
Base URI.
|
List<LinkedResource> |
getLinkedResources()
Embedded resources referred to by this alternate view.
|
int |
hashCode() |
AlternateView |
linkedResources(List<LinkedResource> linkedResources)
Set linkedResources and return this.
|
void |
setBaseUri(String baseUri)
Set baseUri.
|
void |
setLinkedResources(List<LinkedResource> linkedResources)
Set linkedResources.
|
String |
toString() |
base64Data, contentId, contentType, getBase64Data, getContentId, getContentType, getHeaders, headers, putHeadersItem, setBase64Data, setContentId, setContentType, setHeaders
public AlternateView()
public AlternateView(String base64Data, String contentId, ContentType contentType, Map<String,String> headers, String baseUri, List<LinkedResource> linkedResources)
base64Data
- Attachment file content as Base64 string.contentId
- Attachment content idcontentType
- Content typeheaders
- Attachment headers.baseUri
- Base URI.linkedResources
- Embedded resources referred to by this alternate view.public AlternateView baseUri(String baseUri)
baseUri
- Base URI.public String getBaseUri()
public void setBaseUri(String baseUri)
baseUri
- Base URI.public AlternateView linkedResources(List<LinkedResource> linkedResources)
linkedResources
- Embedded resources referred to by this alternate view.public AlternateView addLinkedResourcesItem(LinkedResource linkedResourcesItem)
linkedResourcesItem
- An item of: Embedded resources referred to by this alternate view.public List<LinkedResource> getLinkedResources()
public void setLinkedResources(List<LinkedResource> linkedResources)
linkedResources
- Embedded resources referred to by this alternate view.public boolean equals(Object o)
equals
in class AttachmentBase
public int hashCode()
hashCode
in class AttachmentBase
public String toString()
toString
in class AttachmentBase
Copyright © 2020. All rights reserved.