Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 1.39 KB

File metadata and controls

41 lines (32 loc) · 1.39 KB

Device

Serializer for authenticator devices

Properties

Name Type Description Notes
verbose_name str Return object's verbose_name [readonly]
verbose_name_plural str Return object's plural verbose_name [readonly]
meta_model_name str Return internal model name [readonly]
pk str
name str
type str Get type of device [readonly]
confirmed bool
created datetime [readonly]
last_updated datetime [readonly]
last_used datetime [readonly]
extra_description str Get extra description [readonly]
external_id str Get external Device ID [readonly]

Example

from authentik_client.models.device import Device

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

# convert the object into a dict
device_dict = device_instance.to_dict()
# create an instance of Device from a dict
device_from_dict = Device.from_dict(device_dict)

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