kittycad.models.ai_plugin_api.AiPluginApi
- class kittycad.models.ai_plugin_api.AiPluginApi(is_user_authenticated=False, type=<kittycad.types.Unset object>, url=<kittycad.types.Unset object>)[source][source]
Bases:
object
AI plugin api information.
Method generated by attrs for class AiPluginApi.
- __init__(is_user_authenticated=False, type=<kittycad.types.Unset object>, url=<kittycad.types.Unset object>)[source]
Method generated by attrs for class AiPluginApi.
Methods
__init__
([is_user_authenticated, type, url])Method generated by attrs for class AiPluginApi.
from_dict
(src_dict)- rtype:
TypeVar
(S
, bound= AiPluginApi)
to_dict
()Attributes
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'is_user_authenticated': typing.Union[kittycad.types.Unset, bool], 'type': typing.Union[kittycad.types.Unset, kittycad.models.ai_plugin_api_type.AiPluginApiType], 'url': typing.Union[kittycad.types.Unset, str]}[source]
- __attrs_attrs__ = (Attribute(name='is_user_authenticated', default=False, 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, bool], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='is_user_authenticated'), Attribute(name='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.ai_plugin_api_type.AiPluginApiType], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='url', 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='url'), 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.ai_plugin_api', '__annotations__': {'is_user_authenticated': typing.Union[kittycad.types.Unset, bool], 'type': typing.Union[kittycad.types.Unset, kittycad.models.ai_plugin_api_type.AiPluginApiType], 'url': typing.Union[kittycad.types.Unset, str], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'AI plugin api information.', 'to_dict': <function AiPluginApi.to_dict>, 'from_dict': <classmethod(<function AiPluginApi.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function AiPluginApi.__getitem__>, '__setitem__': <function AiPluginApi.__setitem__>, '__delitem__': <function AiPluginApi.__delitem__>, '__contains__': <function AiPluginApi.__contains__>, '__dict__': <attribute '__dict__' of 'AiPluginApi' objects>, '__weakref__': <attribute '__weakref__' of 'AiPluginApi' objects>, '__attrs_attrs__': (Attribute(name='is_user_authenticated', default=False, 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, bool], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='is_user_authenticated'), Attribute(name='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.ai_plugin_api_type.AiPluginApiType], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='url', 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='url'), 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 AiPluginApi.__repr__>, '__eq__': <function AiPluginApi.__eq__>, '__ne__': <function AiPluginApi.__ne__>, '__lt__': <function AiPluginApi.__lt__>, '__le__': <function AiPluginApi.__le__>, '__gt__': <function AiPluginApi.__gt__>, '__ge__': <function AiPluginApi.__ge__>, '__hash__': None, '__init__': <function AiPluginApi.__init__>, '__match_args__': ('is_user_authenticated', 'type', 'url')})[source]
- __init__(is_user_authenticated=False, type=<kittycad.types.Unset object>, url=<kittycad.types.Unset object>)[source]
Method generated by attrs for class AiPluginApi.
-
type:
Union
[Unset
,AiPluginApiType
][source]