Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.12 KB

BudgetBody.md

File metadata and controls

31 lines (22 loc) · 1.12 KB

BudgetBody

Properties

Name Type Description Notes
credit_budget int The most credits the investigation may spend. Null when it has no limit.
credits_spent float Credits spent on the investigation's conversations and the agents run from it.
spent bool Whether the budget is spent, so nothing more that consumes credits can be started from the investigation.

Example

from revengai.models.budget_body import BudgetBody

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

# convert the object into a dict
budget_body_dict = budget_body_instance.to_dict()
# create an instance of BudgetBody from a dict
budget_body_from_dict = BudgetBody.from_dict(budget_body_dict)

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