class Event

Included Modules

Defined in:

models/event.cr:1
models/event.cr:3

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

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

Class Method Detail

def self.adapter : Granite::Adapter::Base #

Instance Method Detail

def created_at : Time | Nil #

def created_at! : Time #

def created_at=(created_at : Time | Nil) #

def day : Day | Nil #

[View source]
def day! : Day #

[View source]
def day=(parent : Day) #

[View source]
def day_id : Int64 | Nil #

def day_id! : Int64 #

def day_id=(day_id : Int64 | Nil) #

def description : String | Nil #

[View source]
def description! : String #

[View source]
def description=(description : String | Nil) #

[View source]
def end_at : Time | Nil #

[View source]
def end_at! : Time #

[View source]
def end_at=(end_at : Time | Nil) #

[View source]
def id : Int64 | Nil #

[View source]
def id! : Int64 #

[View source]
def id=(id : Int64 | Nil) #

[View source]
def note : Note | Nil #

[View source]
def note! : Note #

[View source]
def note=(parent : Note) #

[View source]
def note_id : Int64 | Nil #

def note_id! : Int64 #

def note_id=(note_id : Int64 | Nil) #

def start_at : Time #

[View source]
def start_at=(start_at : Time) #

[View source]
def title : String #

[View source]
def title=(title : String) #

[View source]
def to_s #
Description copied from class Object

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.


[View source]
def updated_at : Time | Nil #

def updated_at! : Time #

def updated_at=(updated_at : Time | Nil) #

def user : User | Nil #

[View source]
def user! : User #

[View source]
def user=(parent : User) #

[View source]
def user_id : Int64 | Nil #

def user_id! : Int64 #

def user_id=(user_id : Int64 | Nil) #