public class Message extends Object
| Constructor and Description |
|---|
Message(org.json.JSONObject json) |
Message(long id,
long userId,
String to,
String operator,
String from,
String text,
String status,
String statusDetail,
BigDecimal credits,
Date createdAt,
Date sentAt) |
| Modifier and Type | Method and Description |
|---|---|
Date |
getCreatedAt() |
BigDecimal |
getCredits() |
String |
getFrom() |
long |
getId() |
String |
getOperator() |
Date |
getSentAt() |
String |
getStatus() |
String |
getStatusDetail() |
String |
getText() |
String |
getTo() |
long |
getUserId() |
String |
toString() |
public Message(org.json.JSONObject json)
throws org.json.JSONException,
ParseException
org.json.JSONExceptionParseExceptionpublic long getId()
public long getUserId()
public String getTo()
public String getOperator()
public String getText()
public String getStatus()
public String getStatusDetail()
public BigDecimal getCredits()
public String getFrom()
public Date getCreatedAt()
public Date getSentAt()
Copyright © 2016. All rights reserved.