Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 915 Bytes

File metadata and controls

33 lines (24 loc) · 915 Bytes

Stats

Stats value object.

Properties

Name Type Description Notes
approved_comment int [optional]
total_comment int [optional]
upvote int [optional]
visit int [optional]

Example

from halo_client.models.stats import Stats

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

# convert the object into a dict
stats_dict = stats_instance.to_dict()
# create an instance of Stats from a dict
stats_from_dict = Stats.from_dict(stats_dict)

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