Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1009 Bytes

File metadata and controls

36 lines (27 loc) · 1009 Bytes

ApiToken

Properties

Name Type Description Notes
token_id int
api_token str
name str
account_index int
expiry int
sub_account_access bool
revoked bool
scopes str

Example

from lighter.models.api_token import ApiToken

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

# convert the object into a dict
api_token_dict = api_token_instance.to_dict()
# create an instance of ApiToken from a dict
api_token_from_dict = ApiToken.from_dict(api_token_dict)

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