kittycad.models.device_auth_verify_params.DeviceAuthVerifyParams

class kittycad.models.device_auth_verify_params.DeviceAuthVerifyParams(user_code=<kittycad.types.Unset object>)[source][source]

Bases: object

The request parameters to verify the user_code for the OAuth 2.0 Device Authorization Grant.

Method generated by attrs for class DeviceAuthVerifyParams.

__init__(user_code=<kittycad.types.Unset object>)[source]

Method generated by attrs for class DeviceAuthVerifyParams.

Methods

__init__([user_code])

Method generated by attrs for class DeviceAuthVerifyParams.

from_dict(src_dict)

rtype:

TypeVar(J, bound= DeviceAuthVerifyParams)

to_dict()

rtype:

Dict[str, Any]

Attributes

additional_keys

user_code

additional_properties

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'user_code': typing.Union[kittycad.types.Unset, str]}[source]
__attrs_attrs__ = (Attribute(name='user_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='user_code'), 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]
__contains__(key)[source][source]
Return type:

bool

__delitem__(key)[source][source]
Return type:

None

__dict__ = mappingproxy({'__module__': 'kittycad.models.device_auth_verify_params', '__annotations__': {'user_code': typing.Union[kittycad.types.Unset, str], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'The request parameters to verify the `user_code` for the OAuth 2.0 Device Authorization Grant.', 'to_dict': <function DeviceAuthVerifyParams.to_dict>, 'from_dict': <classmethod(<function DeviceAuthVerifyParams.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function DeviceAuthVerifyParams.__getitem__>, '__setitem__': <function DeviceAuthVerifyParams.__setitem__>, '__delitem__': <function DeviceAuthVerifyParams.__delitem__>, '__contains__': <function DeviceAuthVerifyParams.__contains__>, '__dict__': <attribute '__dict__' of 'DeviceAuthVerifyParams' objects>, '__weakref__': <attribute '__weakref__' of 'DeviceAuthVerifyParams' objects>, '__attrs_attrs__': (Attribute(name='user_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='user_code'), 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 DeviceAuthVerifyParams.__repr__>, '__eq__': <function DeviceAuthVerifyParams.__eq__>, '__ne__': <function DeviceAuthVerifyParams.__ne__>, '__lt__': <function DeviceAuthVerifyParams.__lt__>, '__le__': <function DeviceAuthVerifyParams.__le__>, '__gt__': <function DeviceAuthVerifyParams.__gt__>, '__ge__': <function DeviceAuthVerifyParams.__ge__>, '__hash__': None, '__init__': <function DeviceAuthVerifyParams.__init__>, '__match_args__': ('user_code',)})[source]
__eq__(other)[source]

Method generated by attrs for class DeviceAuthVerifyParams.

__ge__(other)[source]

Method generated by attrs for class DeviceAuthVerifyParams.

__getitem__(key)[source][source]
Return type:

Any

__gt__(other)[source]

Method generated by attrs for class DeviceAuthVerifyParams.

__hash__ = None[source]
__init__(user_code=<kittycad.types.Unset object>)[source]

Method generated by attrs for class DeviceAuthVerifyParams.

__le__(other)[source]

Method generated by attrs for class DeviceAuthVerifyParams.

__lt__(other)[source]

Method generated by attrs for class DeviceAuthVerifyParams.

__match_args__ = ('user_code',)[source]
__module__ = 'kittycad.models.device_auth_verify_params'[source]
__ne__(other)[source]

Method generated by attrs for class DeviceAuthVerifyParams.

__repr__()[source]

Method generated by attrs for class DeviceAuthVerifyParams.

__setitem__(key, value)[source][source]
Return type:

None

property additional_keys: List[str][source]
additional_properties: Dict[str, Any][source]
classmethod from_dict(src_dict)[source][source]
Return type:

TypeVar(J, bound= DeviceAuthVerifyParams)

to_dict()[source][source]
Return type:

Dict[str, Any]

user_code: Union[Unset, str][source]