class Floorsense::BookingsSync::Booking

Included Modules

Extended Modules

Defined in:

floorsense/bookings_sync.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 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 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 extension_data : JSON::Any | Nil #

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

[View source]
def id : Int64 #

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

[View source]
def in_progress? #

[View source]
def rejected : Bool | Nil #

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

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