Coverage for fingerprint_server_sdk / models / search_events_vpn_confidence.py: 92%

12 statements  

« prev     ^ index     » next       coverage.py v7.13.4, created at 2026-03-11 18:41 +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. 

5 

6The version of the OpenAPI document: 4 

7Contact: support@fingerprint.com 

8Generated by OpenAPI Generator (https://openapi-generator.tech) 

9 

10Do not edit the class manually. 

11""" # noqa: E501 

12 

13from __future__ import annotations 

14 

15import json 

16from enum import Enum 

17 

18from typing_extensions import Self 

19 

20 

21class SearchEventsVpnConfidence(str, Enum): 

22 """ 

23 Filter events by VPN Detection result confidence level. `high` - events with high VPN Detection confidence. `medium` - events with medium VPN Detection confidence. `low` - events with low VPN Detection confidence. > Note: When using this parameter, only events with the `vpn.confidence` property set to a valid value are returned. Events without a `vpn` Smart Signal result are left out of the response. 

24 """ 

25 

26 """ 

27 allowed enum values 

28 """ 

29 HIGH = 'high' 

30 MEDIUM = 'medium' 

31 LOW = 'low' 

32 

33 @classmethod 

34 def from_json(cls, json_str: str) -> Self: 

35 """Create an instance of SearchEventsVpnConfidence from a JSON string""" 

36 return cls(json.loads(json_str))