Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.76 KB

AssignableRoomsResponseSchema.md

File metadata and controls

33 lines (24 loc) · 1.76 KB

AssignableRoomsResponseSchema

Properties

Name Type Description Notes
reservation ReservationContextSchema
room_types List[RoomTypeOptionSchema] Selectable room types (names only, no pricing).
selected_room_type_id str The room type the rates and rooms below are scoped to.
rates List[RatePlanSchema] Rate plans for the selected room type, totalled over the stay.
rooms List[AssignableRoomSchema] Rooms of the selected type free for the whole stay. Includes the reservation's currently-assigned room when the selected type matches its current type (match on reservation.currentRoomId), so the drawer can render it as selected.

Example

from cloudbeds_pms.models.assignable_rooms_response_schema import AssignableRoomsResponseSchema

# TODO update the JSON string below
json = "{}"
# create an instance of AssignableRoomsResponseSchema from a JSON string
assignable_rooms_response_schema_instance = AssignableRoomsResponseSchema.from_json(json)
# print the JSON string representation of the object
print(AssignableRoomsResponseSchema.to_json())

# convert the object into a dict
assignable_rooms_response_schema_dict = assignable_rooms_response_schema_instance.to_dict()
# create an instance of AssignableRoomsResponseSchema from a dict
assignable_rooms_response_schema_from_dict = AssignableRoomsResponseSchema.from_dict(assignable_rooms_response_schema_dict)

[Back to Model list] [Back to API list] [Back to README]