kittycad.models.api_call_query_group_by.ApiCallQueryGroupBy
- class kittycad.models.api_call_query_group_by.ApiCallQueryGroupBy(value)[source][source]
-
The field of an API call to group by.
Attributes
# The HTTP method of the API call.
# The endpoint of the API call.
# The user ID of the user that requested the API call.
# The origin of the API call.
# The IP address of the user making the API call.
- __dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.api_call_query_group_by', '__doc__': 'The field of an API call to group by.', '__str__': <function ApiCallQueryGroupBy.__str__>, '__dict__': <attribute '__dict__' of 'ApiCallQueryGroupBy' objects>, '__weakref__': <attribute '__weakref__' of 'ApiCallQueryGroupBy' objects>, '_member_names_': ['EMAIL', 'METHOD', 'ENDPOINT', 'USER_ID', 'ORIGIN', 'IP_ADDRESS'], '_member_map_': {'EMAIL': <ApiCallQueryGroupBy.EMAIL: 'email'>, 'METHOD': <ApiCallQueryGroupBy.METHOD: 'method'>, 'ENDPOINT': <ApiCallQueryGroupBy.ENDPOINT: 'endpoint'>, 'USER_ID': <ApiCallQueryGroupBy.USER_ID: 'user_id'>, 'ORIGIN': <ApiCallQueryGroupBy.ORIGIN: 'origin'>, 'IP_ADDRESS': <ApiCallQueryGroupBy.IP_ADDRESS: 'ip_address'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'email': <ApiCallQueryGroupBy.EMAIL: 'email'>, 'method': <ApiCallQueryGroupBy.METHOD: 'method'>, 'endpoint': <ApiCallQueryGroupBy.ENDPOINT: 'endpoint'>, 'user_id': <ApiCallQueryGroupBy.USER_ID: 'user_id'>, 'origin': <ApiCallQueryGroupBy.ORIGIN: 'origin'>, 'ip_address': <ApiCallQueryGroupBy.IP_ADDRESS: 'ip_address'>}, 'EMAIL': <ApiCallQueryGroupBy.EMAIL: 'email'>, 'METHOD': <ApiCallQueryGroupBy.METHOD: 'method'>, 'ENDPOINT': <ApiCallQueryGroupBy.ENDPOINT: 'endpoint'>, 'USER_ID': <ApiCallQueryGroupBy.USER_ID: 'user_id'>, 'ORIGIN': <ApiCallQueryGroupBy.ORIGIN: 'origin'>, 'IP_ADDRESS': <ApiCallQueryGroupBy.IP_ADDRESS: 'ip_address'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[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