mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 06:26:51 +00:00
Some checks failed
Python CI / build (push) Has been cancelled
Co-authored-by: API Team <api-team@thousandeyes.com>
1.2 KiB
1.2 KiB
ExporterConfigOAuth2
OAuth2 authentication configuration.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| client_id | str | The OAuth2 client ID. | [optional] |
| client_secret | str | The OAuth2 client secret. | [optional] |
| token_url | str | The OAuth2 token URL. | [optional] |
| scopes | List[str] | The OAuth2 scopes. | [optional] |
Example
from thousandeyes_sdk.streaming.models.exporter_config_o_auth2 import ExporterConfigOAuth2
# TODO update the JSON string below
json = "{}"
# create an instance of ExporterConfigOAuth2 from a JSON string
exporter_config_o_auth2_instance = ExporterConfigOAuth2.from_json(json)
# print the JSON string representation of the object
print(ExporterConfigOAuth2.to_json())
# convert the object into a dict
exporter_config_o_auth2_dict = exporter_config_o_auth2_instance.to_dict()
# create an instance of ExporterConfigOAuth2 from a dict
exporter_config_o_auth2_from_dict = ExporterConfigOAuth2.from_dict(exporter_config_o_auth2_dict)