Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.13 KB

File metadata and controls

32 lines (24 loc) · 1.13 KB

CategoryMetric

Properties

Name Type Description Notes
name str [optional]
value float [optional]
threshold Threshold [optional]
description str [optional]
risk_category_type RiskCategoryType [optional] [default to RiskCategoryType.UNSPECIFIED]

Example

from ri.apiclient.models.category_metric import CategoryMetric

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

# convert the object into a dict
category_metric_dict = category_metric_instance.to_dict()
# create an instance of CategoryMetric from a dict
category_metric_from_dict = CategoryMetric.from_dict(category_metric_dict)

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