Package me.memerator.api.object
Class Report
java.lang.Object
me.memerator.api.object.Report
public class Report extends Object
A report on Memerator
-
Constructor Summary
Constructors Constructor Description Report(org.json.JSONObject items) -
Method Summary
Modifier and Type Method Description UsergetAssignee()StringgetAssociatedMemeId()StringgetDescription()StringgetReason()intgetReportId()StringgetStaffComment()ReportStatusgetStatus()The status of the report.intgetStatusCode()Deprecated.booleanisAssigned()Deprecated.booleanisClosed()Deprecated.booleanisOpen()Deprecated.
-
Constructor Details
-
Report
public Report(org.json.JSONObject items)
-
-
Method Details
-
getReportId
public int getReportId()- Returns:
- the report ID.
-
getStatusCode
public int getStatusCode()Deprecated.The status of the meme. Used to see where the report is. Status 0 means it's open and unclaimed Status 1 means it's claimed, but not settled. Status 2 means it's resolved.- Returns:
- the status.
- See Also:
getStatus()
-
getStatus
The status of the report.- Returns:
- the status
-
getAssociatedMemeId
- Returns:
- the ID of the meme being reported.
-
getReason
- Returns:
- the reason for the report.
-
getDescription
- Returns:
- more detailed explanation
-
getAssignee
- Returns:
- the staff member assigned to this report, if one is assigned
-
getStaffComment
- Returns:
- the staff member's comment, if they responded.
-
isOpen
public boolean isOpen()Deprecated.- Returns:
- if the report is open
- See Also:
getStatus()
-
isAssigned
public boolean isAssigned()Deprecated.- Returns:
- if the report is assigned to someone
- See Also:
getStatus()
-
isClosed
public boolean isClosed()Deprecated.- Returns:
- if the report is closed
- See Also:
getStatus()
-