class Booking

Included Modules

Extended Modules

Defined in:

models/booking.cr:1
models/booking.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 approved : Bool #

[View source]
def approved=(approved : Bool) #

[View source]
def approver_email : String | Nil #

[View source]
def approver_email! : String #

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

[View source]
def approver_id : String | Nil #

[View source]
def approver_id! : String #

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

[View source]
def approver_name : String | Nil #

[View source]
def approver_name! : String #

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

[View source]
def asset_id : String #

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

[View source]
def booking_end : Int64 #

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

[View source]
def booking_start : Int64 #

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

[View source]
def booking_type : String #

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

[View source]
def checked_in : Bool #

[View source]
def checked_in=(checked_in : Bool) #

[View source]
def created_at : Time | Nil #

def created_at! : Time #

def created_at=(created_at : Time | Nil) #

def description : String | Nil #

[View source]
def description! : String #

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

[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 id : Int64 | Nil #

[View source]
def id! : Int64 #

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

[View source]
def rejected : Bool #

[View source]
def rejected=(rejected : Bool) #

[View source]
def timezone : String | Nil #

[View source]
def timezone! : String #

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

[View source]
def title : String | Nil #

[View source]
def title! : String #

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

[View source]
def transform_extension_data #

[View source]
def updated_at : Time | Nil #

def updated_at! : Time #

def updated_at=(updated_at : Time | Nil) #

def user_email : String #

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

[View source]
def user_id : String #

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

[View source]
def user_name : String #

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

[View source]
def zones : Array(String) #

[View source]
def zones=(zones : Array(String)) #

[View source]