Class Report

java.lang.Object
me.memerator.api.object.Report

public class Report
extends Object
A report on Memerator
  • 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

      public ReportStatus getStatus()
      The status of the report.
      Returns:
      the status
    • getAssociatedMemeId

      public String getAssociatedMemeId()
      Returns:
      the ID of the meme being reported.
    • getReason

      public String getReason()
      Returns:
      the reason for the report.
    • getDescription

      public String getDescription()
      Returns:
      more detailed explanation
    • getAssignee

      public User getAssignee()
      Returns:
      the staff member assigned to this report, if one is assigned
    • getStaffComment

      public String 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()