Constructor
# new MPBooking(args)
MPBooking represents an existing booking object or a booking to be made. bookingId will be non-null for an existing booking, and null for a booking to be made.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
args |
Object
|
||
locationId |
string
|
||
bookingId |
string
|
<optional> |
|
ownerId |
string
|
||
startTime |
string
|
Date
|
||
endTime |
string
|
Date
|
||
participants |
Array.<string>
|
<optional> |
|
title |
string
|
<optional> |
|
description |
string
|
<optional> |
|
managed |
boolean
|
<optional> |
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
bookingId |
string
|
||
locationId |
string
|
||
startTime |
string
|
Date
|
||
endTime |
string
|
Date
|
||
participants |
Array.<string>
|
<optional> |
|
title |
string
|
<optional> |
|
description |
string
|
||
managed |
boolean
|