Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.17 KB

LegacyRoomTypeOptionSchema.md

File metadata and controls

31 lines (22 loc) · 1.17 KB

LegacyRoomTypeOptionSchema

An earlier, narrower assignable-rooms room-type-option shape: id is an integer. See RoomTypeOptionSchema for the current shape.

Properties

Name Type Description Notes
id int
name str

Example

from cloudbeds_pms.models.legacy_room_type_option_schema import LegacyRoomTypeOptionSchema

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

# convert the object into a dict
legacy_room_type_option_schema_dict = legacy_room_type_option_schema_instance.to_dict()
# create an instance of LegacyRoomTypeOptionSchema from a dict
legacy_room_type_option_schema_from_dict = LegacyRoomTypeOptionSchema.from_dict(legacy_room_type_option_schema_dict)

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