Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.25 KB

File metadata and controls

32 lines (23 loc) · 1.25 KB

CostRate

Cost rate for a specific billing unit. Defines how many credits are charged per unit of a specific type. Example: CostRate( unit=CostUnit.MINUTE, credits_per_unit=200, description="Video processing" ) # Means: 200 credits per minute of video

Properties

Name Type Description Notes
unit CostUnit The billing unit type
credits_per_unit int Number of credits charged per unit
description str Human-readable description of what this rate covers [optional]

Example

from mixpeek.models.cost_rate import CostRate

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

# convert the object into a dict
cost_rate_dict = cost_rate_instance.to_dict()
# create an instance of CostRate from a dict
cost_rate_from_dict = CostRate.from_dict(cost_rate_dict)

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