Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.24 KB

File metadata and controls

31 lines (22 loc) · 1.24 KB

AreaItemSchema

Properties

Name Type Description Notes
type_code str Area type code. Valid values: BEDROOM, LIVING_ROOM (for MULTI layout), SLEEPING_AREA (for SINGLE layout)
position int Position/order of this area
arrangements List[ArrangementItemSchema] List of bed arrangements in this area. BEDROOM areas must have exactly 1 arrangement. LIVING_ROOM areas can have 0 or 1 arrangement.

Example

from cloudbeds_pms.models.area_item_schema import AreaItemSchema

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

# convert the object into a dict
area_item_schema_dict = area_item_schema_instance.to_dict()
# create an instance of AreaItemSchema from a dict
area_item_schema_from_dict = AreaItemSchema.from_dict(area_item_schema_dict)

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