Coverage for fingerprint_pro_server_api_sdk/models/webhook.py: 49%
444 statements
« prev ^ index » next coverage.py v7.10.1, created at 2025-07-30 17:13 +0000
« prev ^ index » next coverage.py v7.10.1, created at 2025-07-30 17:13 +0000
1# coding: utf-8
3"""
4 Fingerprint Server API
6 Fingerprint Server API allows you to search, update, and delete identification events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server 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. # noqa: E501
8 OpenAPI spec version: 3
9 Contact: support@fingerprint.com
10 Generated by: https://github.com/swagger-api/swagger-codegen.git
11"""
13import re # noqa: F401
14from typing import Dict, List, Optional # noqa: F401
15from fingerprint_pro_server_api_sdk.base_model import BaseModel
16from fingerprint_pro_server_api_sdk.models.tag import Tag
17from datetime import datetime
18from fingerprint_pro_server_api_sdk.models.deprecated_geolocation import DeprecatedGeolocation
19from fingerprint_pro_server_api_sdk.models.identification_confidence import IdentificationConfidence
20from fingerprint_pro_server_api_sdk.models.identification_seen_at import IdentificationSeenAt
21from fingerprint_pro_server_api_sdk.models.identification_seen_at import IdentificationSeenAt
22from fingerprint_pro_server_api_sdk.models.browser_details import BrowserDetails
23from fingerprint_pro_server_api_sdk.models.raw_device_attributes import RawDeviceAttributes
24from fingerprint_pro_server_api_sdk.models.botd_bot import BotdBot
25from fingerprint_pro_server_api_sdk.models.webhook_root_apps import WebhookRootApps
26from fingerprint_pro_server_api_sdk.models.webhook_emulator import WebhookEmulator
27from fingerprint_pro_server_api_sdk.models.webhook_ip_info import WebhookIPInfo
28from fingerprint_pro_server_api_sdk.models.webhook_ip_blocklist import WebhookIPBlocklist
29from fingerprint_pro_server_api_sdk.models.webhook_tor import WebhookTor
30from fingerprint_pro_server_api_sdk.models.webhook_vpn import WebhookVPN
31from fingerprint_pro_server_api_sdk.models.webhook_proxy import WebhookProxy
32from fingerprint_pro_server_api_sdk.models.webhook_tampering import WebhookTampering
33from fingerprint_pro_server_api_sdk.models.webhook_cloned_app import WebhookClonedApp
34from fingerprint_pro_server_api_sdk.models.webhook_factory_reset import WebhookFactoryReset
35from fingerprint_pro_server_api_sdk.models.webhook_jailbroken import WebhookJailbroken
36from fingerprint_pro_server_api_sdk.models.webhook_frida import WebhookFrida
37from fingerprint_pro_server_api_sdk.models.webhook_privacy_settings import WebhookPrivacySettings
38from fingerprint_pro_server_api_sdk.models.webhook_virtual_machine import WebhookVirtualMachine
39from fingerprint_pro_server_api_sdk.models.webhook_raw_device_attributes import WebhookRawDeviceAttributes
40from fingerprint_pro_server_api_sdk.models.webhook_high_activity import WebhookHighActivity
41from fingerprint_pro_server_api_sdk.models.webhook_location_spoofing import WebhookLocationSpoofing
42from fingerprint_pro_server_api_sdk.models.webhook_suspect_score import WebhookSuspectScore
43from fingerprint_pro_server_api_sdk.models.webhook_remote_control import WebhookRemoteControl
44from fingerprint_pro_server_api_sdk.models.webhook_velocity import WebhookVelocity
45from fingerprint_pro_server_api_sdk.models.webhook_developer_tools import WebhookDeveloperTools
46from fingerprint_pro_server_api_sdk.models.webhook_mit_m_attack import WebhookMitMAttack
47from fingerprint_pro_server_api_sdk.models.sdk import SDK
50class Webhook(BaseModel):
51 """NOTE: This class is auto generated by the swagger code generator program.
53 Do not edit the class manually.
54 """
55 """
56 Attributes:
57 swagger_types (dict): The key is attribute name
58 and the value is attribute type.
59 attribute_map (dict): The key is attribute name
60 and the value is json key in definition.
61 """
62 swagger_types = {
63 'request_id': 'str',
64 'url': 'str',
65 'ip': 'str',
66 'environment_id': 'str',
67 'tag': 'Tag',
68 'time': 'datetime',
69 'timestamp': 'int',
70 'ip_location': 'DeprecatedGeolocation',
71 'linked_id': 'str',
72 'visitor_id': 'str',
73 'visitor_found': 'bool',
74 'confidence': 'IdentificationConfidence',
75 'first_seen_at': 'IdentificationSeenAt',
76 'last_seen_at': 'IdentificationSeenAt',
77 'browser_details': 'BrowserDetails',
78 'incognito': 'bool',
79 'client_referrer': 'str',
80 'components': 'RawDeviceAttributes',
81 'bot': 'BotdBot',
82 'user_agent': 'str',
83 'root_apps': 'WebhookRootApps',
84 'emulator': 'WebhookEmulator',
85 'ip_info': 'WebhookIPInfo',
86 'ip_blocklist': 'WebhookIPBlocklist',
87 'tor': 'WebhookTor',
88 'vpn': 'WebhookVPN',
89 'proxy': 'WebhookProxy',
90 'tampering': 'WebhookTampering',
91 'cloned_app': 'WebhookClonedApp',
92 'factory_reset': 'WebhookFactoryReset',
93 'jailbroken': 'WebhookJailbroken',
94 'frida': 'WebhookFrida',
95 'privacy_settings': 'WebhookPrivacySettings',
96 'virtual_machine': 'WebhookVirtualMachine',
97 'raw_device_attributes': 'WebhookRawDeviceAttributes',
98 'high_activity': 'WebhookHighActivity',
99 'location_spoofing': 'WebhookLocationSpoofing',
100 'suspect_score': 'WebhookSuspectScore',
101 'remote_control': 'WebhookRemoteControl',
102 'velocity': 'WebhookVelocity',
103 'developer_tools': 'WebhookDeveloperTools',
104 'mitm_attack': 'WebhookMitMAttack',
105 'replayed': 'bool',
106 'sdk': 'SDK'
107 }
109 nullable_map = {
110 'request_id': False,
111 'url': False,
112 'ip': False,
113 'environment_id': False,
114 'tag': False,
115 'time': False,
116 'timestamp': False,
117 'ip_location': False,
118 'linked_id': False,
119 'visitor_id': False,
120 'visitor_found': False,
121 'confidence': False,
122 'first_seen_at': False,
123 'last_seen_at': False,
124 'browser_details': False,
125 'incognito': False,
126 'client_referrer': False,
127 'components': False,
128 'bot': False,
129 'user_agent': False,
130 'root_apps': False,
131 'emulator': False,
132 'ip_info': False,
133 'ip_blocklist': False,
134 'tor': False,
135 'vpn': False,
136 'proxy': False,
137 'tampering': False,
138 'cloned_app': False,
139 'factory_reset': False,
140 'jailbroken': False,
141 'frida': False,
142 'privacy_settings': False,
143 'virtual_machine': False,
144 'raw_device_attributes': False,
145 'high_activity': False,
146 'location_spoofing': False,
147 'suspect_score': False,
148 'remote_control': False,
149 'velocity': False,
150 'developer_tools': False,
151 'mitm_attack': False,
152 'replayed': False,
153 'sdk': False
154 }
156 attribute_map = {
157 'request_id': 'requestId',
158 'url': 'url',
159 'ip': 'ip',
160 'environment_id': 'environmentId',
161 'tag': 'tag',
162 'time': 'time',
163 'timestamp': 'timestamp',
164 'ip_location': 'ipLocation',
165 'linked_id': 'linkedId',
166 'visitor_id': 'visitorId',
167 'visitor_found': 'visitorFound',
168 'confidence': 'confidence',
169 'first_seen_at': 'firstSeenAt',
170 'last_seen_at': 'lastSeenAt',
171 'browser_details': 'browserDetails',
172 'incognito': 'incognito',
173 'client_referrer': 'clientReferrer',
174 'components': 'components',
175 'bot': 'bot',
176 'user_agent': 'userAgent',
177 'root_apps': 'rootApps',
178 'emulator': 'emulator',
179 'ip_info': 'ipInfo',
180 'ip_blocklist': 'ipBlocklist',
181 'tor': 'tor',
182 'vpn': 'vpn',
183 'proxy': 'proxy',
184 'tampering': 'tampering',
185 'cloned_app': 'clonedApp',
186 'factory_reset': 'factoryReset',
187 'jailbroken': 'jailbroken',
188 'frida': 'frida',
189 'privacy_settings': 'privacySettings',
190 'virtual_machine': 'virtualMachine',
191 'raw_device_attributes': 'rawDeviceAttributes',
192 'high_activity': 'highActivity',
193 'location_spoofing': 'locationSpoofing',
194 'suspect_score': 'suspectScore',
195 'remote_control': 'remoteControl',
196 'velocity': 'velocity',
197 'developer_tools': 'developerTools',
198 'mitm_attack': 'mitmAttack',
199 'replayed': 'replayed',
200 'sdk': 'sdk'
201 }
203 def __init__(self, request_id=None, url=None, ip=None, environment_id=None, tag=None, time=None, timestamp=None, ip_location=None, linked_id=None, visitor_id=None, visitor_found=None, confidence=None, first_seen_at=None, last_seen_at=None, browser_details=None, incognito=None, client_referrer=None, components=None, bot=None, user_agent=None, root_apps=None, emulator=None, ip_info=None, ip_blocklist=None, tor=None, vpn=None, proxy=None, tampering=None, cloned_app=None, factory_reset=None, jailbroken=None, frida=None, privacy_settings=None, virtual_machine=None, raw_device_attributes=None, high_activity=None, location_spoofing=None, suspect_score=None, remote_control=None, velocity=None, developer_tools=None, mitm_attack=None, replayed=None, sdk=None): # noqa: E501
204 """Webhook - a model defined in Swagger""" # noqa: E501
205 self._request_id = None
206 self._url = None
207 self._ip = None
208 self._environment_id = None
209 self._tag = None
210 self._time = None
211 self._timestamp = None
212 self._ip_location = None
213 self._linked_id = None
214 self._visitor_id = None
215 self._visitor_found = None
216 self._confidence = None
217 self._first_seen_at = None
218 self._last_seen_at = None
219 self._browser_details = None
220 self._incognito = None
221 self._client_referrer = None
222 self._components = None
223 self._bot = None
224 self._user_agent = None
225 self._root_apps = None
226 self._emulator = None
227 self._ip_info = None
228 self._ip_blocklist = None
229 self._tor = None
230 self._vpn = None
231 self._proxy = None
232 self._tampering = None
233 self._cloned_app = None
234 self._factory_reset = None
235 self._jailbroken = None
236 self._frida = None
237 self._privacy_settings = None
238 self._virtual_machine = None
239 self._raw_device_attributes = None
240 self._high_activity = None
241 self._location_spoofing = None
242 self._suspect_score = None
243 self._remote_control = None
244 self._velocity = None
245 self._developer_tools = None
246 self._mitm_attack = None
247 self._replayed = None
248 self._sdk = None
249 self.discriminator = None
250 self.request_id = request_id
251 self.url = url
252 self.ip = ip
253 if environment_id is not None:
254 self.environment_id = environment_id
255 if tag is not None:
256 self.tag = tag
257 self.time = time
258 self.timestamp = timestamp
259 if ip_location is not None:
260 self.ip_location = ip_location
261 if linked_id is not None:
262 self.linked_id = linked_id
263 if visitor_id is not None:
264 self.visitor_id = visitor_id
265 if visitor_found is not None:
266 self.visitor_found = visitor_found
267 if confidence is not None:
268 self.confidence = confidence
269 if first_seen_at is not None:
270 self.first_seen_at = first_seen_at
271 if last_seen_at is not None:
272 self.last_seen_at = last_seen_at
273 if browser_details is not None:
274 self.browser_details = browser_details
275 if incognito is not None:
276 self.incognito = incognito
277 if client_referrer is not None:
278 self.client_referrer = client_referrer
279 if components is not None:
280 self.components = components
281 if bot is not None:
282 self.bot = bot
283 if user_agent is not None:
284 self.user_agent = user_agent
285 if root_apps is not None:
286 self.root_apps = root_apps
287 if emulator is not None:
288 self.emulator = emulator
289 if ip_info is not None:
290 self.ip_info = ip_info
291 if ip_blocklist is not None:
292 self.ip_blocklist = ip_blocklist
293 if tor is not None:
294 self.tor = tor
295 if vpn is not None:
296 self.vpn = vpn
297 if proxy is not None:
298 self.proxy = proxy
299 if tampering is not None:
300 self.tampering = tampering
301 if cloned_app is not None:
302 self.cloned_app = cloned_app
303 if factory_reset is not None:
304 self.factory_reset = factory_reset
305 if jailbroken is not None:
306 self.jailbroken = jailbroken
307 if frida is not None:
308 self.frida = frida
309 if privacy_settings is not None:
310 self.privacy_settings = privacy_settings
311 if virtual_machine is not None:
312 self.virtual_machine = virtual_machine
313 if raw_device_attributes is not None:
314 self.raw_device_attributes = raw_device_attributes
315 if high_activity is not None:
316 self.high_activity = high_activity
317 if location_spoofing is not None:
318 self.location_spoofing = location_spoofing
319 if suspect_score is not None:
320 self.suspect_score = suspect_score
321 if remote_control is not None:
322 self.remote_control = remote_control
323 if velocity is not None:
324 self.velocity = velocity
325 if developer_tools is not None:
326 self.developer_tools = developer_tools
327 if mitm_attack is not None:
328 self.mitm_attack = mitm_attack
329 if replayed is not None:
330 self.replayed = replayed
331 self.sdk = sdk
333 @property
334 def request_id(self) -> str:
335 """Gets the request_id of this Webhook. # noqa: E501
337 Unique identifier of the user's request. # noqa: E501
339 :return: The request_id of this Webhook. # noqa: E501
340 """
341 return self._request_id
343 @request_id.setter
344 def request_id(self, request_id: str):
345 """Sets the request_id of this Webhook.
347 Unique identifier of the user's request. # noqa: E501
349 :param request_id: The request_id of this Webhook. # noqa: E501
350 """
351 if request_id is None:
352 raise ValueError("Invalid value for `request_id`, must not be `None`") # noqa: E501
354 self._request_id = request_id
356 @property
357 def url(self) -> str:
358 """Gets the url of this Webhook. # noqa: E501
360 Page URL from which the request was sent. # noqa: E501
362 :return: The url of this Webhook. # noqa: E501
363 """
364 return self._url
366 @url.setter
367 def url(self, url: str):
368 """Sets the url of this Webhook.
370 Page URL from which the request was sent. # noqa: E501
372 :param url: The url of this Webhook. # noqa: E501
373 """
374 if url is None:
375 raise ValueError("Invalid value for `url`, must not be `None`") # noqa: E501
377 self._url = url
379 @property
380 def ip(self) -> str:
381 """Gets the ip of this Webhook. # noqa: E501
383 IP address of the requesting browser or bot. # noqa: E501
385 :return: The ip of this Webhook. # noqa: E501
386 """
387 return self._ip
389 @ip.setter
390 def ip(self, ip: str):
391 """Sets the ip of this Webhook.
393 IP address of the requesting browser or bot. # noqa: E501
395 :param ip: The ip of this Webhook. # noqa: E501
396 """
397 if ip is None:
398 raise ValueError("Invalid value for `ip`, must not be `None`") # noqa: E501
400 self._ip = ip
402 @property
403 def environment_id(self) -> Optional[str]:
404 """Gets the environment_id of this Webhook. # noqa: E501
406 Environment ID of the event. # noqa: E501
408 :return: The environment_id of this Webhook. # noqa: E501
409 """
410 return self._environment_id
412 @environment_id.setter
413 def environment_id(self, environment_id: Optional[str]):
414 """Sets the environment_id of this Webhook.
416 Environment ID of the event. # noqa: E501
418 :param environment_id: The environment_id of this Webhook. # noqa: E501
419 """
421 self._environment_id = environment_id
423 @property
424 def tag(self) -> Optional[Tag]:
425 """Gets the tag of this Webhook. # noqa: E501
428 :return: The tag of this Webhook. # noqa: E501
429 """
430 return self._tag
432 @tag.setter
433 def tag(self, tag: Optional[Tag]):
434 """Sets the tag of this Webhook.
437 :param tag: The tag of this Webhook. # noqa: E501
438 """
440 self._tag = tag
442 @property
443 def time(self) -> datetime:
444 """Gets the time of this Webhook. # noqa: E501
446 Time expressed according to ISO 8601 in UTC format, when the request from the JS agent was made. We recommend to treat requests that are older than 2 minutes as malicious. Otherwise, request replay attacks are possible. # noqa: E501
448 :return: The time of this Webhook. # noqa: E501
449 """
450 return self._time
452 @time.setter
453 def time(self, time: datetime):
454 """Sets the time of this Webhook.
456 Time expressed according to ISO 8601 in UTC format, when the request from the JS agent was made. We recommend to treat requests that are older than 2 minutes as malicious. Otherwise, request replay attacks are possible. # noqa: E501
458 :param time: The time of this Webhook. # noqa: E501
459 """
460 if time is None:
461 raise ValueError("Invalid value for `time`, must not be `None`") # noqa: E501
463 self._time = time
465 @property
466 def timestamp(self) -> int:
467 """Gets the timestamp of this Webhook. # noqa: E501
469 Timestamp of the event with millisecond precision in Unix time. # noqa: E501
471 :return: The timestamp of this Webhook. # noqa: E501
472 """
473 return self._timestamp
475 @timestamp.setter
476 def timestamp(self, timestamp: int):
477 """Sets the timestamp of this Webhook.
479 Timestamp of the event with millisecond precision in Unix time. # noqa: E501
481 :param timestamp: The timestamp of this Webhook. # noqa: E501
482 """
483 if timestamp is None:
484 raise ValueError("Invalid value for `timestamp`, must not be `None`") # noqa: E501
486 self._timestamp = timestamp
488 @property
489 def ip_location(self) -> Optional[DeprecatedGeolocation]:
490 """Gets the ip_location of this Webhook. # noqa: E501
493 :return: The ip_location of this Webhook. # noqa: E501
494 """
495 return self._ip_location
497 @ip_location.setter
498 def ip_location(self, ip_location: Optional[DeprecatedGeolocation]):
499 """Sets the ip_location of this Webhook.
502 :param ip_location: The ip_location of this Webhook. # noqa: E501
503 """
505 self._ip_location = ip_location
507 @property
508 def linked_id(self) -> Optional[str]:
509 """Gets the linked_id of this Webhook. # noqa: E501
511 A customer-provided id that was sent with the request. # noqa: E501
513 :return: The linked_id of this Webhook. # noqa: E501
514 """
515 return self._linked_id
517 @linked_id.setter
518 def linked_id(self, linked_id: Optional[str]):
519 """Sets the linked_id of this Webhook.
521 A customer-provided id that was sent with the request. # noqa: E501
523 :param linked_id: The linked_id of this Webhook. # noqa: E501
524 """
526 self._linked_id = linked_id
528 @property
529 def visitor_id(self) -> Optional[str]:
530 """Gets the visitor_id of this Webhook. # noqa: E501
532 String of 20 characters that uniquely identifies the visitor's browser. # noqa: E501
534 :return: The visitor_id of this Webhook. # noqa: E501
535 """
536 return self._visitor_id
538 @visitor_id.setter
539 def visitor_id(self, visitor_id: Optional[str]):
540 """Sets the visitor_id of this Webhook.
542 String of 20 characters that uniquely identifies the visitor's browser. # noqa: E501
544 :param visitor_id: The visitor_id of this Webhook. # noqa: E501
545 """
547 self._visitor_id = visitor_id
549 @property
550 def visitor_found(self) -> Optional[bool]:
551 """Gets the visitor_found of this Webhook. # noqa: E501
553 Attribute represents if a visitor had been identified before. # noqa: E501
555 :return: The visitor_found of this Webhook. # noqa: E501
556 """
557 return self._visitor_found
559 @visitor_found.setter
560 def visitor_found(self, visitor_found: Optional[bool]):
561 """Sets the visitor_found of this Webhook.
563 Attribute represents if a visitor had been identified before. # noqa: E501
565 :param visitor_found: The visitor_found of this Webhook. # noqa: E501
566 """
568 self._visitor_found = visitor_found
570 @property
571 def confidence(self) -> Optional[IdentificationConfidence]:
572 """Gets the confidence of this Webhook. # noqa: E501
575 :return: The confidence of this Webhook. # noqa: E501
576 """
577 return self._confidence
579 @confidence.setter
580 def confidence(self, confidence: Optional[IdentificationConfidence]):
581 """Sets the confidence of this Webhook.
584 :param confidence: The confidence of this Webhook. # noqa: E501
585 """
587 self._confidence = confidence
589 @property
590 def first_seen_at(self) -> Optional[IdentificationSeenAt]:
591 """Gets the first_seen_at of this Webhook. # noqa: E501
594 :return: The first_seen_at of this Webhook. # noqa: E501
595 """
596 return self._first_seen_at
598 @first_seen_at.setter
599 def first_seen_at(self, first_seen_at: Optional[IdentificationSeenAt]):
600 """Sets the first_seen_at of this Webhook.
603 :param first_seen_at: The first_seen_at of this Webhook. # noqa: E501
604 """
606 self._first_seen_at = first_seen_at
608 @property
609 def last_seen_at(self) -> Optional[IdentificationSeenAt]:
610 """Gets the last_seen_at of this Webhook. # noqa: E501
613 :return: The last_seen_at of this Webhook. # noqa: E501
614 """
615 return self._last_seen_at
617 @last_seen_at.setter
618 def last_seen_at(self, last_seen_at: Optional[IdentificationSeenAt]):
619 """Sets the last_seen_at of this Webhook.
622 :param last_seen_at: The last_seen_at of this Webhook. # noqa: E501
623 """
625 self._last_seen_at = last_seen_at
627 @property
628 def browser_details(self) -> Optional[BrowserDetails]:
629 """Gets the browser_details of this Webhook. # noqa: E501
632 :return: The browser_details of this Webhook. # noqa: E501
633 """
634 return self._browser_details
636 @browser_details.setter
637 def browser_details(self, browser_details: Optional[BrowserDetails]):
638 """Sets the browser_details of this Webhook.
641 :param browser_details: The browser_details of this Webhook. # noqa: E501
642 """
644 self._browser_details = browser_details
646 @property
647 def incognito(self) -> Optional[bool]:
648 """Gets the incognito of this Webhook. # noqa: E501
650 Flag if user used incognito session. # noqa: E501
652 :return: The incognito of this Webhook. # noqa: E501
653 """
654 return self._incognito
656 @incognito.setter
657 def incognito(self, incognito: Optional[bool]):
658 """Sets the incognito of this Webhook.
660 Flag if user used incognito session. # noqa: E501
662 :param incognito: The incognito of this Webhook. # noqa: E501
663 """
665 self._incognito = incognito
667 @property
668 def client_referrer(self) -> Optional[str]:
669 """Gets the client_referrer of this Webhook. # noqa: E501
672 :return: The client_referrer of this Webhook. # noqa: E501
673 """
674 return self._client_referrer
676 @client_referrer.setter
677 def client_referrer(self, client_referrer: Optional[str]):
678 """Sets the client_referrer of this Webhook.
681 :param client_referrer: The client_referrer of this Webhook. # noqa: E501
682 """
684 self._client_referrer = client_referrer
686 @property
687 def components(self) -> Optional[RawDeviceAttributes]:
688 """Gets the components of this Webhook. # noqa: E501
691 :return: The components of this Webhook. # noqa: E501
692 """
693 return self._components
695 @components.setter
696 def components(self, components: Optional[RawDeviceAttributes]):
697 """Sets the components of this Webhook.
700 :param components: The components of this Webhook. # noqa: E501
701 """
703 self._components = components
705 @property
706 def bot(self) -> Optional[BotdBot]:
707 """Gets the bot of this Webhook. # noqa: E501
710 :return: The bot of this Webhook. # noqa: E501
711 """
712 return self._bot
714 @bot.setter
715 def bot(self, bot: Optional[BotdBot]):
716 """Sets the bot of this Webhook.
719 :param bot: The bot of this Webhook. # noqa: E501
720 """
722 self._bot = bot
724 @property
725 def user_agent(self) -> Optional[str]:
726 """Gets the user_agent of this Webhook. # noqa: E501
729 :return: The user_agent of this Webhook. # noqa: E501
730 """
731 return self._user_agent
733 @user_agent.setter
734 def user_agent(self, user_agent: Optional[str]):
735 """Sets the user_agent of this Webhook.
738 :param user_agent: The user_agent of this Webhook. # noqa: E501
739 """
741 self._user_agent = user_agent
743 @property
744 def root_apps(self) -> Optional[WebhookRootApps]:
745 """Gets the root_apps of this Webhook. # noqa: E501
748 :return: The root_apps of this Webhook. # noqa: E501
749 """
750 return self._root_apps
752 @root_apps.setter
753 def root_apps(self, root_apps: Optional[WebhookRootApps]):
754 """Sets the root_apps of this Webhook.
757 :param root_apps: The root_apps of this Webhook. # noqa: E501
758 """
760 self._root_apps = root_apps
762 @property
763 def emulator(self) -> Optional[WebhookEmulator]:
764 """Gets the emulator of this Webhook. # noqa: E501
767 :return: The emulator of this Webhook. # noqa: E501
768 """
769 return self._emulator
771 @emulator.setter
772 def emulator(self, emulator: Optional[WebhookEmulator]):
773 """Sets the emulator of this Webhook.
776 :param emulator: The emulator of this Webhook. # noqa: E501
777 """
779 self._emulator = emulator
781 @property
782 def ip_info(self) -> Optional[WebhookIPInfo]:
783 """Gets the ip_info of this Webhook. # noqa: E501
786 :return: The ip_info of this Webhook. # noqa: E501
787 """
788 return self._ip_info
790 @ip_info.setter
791 def ip_info(self, ip_info: Optional[WebhookIPInfo]):
792 """Sets the ip_info of this Webhook.
795 :param ip_info: The ip_info of this Webhook. # noqa: E501
796 """
798 self._ip_info = ip_info
800 @property
801 def ip_blocklist(self) -> Optional[WebhookIPBlocklist]:
802 """Gets the ip_blocklist of this Webhook. # noqa: E501
805 :return: The ip_blocklist of this Webhook. # noqa: E501
806 """
807 return self._ip_blocklist
809 @ip_blocklist.setter
810 def ip_blocklist(self, ip_blocklist: Optional[WebhookIPBlocklist]):
811 """Sets the ip_blocklist of this Webhook.
814 :param ip_blocklist: The ip_blocklist of this Webhook. # noqa: E501
815 """
817 self._ip_blocklist = ip_blocklist
819 @property
820 def tor(self) -> Optional[WebhookTor]:
821 """Gets the tor of this Webhook. # noqa: E501
824 :return: The tor of this Webhook. # noqa: E501
825 """
826 return self._tor
828 @tor.setter
829 def tor(self, tor: Optional[WebhookTor]):
830 """Sets the tor of this Webhook.
833 :param tor: The tor of this Webhook. # noqa: E501
834 """
836 self._tor = tor
838 @property
839 def vpn(self) -> Optional[WebhookVPN]:
840 """Gets the vpn of this Webhook. # noqa: E501
843 :return: The vpn of this Webhook. # noqa: E501
844 """
845 return self._vpn
847 @vpn.setter
848 def vpn(self, vpn: Optional[WebhookVPN]):
849 """Sets the vpn of this Webhook.
852 :param vpn: The vpn of this Webhook. # noqa: E501
853 """
855 self._vpn = vpn
857 @property
858 def proxy(self) -> Optional[WebhookProxy]:
859 """Gets the proxy of this Webhook. # noqa: E501
862 :return: The proxy of this Webhook. # noqa: E501
863 """
864 return self._proxy
866 @proxy.setter
867 def proxy(self, proxy: Optional[WebhookProxy]):
868 """Sets the proxy of this Webhook.
871 :param proxy: The proxy of this Webhook. # noqa: E501
872 """
874 self._proxy = proxy
876 @property
877 def tampering(self) -> Optional[WebhookTampering]:
878 """Gets the tampering of this Webhook. # noqa: E501
881 :return: The tampering of this Webhook. # noqa: E501
882 """
883 return self._tampering
885 @tampering.setter
886 def tampering(self, tampering: Optional[WebhookTampering]):
887 """Sets the tampering of this Webhook.
890 :param tampering: The tampering of this Webhook. # noqa: E501
891 """
893 self._tampering = tampering
895 @property
896 def cloned_app(self) -> Optional[WebhookClonedApp]:
897 """Gets the cloned_app of this Webhook. # noqa: E501
900 :return: The cloned_app of this Webhook. # noqa: E501
901 """
902 return self._cloned_app
904 @cloned_app.setter
905 def cloned_app(self, cloned_app: Optional[WebhookClonedApp]):
906 """Sets the cloned_app of this Webhook.
909 :param cloned_app: The cloned_app of this Webhook. # noqa: E501
910 """
912 self._cloned_app = cloned_app
914 @property
915 def factory_reset(self) -> Optional[WebhookFactoryReset]:
916 """Gets the factory_reset of this Webhook. # noqa: E501
919 :return: The factory_reset of this Webhook. # noqa: E501
920 """
921 return self._factory_reset
923 @factory_reset.setter
924 def factory_reset(self, factory_reset: Optional[WebhookFactoryReset]):
925 """Sets the factory_reset of this Webhook.
928 :param factory_reset: The factory_reset of this Webhook. # noqa: E501
929 """
931 self._factory_reset = factory_reset
933 @property
934 def jailbroken(self) -> Optional[WebhookJailbroken]:
935 """Gets the jailbroken of this Webhook. # noqa: E501
938 :return: The jailbroken of this Webhook. # noqa: E501
939 """
940 return self._jailbroken
942 @jailbroken.setter
943 def jailbroken(self, jailbroken: Optional[WebhookJailbroken]):
944 """Sets the jailbroken of this Webhook.
947 :param jailbroken: The jailbroken of this Webhook. # noqa: E501
948 """
950 self._jailbroken = jailbroken
952 @property
953 def frida(self) -> Optional[WebhookFrida]:
954 """Gets the frida of this Webhook. # noqa: E501
957 :return: The frida of this Webhook. # noqa: E501
958 """
959 return self._frida
961 @frida.setter
962 def frida(self, frida: Optional[WebhookFrida]):
963 """Sets the frida of this Webhook.
966 :param frida: The frida of this Webhook. # noqa: E501
967 """
969 self._frida = frida
971 @property
972 def privacy_settings(self) -> Optional[WebhookPrivacySettings]:
973 """Gets the privacy_settings of this Webhook. # noqa: E501
976 :return: The privacy_settings of this Webhook. # noqa: E501
977 """
978 return self._privacy_settings
980 @privacy_settings.setter
981 def privacy_settings(self, privacy_settings: Optional[WebhookPrivacySettings]):
982 """Sets the privacy_settings of this Webhook.
985 :param privacy_settings: The privacy_settings of this Webhook. # noqa: E501
986 """
988 self._privacy_settings = privacy_settings
990 @property
991 def virtual_machine(self) -> Optional[WebhookVirtualMachine]:
992 """Gets the virtual_machine of this Webhook. # noqa: E501
995 :return: The virtual_machine of this Webhook. # noqa: E501
996 """
997 return self._virtual_machine
999 @virtual_machine.setter
1000 def virtual_machine(self, virtual_machine: Optional[WebhookVirtualMachine]):
1001 """Sets the virtual_machine of this Webhook.
1004 :param virtual_machine: The virtual_machine of this Webhook. # noqa: E501
1005 """
1007 self._virtual_machine = virtual_machine
1009 @property
1010 def raw_device_attributes(self) -> Optional[WebhookRawDeviceAttributes]:
1011 """Gets the raw_device_attributes of this Webhook. # noqa: E501
1014 :return: The raw_device_attributes of this Webhook. # noqa: E501
1015 """
1016 return self._raw_device_attributes
1018 @raw_device_attributes.setter
1019 def raw_device_attributes(self, raw_device_attributes: Optional[WebhookRawDeviceAttributes]):
1020 """Sets the raw_device_attributes of this Webhook.
1023 :param raw_device_attributes: The raw_device_attributes of this Webhook. # noqa: E501
1024 """
1026 self._raw_device_attributes = raw_device_attributes
1028 @property
1029 def high_activity(self) -> Optional[WebhookHighActivity]:
1030 """Gets the high_activity of this Webhook. # noqa: E501
1033 :return: The high_activity of this Webhook. # noqa: E501
1034 """
1035 return self._high_activity
1037 @high_activity.setter
1038 def high_activity(self, high_activity: Optional[WebhookHighActivity]):
1039 """Sets the high_activity of this Webhook.
1042 :param high_activity: The high_activity of this Webhook. # noqa: E501
1043 """
1045 self._high_activity = high_activity
1047 @property
1048 def location_spoofing(self) -> Optional[WebhookLocationSpoofing]:
1049 """Gets the location_spoofing of this Webhook. # noqa: E501
1052 :return: The location_spoofing of this Webhook. # noqa: E501
1053 """
1054 return self._location_spoofing
1056 @location_spoofing.setter
1057 def location_spoofing(self, location_spoofing: Optional[WebhookLocationSpoofing]):
1058 """Sets the location_spoofing of this Webhook.
1061 :param location_spoofing: The location_spoofing of this Webhook. # noqa: E501
1062 """
1064 self._location_spoofing = location_spoofing
1066 @property
1067 def suspect_score(self) -> Optional[WebhookSuspectScore]:
1068 """Gets the suspect_score of this Webhook. # noqa: E501
1071 :return: The suspect_score of this Webhook. # noqa: E501
1072 """
1073 return self._suspect_score
1075 @suspect_score.setter
1076 def suspect_score(self, suspect_score: Optional[WebhookSuspectScore]):
1077 """Sets the suspect_score of this Webhook.
1080 :param suspect_score: The suspect_score of this Webhook. # noqa: E501
1081 """
1083 self._suspect_score = suspect_score
1085 @property
1086 def remote_control(self) -> Optional[WebhookRemoteControl]:
1087 """Gets the remote_control of this Webhook. # noqa: E501
1090 :return: The remote_control of this Webhook. # noqa: E501
1091 """
1092 return self._remote_control
1094 @remote_control.setter
1095 def remote_control(self, remote_control: Optional[WebhookRemoteControl]):
1096 """Sets the remote_control of this Webhook.
1099 :param remote_control: The remote_control of this Webhook. # noqa: E501
1100 """
1102 self._remote_control = remote_control
1104 @property
1105 def velocity(self) -> Optional[WebhookVelocity]:
1106 """Gets the velocity of this Webhook. # noqa: E501
1109 :return: The velocity of this Webhook. # noqa: E501
1110 """
1111 return self._velocity
1113 @velocity.setter
1114 def velocity(self, velocity: Optional[WebhookVelocity]):
1115 """Sets the velocity of this Webhook.
1118 :param velocity: The velocity of this Webhook. # noqa: E501
1119 """
1121 self._velocity = velocity
1123 @property
1124 def developer_tools(self) -> Optional[WebhookDeveloperTools]:
1125 """Gets the developer_tools of this Webhook. # noqa: E501
1128 :return: The developer_tools of this Webhook. # noqa: E501
1129 """
1130 return self._developer_tools
1132 @developer_tools.setter
1133 def developer_tools(self, developer_tools: Optional[WebhookDeveloperTools]):
1134 """Sets the developer_tools of this Webhook.
1137 :param developer_tools: The developer_tools of this Webhook. # noqa: E501
1138 """
1140 self._developer_tools = developer_tools
1142 @property
1143 def mitm_attack(self) -> Optional[WebhookMitMAttack]:
1144 """Gets the mitm_attack of this Webhook. # noqa: E501
1147 :return: The mitm_attack of this Webhook. # noqa: E501
1148 """
1149 return self._mitm_attack
1151 @mitm_attack.setter
1152 def mitm_attack(self, mitm_attack: Optional[WebhookMitMAttack]):
1153 """Sets the mitm_attack of this Webhook.
1156 :param mitm_attack: The mitm_attack of this Webhook. # noqa: E501
1157 """
1159 self._mitm_attack = mitm_attack
1161 @property
1162 def replayed(self) -> Optional[bool]:
1163 """Gets the replayed of this Webhook. # noqa: E501
1165 `true` if we determined that this payload was replayed, `false` otherwise. # noqa: E501
1167 :return: The replayed of this Webhook. # noqa: E501
1168 """
1169 return self._replayed
1171 @replayed.setter
1172 def replayed(self, replayed: Optional[bool]):
1173 """Sets the replayed of this Webhook.
1175 `true` if we determined that this payload was replayed, `false` otherwise. # noqa: E501
1177 :param replayed: The replayed of this Webhook. # noqa: E501
1178 """
1180 self._replayed = replayed
1182 @property
1183 def sdk(self) -> SDK:
1184 """Gets the sdk of this Webhook. # noqa: E501
1187 :return: The sdk of this Webhook. # noqa: E501
1188 """
1189 return self._sdk
1191 @sdk.setter
1192 def sdk(self, sdk: SDK):
1193 """Sets the sdk of this Webhook.
1196 :param sdk: The sdk of this Webhook. # noqa: E501
1197 """
1198 if sdk is None:
1199 raise ValueError("Invalid value for `sdk`, must not be `None`") # noqa: E501
1201 self._sdk = sdk