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

1# coding: utf-8 

2 

3""" 

4 Fingerprint Server API 

5 

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 

7 

8 OpenAPI spec version: 3 

9 Contact: support@fingerprint.com 

10 Generated by: https://github.com/swagger-api/swagger-codegen.git 

11""" 

12 

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 

48 

49 

50class Webhook(BaseModel): 

51 """NOTE: This class is auto generated by the swagger code generator program. 

52 

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 } 

108 

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 } 

155 

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 } 

202 

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 

332 

333 @property 

334 def request_id(self) -> str: 

335 """Gets the request_id of this Webhook. # noqa: E501 

336 

337 Unique identifier of the user's request. # noqa: E501 

338 

339 :return: The request_id of this Webhook. # noqa: E501 

340 """ 

341 return self._request_id 

342 

343 @request_id.setter 

344 def request_id(self, request_id: str): 

345 """Sets the request_id of this Webhook. 

346 

347 Unique identifier of the user's request. # noqa: E501 

348 

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 

353 

354 self._request_id = request_id 

355 

356 @property 

357 def url(self) -> str: 

358 """Gets the url of this Webhook. # noqa: E501 

359 

360 Page URL from which the request was sent. # noqa: E501 

361 

362 :return: The url of this Webhook. # noqa: E501 

363 """ 

364 return self._url 

365 

366 @url.setter 

367 def url(self, url: str): 

368 """Sets the url of this Webhook. 

369 

370 Page URL from which the request was sent. # noqa: E501 

371 

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 

376 

377 self._url = url 

378 

379 @property 

380 def ip(self) -> str: 

381 """Gets the ip of this Webhook. # noqa: E501 

382 

383 IP address of the requesting browser or bot. # noqa: E501 

384 

385 :return: The ip of this Webhook. # noqa: E501 

386 """ 

387 return self._ip 

388 

389 @ip.setter 

390 def ip(self, ip: str): 

391 """Sets the ip of this Webhook. 

392 

393 IP address of the requesting browser or bot. # noqa: E501 

394 

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 

399 

400 self._ip = ip 

401 

402 @property 

403 def environment_id(self) -> Optional[str]: 

404 """Gets the environment_id of this Webhook. # noqa: E501 

405 

406 Environment ID of the event. # noqa: E501 

407 

408 :return: The environment_id of this Webhook. # noqa: E501 

409 """ 

410 return self._environment_id 

411 

412 @environment_id.setter 

413 def environment_id(self, environment_id: Optional[str]): 

414 """Sets the environment_id of this Webhook. 

415 

416 Environment ID of the event. # noqa: E501 

417 

418 :param environment_id: The environment_id of this Webhook. # noqa: E501 

419 """ 

420 

421 self._environment_id = environment_id 

422 

423 @property 

424 def tag(self) -> Optional[Tag]: 

425 """Gets the tag of this Webhook. # noqa: E501 

426 

427 

428 :return: The tag of this Webhook. # noqa: E501 

429 """ 

430 return self._tag 

431 

432 @tag.setter 

433 def tag(self, tag: Optional[Tag]): 

434 """Sets the tag of this Webhook. 

435 

436 

437 :param tag: The tag of this Webhook. # noqa: E501 

438 """ 

439 

440 self._tag = tag 

441 

442 @property 

443 def time(self) -> datetime: 

444 """Gets the time of this Webhook. # noqa: E501 

445 

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 

447 

448 :return: The time of this Webhook. # noqa: E501 

449 """ 

450 return self._time 

451 

452 @time.setter 

453 def time(self, time: datetime): 

454 """Sets the time of this Webhook. 

455 

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 

457 

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 

462 

463 self._time = time 

464 

465 @property 

466 def timestamp(self) -> int: 

467 """Gets the timestamp of this Webhook. # noqa: E501 

468 

469 Timestamp of the event with millisecond precision in Unix time. # noqa: E501 

470 

471 :return: The timestamp of this Webhook. # noqa: E501 

472 """ 

473 return self._timestamp 

474 

475 @timestamp.setter 

476 def timestamp(self, timestamp: int): 

477 """Sets the timestamp of this Webhook. 

478 

479 Timestamp of the event with millisecond precision in Unix time. # noqa: E501 

480 

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 

485 

486 self._timestamp = timestamp 

487 

488 @property 

489 def ip_location(self) -> Optional[DeprecatedGeolocation]: 

490 """Gets the ip_location of this Webhook. # noqa: E501 

491 

492 

493 :return: The ip_location of this Webhook. # noqa: E501 

494 """ 

495 return self._ip_location 

496 

497 @ip_location.setter 

498 def ip_location(self, ip_location: Optional[DeprecatedGeolocation]): 

499 """Sets the ip_location of this Webhook. 

500 

501 

502 :param ip_location: The ip_location of this Webhook. # noqa: E501 

503 """ 

504 

505 self._ip_location = ip_location 

506 

507 @property 

508 def linked_id(self) -> Optional[str]: 

509 """Gets the linked_id of this Webhook. # noqa: E501 

510 

511 A customer-provided id that was sent with the request. # noqa: E501 

512 

513 :return: The linked_id of this Webhook. # noqa: E501 

514 """ 

515 return self._linked_id 

516 

517 @linked_id.setter 

518 def linked_id(self, linked_id: Optional[str]): 

519 """Sets the linked_id of this Webhook. 

520 

521 A customer-provided id that was sent with the request. # noqa: E501 

522 

523 :param linked_id: The linked_id of this Webhook. # noqa: E501 

524 """ 

525 

526 self._linked_id = linked_id 

527 

528 @property 

529 def visitor_id(self) -> Optional[str]: 

530 """Gets the visitor_id of this Webhook. # noqa: E501 

531 

532 String of 20 characters that uniquely identifies the visitor's browser. # noqa: E501 

533 

534 :return: The visitor_id of this Webhook. # noqa: E501 

535 """ 

536 return self._visitor_id 

537 

538 @visitor_id.setter 

539 def visitor_id(self, visitor_id: Optional[str]): 

540 """Sets the visitor_id of this Webhook. 

541 

542 String of 20 characters that uniquely identifies the visitor's browser. # noqa: E501 

543 

544 :param visitor_id: The visitor_id of this Webhook. # noqa: E501 

545 """ 

546 

547 self._visitor_id = visitor_id 

548 

549 @property 

550 def visitor_found(self) -> Optional[bool]: 

551 """Gets the visitor_found of this Webhook. # noqa: E501 

552 

553 Attribute represents if a visitor had been identified before. # noqa: E501 

554 

555 :return: The visitor_found of this Webhook. # noqa: E501 

556 """ 

557 return self._visitor_found 

558 

559 @visitor_found.setter 

560 def visitor_found(self, visitor_found: Optional[bool]): 

561 """Sets the visitor_found of this Webhook. 

562 

563 Attribute represents if a visitor had been identified before. # noqa: E501 

564 

565 :param visitor_found: The visitor_found of this Webhook. # noqa: E501 

566 """ 

567 

568 self._visitor_found = visitor_found 

569 

570 @property 

571 def confidence(self) -> Optional[IdentificationConfidence]: 

572 """Gets the confidence of this Webhook. # noqa: E501 

573 

574 

575 :return: The confidence of this Webhook. # noqa: E501 

576 """ 

577 return self._confidence 

578 

579 @confidence.setter 

580 def confidence(self, confidence: Optional[IdentificationConfidence]): 

581 """Sets the confidence of this Webhook. 

582 

583 

584 :param confidence: The confidence of this Webhook. # noqa: E501 

585 """ 

586 

587 self._confidence = confidence 

588 

589 @property 

590 def first_seen_at(self) -> Optional[IdentificationSeenAt]: 

591 """Gets the first_seen_at of this Webhook. # noqa: E501 

592 

593 

594 :return: The first_seen_at of this Webhook. # noqa: E501 

595 """ 

596 return self._first_seen_at 

597 

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. 

601 

602 

603 :param first_seen_at: The first_seen_at of this Webhook. # noqa: E501 

604 """ 

605 

606 self._first_seen_at = first_seen_at 

607 

608 @property 

609 def last_seen_at(self) -> Optional[IdentificationSeenAt]: 

610 """Gets the last_seen_at of this Webhook. # noqa: E501 

611 

612 

613 :return: The last_seen_at of this Webhook. # noqa: E501 

614 """ 

615 return self._last_seen_at 

616 

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. 

620 

621 

622 :param last_seen_at: The last_seen_at of this Webhook. # noqa: E501 

623 """ 

624 

625 self._last_seen_at = last_seen_at 

626 

627 @property 

628 def browser_details(self) -> Optional[BrowserDetails]: 

629 """Gets the browser_details of this Webhook. # noqa: E501 

630 

631 

632 :return: The browser_details of this Webhook. # noqa: E501 

633 """ 

634 return self._browser_details 

635 

636 @browser_details.setter 

637 def browser_details(self, browser_details: Optional[BrowserDetails]): 

638 """Sets the browser_details of this Webhook. 

639 

640 

641 :param browser_details: The browser_details of this Webhook. # noqa: E501 

642 """ 

643 

644 self._browser_details = browser_details 

645 

646 @property 

647 def incognito(self) -> Optional[bool]: 

648 """Gets the incognito of this Webhook. # noqa: E501 

649 

650 Flag if user used incognito session. # noqa: E501 

651 

652 :return: The incognito of this Webhook. # noqa: E501 

653 """ 

654 return self._incognito 

655 

656 @incognito.setter 

657 def incognito(self, incognito: Optional[bool]): 

658 """Sets the incognito of this Webhook. 

659 

660 Flag if user used incognito session. # noqa: E501 

661 

662 :param incognito: The incognito of this Webhook. # noqa: E501 

663 """ 

664 

665 self._incognito = incognito 

666 

667 @property 

668 def client_referrer(self) -> Optional[str]: 

669 """Gets the client_referrer of this Webhook. # noqa: E501 

670 

671 

672 :return: The client_referrer of this Webhook. # noqa: E501 

673 """ 

674 return self._client_referrer 

675 

676 @client_referrer.setter 

677 def client_referrer(self, client_referrer: Optional[str]): 

678 """Sets the client_referrer of this Webhook. 

679 

680 

681 :param client_referrer: The client_referrer of this Webhook. # noqa: E501 

682 """ 

683 

684 self._client_referrer = client_referrer 

685 

686 @property 

687 def components(self) -> Optional[RawDeviceAttributes]: 

688 """Gets the components of this Webhook. # noqa: E501 

689 

690 

691 :return: The components of this Webhook. # noqa: E501 

692 """ 

693 return self._components 

694 

695 @components.setter 

696 def components(self, components: Optional[RawDeviceAttributes]): 

697 """Sets the components of this Webhook. 

698 

699 

700 :param components: The components of this Webhook. # noqa: E501 

701 """ 

702 

703 self._components = components 

704 

705 @property 

706 def bot(self) -> Optional[BotdBot]: 

707 """Gets the bot of this Webhook. # noqa: E501 

708 

709 

710 :return: The bot of this Webhook. # noqa: E501 

711 """ 

712 return self._bot 

713 

714 @bot.setter 

715 def bot(self, bot: Optional[BotdBot]): 

716 """Sets the bot of this Webhook. 

717 

718 

719 :param bot: The bot of this Webhook. # noqa: E501 

720 """ 

721 

722 self._bot = bot 

723 

724 @property 

725 def user_agent(self) -> Optional[str]: 

726 """Gets the user_agent of this Webhook. # noqa: E501 

727 

728 

729 :return: The user_agent of this Webhook. # noqa: E501 

730 """ 

731 return self._user_agent 

732 

733 @user_agent.setter 

734 def user_agent(self, user_agent: Optional[str]): 

735 """Sets the user_agent of this Webhook. 

736 

737 

738 :param user_agent: The user_agent of this Webhook. # noqa: E501 

739 """ 

740 

741 self._user_agent = user_agent 

742 

743 @property 

744 def root_apps(self) -> Optional[WebhookRootApps]: 

745 """Gets the root_apps of this Webhook. # noqa: E501 

746 

747 

748 :return: The root_apps of this Webhook. # noqa: E501 

749 """ 

750 return self._root_apps 

751 

752 @root_apps.setter 

753 def root_apps(self, root_apps: Optional[WebhookRootApps]): 

754 """Sets the root_apps of this Webhook. 

755 

756 

757 :param root_apps: The root_apps of this Webhook. # noqa: E501 

758 """ 

759 

760 self._root_apps = root_apps 

761 

762 @property 

763 def emulator(self) -> Optional[WebhookEmulator]: 

764 """Gets the emulator of this Webhook. # noqa: E501 

765 

766 

767 :return: The emulator of this Webhook. # noqa: E501 

768 """ 

769 return self._emulator 

770 

771 @emulator.setter 

772 def emulator(self, emulator: Optional[WebhookEmulator]): 

773 """Sets the emulator of this Webhook. 

774 

775 

776 :param emulator: The emulator of this Webhook. # noqa: E501 

777 """ 

778 

779 self._emulator = emulator 

780 

781 @property 

782 def ip_info(self) -> Optional[WebhookIPInfo]: 

783 """Gets the ip_info of this Webhook. # noqa: E501 

784 

785 

786 :return: The ip_info of this Webhook. # noqa: E501 

787 """ 

788 return self._ip_info 

789 

790 @ip_info.setter 

791 def ip_info(self, ip_info: Optional[WebhookIPInfo]): 

792 """Sets the ip_info of this Webhook. 

793 

794 

795 :param ip_info: The ip_info of this Webhook. # noqa: E501 

796 """ 

797 

798 self._ip_info = ip_info 

799 

800 @property 

801 def ip_blocklist(self) -> Optional[WebhookIPBlocklist]: 

802 """Gets the ip_blocklist of this Webhook. # noqa: E501 

803 

804 

805 :return: The ip_blocklist of this Webhook. # noqa: E501 

806 """ 

807 return self._ip_blocklist 

808 

809 @ip_blocklist.setter 

810 def ip_blocklist(self, ip_blocklist: Optional[WebhookIPBlocklist]): 

811 """Sets the ip_blocklist of this Webhook. 

812 

813 

814 :param ip_blocklist: The ip_blocklist of this Webhook. # noqa: E501 

815 """ 

816 

817 self._ip_blocklist = ip_blocklist 

818 

819 @property 

820 def tor(self) -> Optional[WebhookTor]: 

821 """Gets the tor of this Webhook. # noqa: E501 

822 

823 

824 :return: The tor of this Webhook. # noqa: E501 

825 """ 

826 return self._tor 

827 

828 @tor.setter 

829 def tor(self, tor: Optional[WebhookTor]): 

830 """Sets the tor of this Webhook. 

831 

832 

833 :param tor: The tor of this Webhook. # noqa: E501 

834 """ 

835 

836 self._tor = tor 

837 

838 @property 

839 def vpn(self) -> Optional[WebhookVPN]: 

840 """Gets the vpn of this Webhook. # noqa: E501 

841 

842 

843 :return: The vpn of this Webhook. # noqa: E501 

844 """ 

845 return self._vpn 

846 

847 @vpn.setter 

848 def vpn(self, vpn: Optional[WebhookVPN]): 

849 """Sets the vpn of this Webhook. 

850 

851 

852 :param vpn: The vpn of this Webhook. # noqa: E501 

853 """ 

854 

855 self._vpn = vpn 

856 

857 @property 

858 def proxy(self) -> Optional[WebhookProxy]: 

859 """Gets the proxy of this Webhook. # noqa: E501 

860 

861 

862 :return: The proxy of this Webhook. # noqa: E501 

863 """ 

864 return self._proxy 

865 

866 @proxy.setter 

867 def proxy(self, proxy: Optional[WebhookProxy]): 

868 """Sets the proxy of this Webhook. 

869 

870 

871 :param proxy: The proxy of this Webhook. # noqa: E501 

872 """ 

873 

874 self._proxy = proxy 

875 

876 @property 

877 def tampering(self) -> Optional[WebhookTampering]: 

878 """Gets the tampering of this Webhook. # noqa: E501 

879 

880 

881 :return: The tampering of this Webhook. # noqa: E501 

882 """ 

883 return self._tampering 

884 

885 @tampering.setter 

886 def tampering(self, tampering: Optional[WebhookTampering]): 

887 """Sets the tampering of this Webhook. 

888 

889 

890 :param tampering: The tampering of this Webhook. # noqa: E501 

891 """ 

892 

893 self._tampering = tampering 

894 

895 @property 

896 def cloned_app(self) -> Optional[WebhookClonedApp]: 

897 """Gets the cloned_app of this Webhook. # noqa: E501 

898 

899 

900 :return: The cloned_app of this Webhook. # noqa: E501 

901 """ 

902 return self._cloned_app 

903 

904 @cloned_app.setter 

905 def cloned_app(self, cloned_app: Optional[WebhookClonedApp]): 

906 """Sets the cloned_app of this Webhook. 

907 

908 

909 :param cloned_app: The cloned_app of this Webhook. # noqa: E501 

910 """ 

911 

912 self._cloned_app = cloned_app 

913 

914 @property 

915 def factory_reset(self) -> Optional[WebhookFactoryReset]: 

916 """Gets the factory_reset of this Webhook. # noqa: E501 

917 

918 

919 :return: The factory_reset of this Webhook. # noqa: E501 

920 """ 

921 return self._factory_reset 

922 

923 @factory_reset.setter 

924 def factory_reset(self, factory_reset: Optional[WebhookFactoryReset]): 

925 """Sets the factory_reset of this Webhook. 

926 

927 

928 :param factory_reset: The factory_reset of this Webhook. # noqa: E501 

929 """ 

930 

931 self._factory_reset = factory_reset 

932 

933 @property 

934 def jailbroken(self) -> Optional[WebhookJailbroken]: 

935 """Gets the jailbroken of this Webhook. # noqa: E501 

936 

937 

938 :return: The jailbroken of this Webhook. # noqa: E501 

939 """ 

940 return self._jailbroken 

941 

942 @jailbroken.setter 

943 def jailbroken(self, jailbroken: Optional[WebhookJailbroken]): 

944 """Sets the jailbroken of this Webhook. 

945 

946 

947 :param jailbroken: The jailbroken of this Webhook. # noqa: E501 

948 """ 

949 

950 self._jailbroken = jailbroken 

951 

952 @property 

953 def frida(self) -> Optional[WebhookFrida]: 

954 """Gets the frida of this Webhook. # noqa: E501 

955 

956 

957 :return: The frida of this Webhook. # noqa: E501 

958 """ 

959 return self._frida 

960 

961 @frida.setter 

962 def frida(self, frida: Optional[WebhookFrida]): 

963 """Sets the frida of this Webhook. 

964 

965 

966 :param frida: The frida of this Webhook. # noqa: E501 

967 """ 

968 

969 self._frida = frida 

970 

971 @property 

972 def privacy_settings(self) -> Optional[WebhookPrivacySettings]: 

973 """Gets the privacy_settings of this Webhook. # noqa: E501 

974 

975 

976 :return: The privacy_settings of this Webhook. # noqa: E501 

977 """ 

978 return self._privacy_settings 

979 

980 @privacy_settings.setter 

981 def privacy_settings(self, privacy_settings: Optional[WebhookPrivacySettings]): 

982 """Sets the privacy_settings of this Webhook. 

983 

984 

985 :param privacy_settings: The privacy_settings of this Webhook. # noqa: E501 

986 """ 

987 

988 self._privacy_settings = privacy_settings 

989 

990 @property 

991 def virtual_machine(self) -> Optional[WebhookVirtualMachine]: 

992 """Gets the virtual_machine of this Webhook. # noqa: E501 

993 

994 

995 :return: The virtual_machine of this Webhook. # noqa: E501 

996 """ 

997 return self._virtual_machine 

998 

999 @virtual_machine.setter 

1000 def virtual_machine(self, virtual_machine: Optional[WebhookVirtualMachine]): 

1001 """Sets the virtual_machine of this Webhook. 

1002 

1003 

1004 :param virtual_machine: The virtual_machine of this Webhook. # noqa: E501 

1005 """ 

1006 

1007 self._virtual_machine = virtual_machine 

1008 

1009 @property 

1010 def raw_device_attributes(self) -> Optional[WebhookRawDeviceAttributes]: 

1011 """Gets the raw_device_attributes of this Webhook. # noqa: E501 

1012 

1013 

1014 :return: The raw_device_attributes of this Webhook. # noqa: E501 

1015 """ 

1016 return self._raw_device_attributes 

1017 

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. 

1021 

1022 

1023 :param raw_device_attributes: The raw_device_attributes of this Webhook. # noqa: E501 

1024 """ 

1025 

1026 self._raw_device_attributes = raw_device_attributes 

1027 

1028 @property 

1029 def high_activity(self) -> Optional[WebhookHighActivity]: 

1030 """Gets the high_activity of this Webhook. # noqa: E501 

1031 

1032 

1033 :return: The high_activity of this Webhook. # noqa: E501 

1034 """ 

1035 return self._high_activity 

1036 

1037 @high_activity.setter 

1038 def high_activity(self, high_activity: Optional[WebhookHighActivity]): 

1039 """Sets the high_activity of this Webhook. 

1040 

1041 

1042 :param high_activity: The high_activity of this Webhook. # noqa: E501 

1043 """ 

1044 

1045 self._high_activity = high_activity 

1046 

1047 @property 

1048 def location_spoofing(self) -> Optional[WebhookLocationSpoofing]: 

1049 """Gets the location_spoofing of this Webhook. # noqa: E501 

1050 

1051 

1052 :return: The location_spoofing of this Webhook. # noqa: E501 

1053 """ 

1054 return self._location_spoofing 

1055 

1056 @location_spoofing.setter 

1057 def location_spoofing(self, location_spoofing: Optional[WebhookLocationSpoofing]): 

1058 """Sets the location_spoofing of this Webhook. 

1059 

1060 

1061 :param location_spoofing: The location_spoofing of this Webhook. # noqa: E501 

1062 """ 

1063 

1064 self._location_spoofing = location_spoofing 

1065 

1066 @property 

1067 def suspect_score(self) -> Optional[WebhookSuspectScore]: 

1068 """Gets the suspect_score of this Webhook. # noqa: E501 

1069 

1070 

1071 :return: The suspect_score of this Webhook. # noqa: E501 

1072 """ 

1073 return self._suspect_score 

1074 

1075 @suspect_score.setter 

1076 def suspect_score(self, suspect_score: Optional[WebhookSuspectScore]): 

1077 """Sets the suspect_score of this Webhook. 

1078 

1079 

1080 :param suspect_score: The suspect_score of this Webhook. # noqa: E501 

1081 """ 

1082 

1083 self._suspect_score = suspect_score 

1084 

1085 @property 

1086 def remote_control(self) -> Optional[WebhookRemoteControl]: 

1087 """Gets the remote_control of this Webhook. # noqa: E501 

1088 

1089 

1090 :return: The remote_control of this Webhook. # noqa: E501 

1091 """ 

1092 return self._remote_control 

1093 

1094 @remote_control.setter 

1095 def remote_control(self, remote_control: Optional[WebhookRemoteControl]): 

1096 """Sets the remote_control of this Webhook. 

1097 

1098 

1099 :param remote_control: The remote_control of this Webhook. # noqa: E501 

1100 """ 

1101 

1102 self._remote_control = remote_control 

1103 

1104 @property 

1105 def velocity(self) -> Optional[WebhookVelocity]: 

1106 """Gets the velocity of this Webhook. # noqa: E501 

1107 

1108 

1109 :return: The velocity of this Webhook. # noqa: E501 

1110 """ 

1111 return self._velocity 

1112 

1113 @velocity.setter 

1114 def velocity(self, velocity: Optional[WebhookVelocity]): 

1115 """Sets the velocity of this Webhook. 

1116 

1117 

1118 :param velocity: The velocity of this Webhook. # noqa: E501 

1119 """ 

1120 

1121 self._velocity = velocity 

1122 

1123 @property 

1124 def developer_tools(self) -> Optional[WebhookDeveloperTools]: 

1125 """Gets the developer_tools of this Webhook. # noqa: E501 

1126 

1127 

1128 :return: The developer_tools of this Webhook. # noqa: E501 

1129 """ 

1130 return self._developer_tools 

1131 

1132 @developer_tools.setter 

1133 def developer_tools(self, developer_tools: Optional[WebhookDeveloperTools]): 

1134 """Sets the developer_tools of this Webhook. 

1135 

1136 

1137 :param developer_tools: The developer_tools of this Webhook. # noqa: E501 

1138 """ 

1139 

1140 self._developer_tools = developer_tools 

1141 

1142 @property 

1143 def mitm_attack(self) -> Optional[WebhookMitMAttack]: 

1144 """Gets the mitm_attack of this Webhook. # noqa: E501 

1145 

1146 

1147 :return: The mitm_attack of this Webhook. # noqa: E501 

1148 """ 

1149 return self._mitm_attack 

1150 

1151 @mitm_attack.setter 

1152 def mitm_attack(self, mitm_attack: Optional[WebhookMitMAttack]): 

1153 """Sets the mitm_attack of this Webhook. 

1154 

1155 

1156 :param mitm_attack: The mitm_attack of this Webhook. # noqa: E501 

1157 """ 

1158 

1159 self._mitm_attack = mitm_attack 

1160 

1161 @property 

1162 def replayed(self) -> Optional[bool]: 

1163 """Gets the replayed of this Webhook. # noqa: E501 

1164 

1165 `true` if we determined that this payload was replayed, `false` otherwise. # noqa: E501 

1166 

1167 :return: The replayed of this Webhook. # noqa: E501 

1168 """ 

1169 return self._replayed 

1170 

1171 @replayed.setter 

1172 def replayed(self, replayed: Optional[bool]): 

1173 """Sets the replayed of this Webhook. 

1174 

1175 `true` if we determined that this payload was replayed, `false` otherwise. # noqa: E501 

1176 

1177 :param replayed: The replayed of this Webhook. # noqa: E501 

1178 """ 

1179 

1180 self._replayed = replayed 

1181 

1182 @property 

1183 def sdk(self) -> SDK: 

1184 """Gets the sdk of this Webhook. # noqa: E501 

1185 

1186 

1187 :return: The sdk of this Webhook. # noqa: E501 

1188 """ 

1189 return self._sdk 

1190 

1191 @sdk.setter 

1192 def sdk(self, sdk: SDK): 

1193 """Sets the sdk of this Webhook. 

1194 

1195 

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 

1200 

1201 self._sdk = sdk 

1202