Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 921 Bytes

File metadata and controls

31 lines (22 loc) · 921 Bytes

VoteType

Information for a Vote Type

Properties

Name Type Description Notes
name str Description/Name of the ID [optional]
id int Unique identifier for Vote Type [optional]

Example

from valis.models.vote_type import VoteType

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

# convert the object into a dict
vote_type_dict = vote_type_instance.to_dict()
# create an instance of VoteType from a dict
vote_type_from_dict = VoteType.from_dict(vote_type_dict)

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