public class CreateLikeParameter extends Object
Constructor and Description |
---|
CreateLikeParameter()
Default Constuctor necessary for json parsing
|
CreateLikeParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap,
Long noteId)
This constructor parses all incoming parameter of a request into the class structure
|
CreateLikeParameter(String representation,
Long noteId) |
Modifier and Type | Method and Description |
---|---|
Boolean |
getLike()
Returns the Like.
|
Long |
getLikeId()
Returns the LikeId.
|
Long |
getNoteId()
Returns the NoteId.
|
void |
handleUnknownProperties(String key,
Object value)
Log unknown properties to loglevel warn.
|
void |
setLike(Boolean like)
Sets Like.
|
void |
setLikeId(Long likeId)
Sets LikeId.
|
void |
setNoteId(Long noteId)
Sets NoteId.
|
public CreateLikeParameter()
public CreateLikeParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap, Long noteId) throws RestApiIllegalRequestParameterException
public CreateLikeParameter(String representation, Long noteId) throws org.codehaus.jackson.JsonParseException, org.codehaus.jackson.map.JsonMappingException, IOException
org.codehaus.jackson.JsonParseException
org.codehaus.jackson.map.JsonMappingException
IOException
public void setLikeId(Long likeId)
likeId
- public Long getLikeId()
public void setNoteId(Long noteId)
noteId
- public Long getNoteId()
public void setLike(Boolean like)
like
- public Boolean getLike()
Copyright © 2019 Communote team. All rights reserved.