public class CreateAttachmentParameter extends Object
| Constructor and Description |
|---|
CreateAttachmentParameter()
Default Constuctor necessary for json parsing
|
CreateAttachmentParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap)
This constructor parses all incoming parameter of a request into the class structure
|
CreateAttachmentParameter(String representation) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttachmentUploadSessionId()
Returns the AttachmentUploadSessionId.
|
String |
getFileName()
Returns the FileName.
|
String |
getFileType()
Returns the FileType.
|
Boolean |
getIsBase64()
Returns the IsBase64.
|
void |
handleUnknownProperties(String key,
Object value)
Log unknown properties to loglevel warn.
|
void |
setAttachmentUploadSessionId(String attachmentUploadSessionId)
Sets AttachmentUploadSessionId.
|
void |
setFileName(String fileName)
Sets FileName.
|
void |
setFileType(String fileType)
Sets FileType.
|
void |
setIsBase64(Boolean isBase64)
Sets IsBase64.
|
public CreateAttachmentParameter()
public CreateAttachmentParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap) throws RestApiIllegalRequestParameterException
public CreateAttachmentParameter(String representation) throws org.codehaus.jackson.JsonParseException, org.codehaus.jackson.map.JsonMappingException, IOException
org.codehaus.jackson.JsonParseExceptionorg.codehaus.jackson.map.JsonMappingExceptionIOExceptionpublic void setFileName(String fileName)
fileName - public String getFileName()
public void setFileType(String fileType)
fileType - public String getFileType()
public void setAttachmentUploadSessionId(String attachmentUploadSessionId)
attachmentUploadSessionId - public String getAttachmentUploadSessionId()
public void setIsBase64(Boolean isBase64)
isBase64 - public Boolean getIsBase64()
Copyright © 2019 Communote team. All rights reserved.