class Cryap::API::Entities::Notification

Overview

TODO Fully implement https://docs.joinmastodon.org/entities/Notification

Included Modules

Defined in:

modules/api/entities/notification.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(notification : Cryap::Database::Models::Notification, account : Cryap::Database::Models::Account | Nil = nil) #

Instance Method Detail


def created_at : Time #

def id : String #

def status : Cryap::API::Entities::Status | Nil #

def type : String #