mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2026-03-21 18:46:51 +00:00
Some checks failed
Python CI / build (push) Has been cancelled
Co-authored-by: API Team <api-team@thousandeyes.com>
1.0 KiB
1.0 KiB
BasicAuthentication
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| username | str | ||
| password | str | ||
| type | AuthenticationType |
Example
from thousandeyes_sdk.connectors.models.basic_authentication import BasicAuthentication
# TODO update the JSON string below
json = "{}"
# create an instance of BasicAuthentication from a JSON string
basic_authentication_instance = BasicAuthentication.from_json(json)
# print the JSON string representation of the object
print(BasicAuthentication.to_json())
# convert the object into a dict
basic_authentication_dict = basic_authentication_instance.to_dict()
# create an instance of BasicAuthentication from a dict
basic_authentication_from_dict = BasicAuthentication.from_dict(basic_authentication_dict)