Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 1.87 KB

File metadata and controls

46 lines (37 loc) · 1.87 KB

RatePlanResponseSchema

Properties

Name Type Description Notes
id str [optional]
is_active bool [optional]
is_deleted bool [optional]
derived_rate_plan_id str [optional]
is_derived bool [optional]
derived_type str [optional]
derived_value float [optional]
addons List[RatePlanAddonResponseSchema] [optional]
promo_code str [optional]
sources List[str] [optional]
name Dict[str, str] [optional]
description Dict[str, str] [optional]
name_private Dict[str, str] [optional]
terms Dict[str, str] [optional]
intervals List[RatePlanIntervalResponseSchema] [optional]
created_at datetime [optional]
updated_at datetime [optional]
policy_id int [optional]

Example

from cloudbeds_pms.models.rate_plan_response_schema import RatePlanResponseSchema

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

# convert the object into a dict
rate_plan_response_schema_dict = rate_plan_response_schema_instance.to_dict()
# create an instance of RatePlanResponseSchema from a dict
rate_plan_response_schema_from_dict = RatePlanResponseSchema.from_dict(rate_plan_response_schema_dict)

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