Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.2 KB

File metadata and controls

32 lines (23 loc) · 1.2 KB

LimitConfig

Properties

Name Type Description Notes
action str The limitable action to which this limit applies. For example: - `setDiscount` - `setDiscountEffect` - `redeemCoupon` - `createCoupon`
limit float The value to set for the limit.
period str The period on which the budget limit recurs. [optional]
entities List[str] The entity that this limit applies to.

Example

from talon_one.models.limit_config import LimitConfig

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

# convert the object into a dict
limit_config_dict = limit_config_instance.to_dict()
# create an instance of LimitConfig from a dict
limit_config_from_dict = LimitConfig.from_dict(limit_config_dict)

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