struct OfficeRnd::Booking

Defined in:

office_rnd/models.cr

Constructors

Instance Method Summary

Constructor methods inherited from struct OfficeRnd::Data

new(pull : JSON::PullParser) new

Constructor Detail

def self.new(resource_id : String, booking_start : Time, booking_end : Time, summary : String | Nil = nil, team_id : String | Nil = nil, member_id : String | Nil = nil, description : String | Nil = nil, tentative : Bool | Nil = nil, free : Bool | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def booking_end : BookingTime #

[View source]
def booking_start : BookingTime #

[View source]
def description : String | Nil #

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

[View source]
def fees : Array(OfficeRnd::BookingFee) #

[View source]
def free : Bool | Nil #

[View source]
def member_id : String | Nil #

[View source]
def overlaps?(time_span : Range(Time, Time)) #

[View source]
def plan_id : String #

[View source]
def resource_id : String #

[View source]
def source : String | Nil #

[View source]
def summary : String | Nil #

[View source]
def team_id : String | Nil #

[View source]
def tentative : Bool | Nil #

[View source]
def timezone : String #

[View source]