Name |
Type |
Description |
Notes |
id |
str |
The consumer type - either logs or diagnostics |
[optional] [readonly] |
pretty_size |
str |
The logs or diagnostics size in human-readable format |
[optional] [readonly] |
size |
int |
The logs or diagnostics size (in bytes) |
[optional] [readonly] |
from cyperf.models.consumer import Consumer
# TODO update the JSON string below
json = "{}"
# create an instance of Consumer from a JSON string
consumer_instance = Consumer.from_json(json)
# print the JSON string representation of the object
print(Consumer.to_json())
# convert the object into a dict
consumer_dict = consumer_instance.to_dict()
# create an instance of Consumer from a dict
consumer_from_dict = Consumer.from_dict(consumer_dict)
[Back to Model list] [Back to API list] [Back to README]