class Bright::API::Bookings
- Bright::API::Bookings
- Reference
- Object
Defined in:
bright/api/bookings.crConstructors
Instance Method Summary
- #create(booking : Models::Booking, included_submodels : String | Nil = nil) : Models::Booking
- #delete(booking_id : String) : Nil
- #get(start_date : String, end_date : String, location_ids : Array(String) = [] of String, space_ids : Array(String) = [] of String, included_submodels : String | Nil = nil, paging_skip : Int32 = 10, paging_take : Int32 = 10) : Array(Models::Booking)
- #get_occurrences(start_date : String, end_date : String, location_ids : Array(String) = [] of String, space_ids : Array(String) = [] of String, included_submodels : String | Nil = nil, paging_skip : Int32 = 10, paging_take : Int32 = 10, continuation_token : String | Nil = nil) : Array(Models::Occurrence)
- #update(booking : Models::Booking, included_submodels : String | Nil = nil) : Models::Booking
Constructor Detail
Instance Method Detail
def get(start_date : String, end_date : String, location_ids : Array(String) = [] of String, space_ids : Array(String) = [] of String, included_submodels : String | Nil = nil, paging_skip : Int32 = 10, paging_take : Int32 = 10) : Array(Models::Booking)
#
def get_occurrences(start_date : String, end_date : String, location_ids : Array(String) = [] of String, space_ids : Array(String) = [] of String, included_submodels : String | Nil = nil, paging_skip : Int32 = 10, paging_take : Int32 = 10, continuation_token : String | Nil = nil) : Array(Models::Occurrence)
#