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 |
getFileType()
Returns the FileType.
|
void |
handleUnknownProperties(String key,
Object value)
Log unknown properties to loglevel warn.
|
void |
setAttachmentUploadSessionId(String attachmentUploadSessionId)
Sets AttachmentUploadSessionId.
|
void |
setFileType(String fileType)
Sets FileType.
|
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.JsonParseException
org.codehaus.jackson.map.JsonMappingException
IOException
public void setFileType(String fileType)
fileType
- public String getFileType()
public void setAttachmentUploadSessionId(String attachmentUploadSessionId)
attachmentUploadSessionId
- public String getAttachmentUploadSessionId()
Copyright © 2019 Communote team. All rights reserved.