Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.1 KB

File metadata and controls

37 lines (28 loc) · 1.1 KB

Counter

A counter for number of requests by extension resource name.

Properties

Name Type Description Notes
api_version str
approved_comment int [optional]
downvote int [optional]
kind str
metadata Metadata
total_comment int [optional]
upvote int [optional]
visit int [optional]

Example

from halo_client.models.counter import Counter

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

# convert the object into a dict
counter_dict = counter_instance.to_dict()
# create an instance of Counter from a dict
counter_from_dict = Counter.from_dict(counter_dict)

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