mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 07:55:31 +00:00
971 B
971 B
AccessToken
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| token_type | str | [optional] | |
| expires_in | int | [optional] | |
| access_token | str | [optional] | |
| scope | str | [optional] |
Example
from oauth2.models.access_token import AccessToken
# TODO update the JSON string below
json = "{}"
# create an instance of AccessToken from a JSON string
access_token_instance = AccessToken.from_json(json)
# print the JSON string representation of the object
print(AccessToken.to_json())
# convert the object into a dict
access_token_dict = access_token_instance.to_dict()
# create an instance of AccessToken from a dict
access_token_from_dict = AccessToken.from_dict(access_token_dict)