public class Message extends Object implements ModelInterface
| Modifier and Type | Field and Description |
|---|---|
String |
body
Message body.
|
Object[] |
comments
Comments.
|
Long |
id
Message ID
|
Long |
projectId
Project to which the message should be attached.
|
String |
subject
Message subject.
|
Long |
userId
User ID.
|
| Constructor and Description |
|---|
Message() |
Message(HashMap<String,Object> parameters) |
Message(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
| Modifier and Type | Method and Description |
|---|---|
static ListIterator<Message> |
all() |
static ListIterator<Message> |
all(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static Message |
create(HashMap<String,Object> parameters)
Parameters:
user_id - int64 - User ID.
|
static Message |
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 Message |
find(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static Message |
find(Long id,
HashMap<String,Object> parameters)
Parameters:
id (required) - int64 - Message ID.
|
static Message |
find(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static Message |
get() |
static Message |
get(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static ListIterator<Message> |
list()
Parameters:
user_id - int64 - User ID.
|
static ListIterator<Message> |
list(HashMap<String,Object> parameters) |
static ListIterator<Message> |
list(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
void |
save() |
Message |
update()
Parameters:
project_id (required) - int64 - Project to which the message should be attached.
|
static Message |
update(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static Message |
update(Long id,
HashMap<String,Object> parameters)
Parameters:
project_id (required) - int64 - Project to which the message should be attached.
|
static Message |
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 subject
public String body
public Object[] comments
public Long userId
public Long projectId
public Message 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<Message> list() throws RuntimeException
RuntimeExceptionpublic static ListIterator<Message> list(HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static ListIterator<Message> list(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static ListIterator<Message> all() throws RuntimeException
RuntimeExceptionpublic static ListIterator<Message> all(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static Message find(Long id, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static Message find(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static Message find(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static Message get() throws RuntimeException
RuntimeExceptionpublic static Message get(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static Message create(HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static Message create(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static Message update(Long id, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static Message update(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static Message 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.