Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.02 KB

Consumer.md

File metadata and controls

31 lines (22 loc) · 1.02 KB

Consumer

Properties

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]

Example

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]