Coverage for fingerprint_server_sdk / models / bot_info_category.py: 96%
25 statements
« prev ^ index » next coverage.py v7.14.0, created at 2026-05-26 17:42 +0000
« prev ^ index » next coverage.py v7.14.0, created at 2026-05-26 17:42 +0000
1"""
2Server API
3Fingerprint Server API allows you to get, search, and update Events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios.
4Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device.
6The version of the OpenAPI document: 4
7Contact: support@fingerprint.com
8Generated by OpenAPI Generator (https://openapi-generator.tech)
10Do not edit the class manually.
11""" # noqa: E501
13from __future__ import annotations
15import json
16from enum import Enum
18from typing_extensions import Self
21class BotInfoCategory(str, Enum):
22 """
23 The type and purpose of the bot.
24 """
26 """
27 allowed enum values
28 """
29 ADVERTISING_AND_MARKETING = 'advertising_and_marketing'
30 AGGREGATOR = 'aggregator'
31 AI_AGENT = 'ai_agent'
32 AI_ASSISTANT = 'ai_assistant'
33 AI_BROWSER = 'ai_browser'
34 AI_CRAWLER = 'ai_crawler'
35 AI_SEARCH = 'ai_search'
36 BROWSER_AUTOMATION = 'browser_automation'
37 ECOMMERCE = 'ecommerce'
38 MONITORING_AND_ANALYTICS = 'monitoring_and_analytics'
39 OTHER = 'other'
40 SCRAPING = 'scraping'
41 SECURITY = 'security'
42 SEARCH_ENGINE_CRAWLER = 'search_engine_crawler'
43 SEARCH_ENGINE_OPTIMIZATION = 'search_engine_optimization'
44 UNKNOWN = 'unknown'
46 @classmethod
47 def from_json(cls, json_str: str) -> Self:
48 """Create an instance of BotInfoCategory from a JSON string"""
49 return cls(json.loads(json_str))