public class FileComment extends Object implements ModelInterface
| Modifier and Type | Field and Description |
|---|---|
String |
body
Comment body.
|
Long |
id
File Comment ID
|
String |
path
File path.
|
Object[] |
reactions
Reactions to this comment.
|
| Constructor and Description |
|---|
FileComment() |
FileComment(HashMap<String,Object> parameters) |
FileComment(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
| Modifier and Type | Method and Description |
|---|---|
static FileComment |
create(HashMap<String,Object> parameters)
Parameters:
body (required) - string - Comment body.
|
static FileComment |
create(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
void |
delete() |
static void |
delete(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static void |
delete(Long id,
HashMap<String,Object> parameters) |
static void |
delete(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static void |
destroy() |
void |
destroy(HashMap<String,Object> parameters) |
static void |
destroy(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static ListIterator<FileComment> |
listFor()
Parameters:
cursor - string - Used for pagination.
|
static ListIterator<FileComment> |
listFor(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static ListIterator<FileComment> |
listFor(String path,
HashMap<String,Object> parameters) |
static ListIterator<FileComment> |
listFor(String path,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
void |
save() |
FileComment |
update()
Parameters:
body (required) - string - Comment body.
|
static FileComment |
update(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static FileComment |
update(Long id,
HashMap<String,Object> parameters)
Parameters:
body (required) - string - Comment body.
|
static FileComment |
update(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetOptionspublic Long id
public String body
public Object[] reactions
public String path
public FileComment update() throws IOException
IOExceptionpublic void delete()
throws IOException
IOExceptionpublic void destroy(HashMap<String,Object> parameters) throws IOException
IOExceptionpublic void save()
throws IOException
IOExceptionpublic static ListIterator<FileComment> listFor() throws RuntimeException
RuntimeExceptionpublic static ListIterator<FileComment> listFor(String path, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static ListIterator<FileComment> listFor(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static ListIterator<FileComment> listFor(String path, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static FileComment create(HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static FileComment create(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static FileComment update(Long id, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static FileComment update(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static FileComment update(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static void delete(Long id, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static void delete(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static void delete(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static void destroy()
throws RuntimeException
RuntimeExceptionpublic static void destroy(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionCopyright © 2024 com.github.files-com. All rights reserved.