kittycad.models.ai_plugin_auth_type

Classes

AiPluginAuthType(value)

AI plugin auth type.

class kittycad.models.ai_plugin_auth_type.AiPluginAuthType(value)[source][source]

AI plugin auth type.

NONE = 'none'[source]

# User http.

OAUTH = 'oauth'[source]
SERVICE_HTTP = 'service_http'[source]

# OAuth.

USER_HTTP = 'user_http'[source]

# Service http.

__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.ai_plugin_auth_type', '__doc__': 'AI plugin auth type.', '__str__': <function AiPluginAuthType.__str__>, '__dict__': <attribute '__dict__' of 'AiPluginAuthType' objects>, '__weakref__': <attribute '__weakref__' of 'AiPluginAuthType' objects>, '_member_names_': ['NONE', 'USER_HTTP', 'SERVICE_HTTP', 'OAUTH'], '_member_map_': {'NONE': <AiPluginAuthType.NONE: 'none'>, 'USER_HTTP': <AiPluginAuthType.USER_HTTP: 'user_http'>, 'SERVICE_HTTP': <AiPluginAuthType.SERVICE_HTTP: 'service_http'>, 'OAUTH': <AiPluginAuthType.OAUTH: 'oauth'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'none': <AiPluginAuthType.NONE: 'none'>, 'user_http': <AiPluginAuthType.USER_HTTP: 'user_http'>, 'service_http': <AiPluginAuthType.SERVICE_HTTP: 'service_http'>, 'oauth': <AiPluginAuthType.OAUTH: 'oauth'>}, 'NONE': <AiPluginAuthType.NONE: 'none'>, 'USER_HTTP': <AiPluginAuthType.USER_HTTP: 'user_http'>, 'SERVICE_HTTP': <AiPluginAuthType.SERVICE_HTTP: 'service_http'>, 'OAUTH': <AiPluginAuthType.OAUTH: 'oauth'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__module__ = 'kittycad.models.ai_plugin_auth_type'[source]
_generate_next_value_(start, count, last_values)[source]

Generate the next value when not given.

name: the name of the member start: the initial start value or None count: the number of existing members last_value: the last value assigned or None

_member_map_ = {'NONE': AiPluginAuthType.NONE, 'OAUTH': AiPluginAuthType.OAUTH, 'SERVICE_HTTP': AiPluginAuthType.SERVICE_HTTP, 'USER_HTTP': AiPluginAuthType.USER_HTTP}[source]
_member_names_ = ['NONE', 'USER_HTTP', 'SERVICE_HTTP', 'OAUTH'][source]
_member_type_[source]

alias of str

_value2member_map_ = {'none': AiPluginAuthType.NONE, 'oauth': AiPluginAuthType.OAUTH, 'service_http': AiPluginAuthType.SERVICE_HTTP, 'user_http': AiPluginAuthType.USER_HTTP}[source]