Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.04 KB

File metadata and controls

34 lines (25 loc) · 1.04 KB

ApiKey

Properties

Name Type Description Notes
id str API key identifier
name str API key name
created_at datetime Creation timestamp
expires_at datetime Expiration timestamp [optional]
is_active bool Whether the key is active
last_used_at datetime Last usage timestamp [optional]

Example

from rankvectors.models.api_key import ApiKey

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

# convert the object into a dict
api_key_dict = api_key_instance.to_dict()
# create an instance of ApiKey from a dict
api_key_from_dict = ApiKey.from_dict(api_key_dict)

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