public class CreateFavoriteParameter extends Object
Constructor and Description |
---|
CreateFavoriteParameter()
Default Constuctor necessary for json parsing
|
CreateFavoriteParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap,
Long noteId)
This constructor parses all incoming parameter of a request into the class structure
|
CreateFavoriteParameter(String representation,
Long noteId) |
Modifier and Type | Method and Description |
---|---|
Boolean |
getFavorite()
Returns the Favorite.
|
Long |
getFavoriteId()
Returns the FavoriteId.
|
Long |
getNoteId()
Returns the NoteId.
|
void |
handleUnknownProperties(String key,
Object value)
Log unknown properties to loglevel warn.
|
void |
setFavorite(Boolean favorite)
Sets Favorite.
|
void |
setFavoriteId(Long favoriteId)
Sets FavoriteId.
|
void |
setNoteId(Long noteId)
Sets NoteId.
|
public CreateFavoriteParameter()
public CreateFavoriteParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap, Long noteId) throws RestApiIllegalRequestParameterException
public CreateFavoriteParameter(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 setFavoriteId(Long favoriteId)
favoriteId
- public Long getFavoriteId()
public void setNoteId(Long noteId)
noteId
- public Long getNoteId()
public void setFavorite(Boolean favorite)
favorite
- public Boolean getFavorite()
Copyright © 2019 Communote team. All rights reserved.