Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.02 KB

File metadata and controls

30 lines (21 loc) · 1.02 KB

DiscountEntityModel

Properties

Name Type Description Notes
entity str [optional]
data List[DiscountPlanFields] [optional]

Example

from hyperstack.models.discount_entity_model import DiscountEntityModel

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

# convert the object into a dict
discount_entity_model_dict = discount_entity_model_instance.to_dict()
# create an instance of DiscountEntityModel from a dict
discount_entity_model_form_dict = discount_entity_model.from_dict(discount_entity_model_dict)

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