Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.01 KB

File metadata and controls

31 lines (22 loc) · 1.01 KB

BedItemSchema

Properties

Name Type Description Notes
type_code str Bed type code (e.g., KING_SIZE_BED, SINGLE_BED)
capacity int Bed capacity (number of people)
quantity int Quantity of this bed type

Example

from cloudbeds_pms.models.bed_item_schema import BedItemSchema

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

# convert the object into a dict
bed_item_schema_dict = bed_item_schema_instance.to_dict()
# create an instance of BedItemSchema from a dict
bed_item_schema_from_dict = BedItemSchema.from_dict(bed_item_schema_dict)

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