Serializer for Login buttons of sources
| Name | Type | Description | Notes |
|---|---|---|---|
| name | str | ||
| icon_url | str | [optional] | |
| promoted | bool | [optional] [default to False] | |
| challenge | LoginChallengeTypes |
from authentik_client.models.login_source import LoginSource
# TODO update the JSON string below
json = "{}"
# create an instance of LoginSource from a JSON string
login_source_instance = LoginSource.from_json(json)
# print the JSON string representation of the object
print(LoginSource.to_json())
# convert the object into a dict
login_source_dict = login_source_instance.to_dict()
# create an instance of LoginSource from a dict
login_source_from_dict = LoginSource.from_dict(login_source_dict)