kittycad.models.device_access_token_request_form
Classes
|
The form for a device access token request. |
- class kittycad.models.device_access_token_request_form.DeviceAccessTokenRequestForm(client_id=<kittycad.types.Unset object>, device_code=<kittycad.types.Unset object>, grant_type=<kittycad.types.Unset object>)[source][source]
The form for a device access token request.
Method generated by attrs for class DeviceAccessTokenRequestForm.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'client_id': typing.Union[kittycad.types.Unset, str], 'device_code': typing.Union[kittycad.types.Unset, str], 'grant_type': typing.Union[kittycad.types.Unset, kittycad.models.o_auth2_grant_type.OAuth2GrantType]}[source]
- __attrs_attrs__ = (Attribute(name='client_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='client_id'), Attribute(name='device_code', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='device_code'), Attribute(name='grant_type', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.o_auth2_grant_type.OAuth2GrantType], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='grant_type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.device_access_token_request_form', '__annotations__': {'client_id': typing.Union[kittycad.types.Unset, str], 'device_code': typing.Union[kittycad.types.Unset, str], 'grant_type': typing.Union[kittycad.types.Unset, kittycad.models.o_auth2_grant_type.OAuth2GrantType], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'The form for a device access token request.', 'to_dict': <function DeviceAccessTokenRequestForm.to_dict>, 'from_dict': <classmethod(<function DeviceAccessTokenRequestForm.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function DeviceAccessTokenRequestForm.__getitem__>, '__setitem__': <function DeviceAccessTokenRequestForm.__setitem__>, '__delitem__': <function DeviceAccessTokenRequestForm.__delitem__>, '__contains__': <function DeviceAccessTokenRequestForm.__contains__>, '__dict__': <attribute '__dict__' of 'DeviceAccessTokenRequestForm' objects>, '__weakref__': <attribute '__weakref__' of 'DeviceAccessTokenRequestForm' objects>, '__attrs_attrs__': (Attribute(name='client_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='client_id'), Attribute(name='device_code', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='device_code'), Attribute(name='grant_type', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.o_auth2_grant_type.OAuth2GrantType], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='grant_type'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function DeviceAccessTokenRequestForm.__repr__>, '__eq__': <function DeviceAccessTokenRequestForm.__eq__>, '__ne__': <function DeviceAccessTokenRequestForm.__ne__>, '__lt__': <function DeviceAccessTokenRequestForm.__lt__>, '__le__': <function DeviceAccessTokenRequestForm.__le__>, '__gt__': <function DeviceAccessTokenRequestForm.__gt__>, '__ge__': <function DeviceAccessTokenRequestForm.__ge__>, '__hash__': None, '__init__': <function DeviceAccessTokenRequestForm.__init__>, '__match_args__': ('client_id', 'device_code', 'grant_type')})[source]
- __init__(client_id=<kittycad.types.Unset object>, device_code=<kittycad.types.Unset object>, grant_type=<kittycad.types.Unset object>)[source]
Method generated by attrs for class DeviceAccessTokenRequestForm.
- classmethod from_dict(src_dict)[source][source]
- Return type:
TypeVar
(FH
, bound= DeviceAccessTokenRequestForm)
-
grant_type:
Union
[Unset
,OAuth2GrantType
][source]