class Floorsense::Booking

Included Modules

Extended Modules

Defined in:

floorsense/models.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def action : String | Nil #

This is to support events


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

This is to support events


[View source]
def approved : Bool | Nil #

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

[View source]
def asset_id : String #

events use resource_id instead of asset_id


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

events use resource_id instead of asset_id


[View source]
def booked_by_email : String | Nil #

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

[View source]
def booked_by_name : String | Nil #

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

[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 | Nil #

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

[View source]
def checked_in? #

[View source]
def checked_in_at : Int64 | Nil #

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

[View source]
def checked_out? #

[View source]
def checked_out_at : Int64 | Nil #

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

[View source]
def deleted : Bool | Nil #

[View source]
def deleted=(deleted : Bool | Nil) #

[View source]
def deleted? #

[View source]
def deleted_at : Int64 | Nil #

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

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

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

[View source]
def floor_id : String | Nil #

def floor_id=(floor_id : String | Nil) #

[View source]
def floor_id? : String | Nil | Nil #

def floorsense_booking_id : String | Nil #

[View source]
def id : Int64 #

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

[View source]
def in_progress? #

[View source]
def is_deleted? #

[View source]
def last_changed : Int64 | Nil #

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

[View source]
def process_state : String | Nil #

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

[View source]
def rejected : Bool | Nil #

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

[View source]
def released? #

[View source]
def resource_id : String | Nil #

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

[View source]
def timezone : String | Nil #

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

[View source]
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]