struct Report

Included Modules

Defined in:

routes/moderation.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(reporter : String, reportee : String, post_id : String, note : String, created_at : Time = Time.utc) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def created_at : Time #

[View source]
def id : UUID #

[View source]
def note : String #

[View source]
def post_id : String #

[View source]
def reportee : String #

[View source]
def reporter : String #

[View source]
def resolved_at : Time | Nil #

[View source]
def resolved_by : String | Nil #

[View source]
def status : Status #

[View source]