struct Srcom::Notification
- Srcom::Notification
- Struct
- Value
- Object
Overview
Has shorthand methods to getting the resources that the Link
s in #links
point to.
Included Modules
- JSON::Serializable
Defined in:
srcr/mappings/notification/notification.crConstructors
Instance Method Summary
- #created : Time
- #created=(created : Time)
-
#game : Game?
Returns the
Game
thisNotification
links to, if it links aGame
. - #id : String
- #id=(id : String)
- #item : Notification::Item
- #item=(item : Notification::Item)
- #links : Array(Link)?
- #links=(links : Array(Link)?)
-
#read?
Returns whether this
Notification
has already been read. -
#run : Run?
Returns the
Run
thisNotification
links to, if it links aRun
. - #status : String
- #status=(status : String)
- #text : String
- #text=(text : String)