class EventMetadata

Included Modules

Extended Modules

Defined in:

models/event_metadata.cr:3
models/event_metadata.cr:5

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 #

def self.migrate_recurring_metadata(system_id : String, recurrance : Google::Calendar::Event, parent_metadata : EventMetadata) #

[View source]

Instance Method Detail

def attendees #

[View source]
def cleanup_attendees #

[View source]
def created_at : Time | Nil #

def created_at! : Time #

def created_at=(created_at : Time | Nil) #

def event_end : Int64 #

[View source]
def event_end=(event_end : Int64) #

[View source]
def event_id : String #

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

[View source]
def event_start : Int64 #

[View source]
def event_start=(event_start : Int64) #

[View source]
def ext_data : String | Nil #

[View source]
def ext_data! : String #

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

[View source]
def extension_data : JSON::Any #

[View source]
def extension_data=(extension_data : JSON::Any | Nil) #

[View source]
def generate_id #

[View source]
def host_email : String #

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

[View source]
def id : String | Nil #

Event details

NOTE : Using this as the ID is a bad idea should have a seperate indexed column for lookup so it's simple to migrate guests if a meeting is moved to a new room


[View source]
def id! : String #

Event details

NOTE : Using this as the ID is a bad idea should have a seperate indexed column for lookup so it's simple to migrate guests if a meeting is moved to a new room


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

Event details

NOTE : Using this as the ID is a bad idea should have a seperate indexed column for lookup so it's simple to migrate guests if a meeting is moved to a new room


[View source]
def resource_calendar : String #

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

[View source]
def system_id : String #

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

[View source]
def transform_extension_data #

[View source]
def updated_at : Time | Nil #

def updated_at! : Time #

def updated_at=(updated_at : Time | Nil) #