Coverage for fingerprint_pro_server_api_sdk/models/webhook.py: 49%

464 statements  

« prev     ^ index     » next       coverage.py v7.10.6, created at 2025-09-15 16:20 +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 

48from fingerprint_pro_server_api_sdk.models.webhook_supplementary_i_ds import WebhookSupplementaryIDs 

49from fingerprint_pro_server_api_sdk.models.webhook_proximity import WebhookProximity 

50 

51 

52class Webhook(BaseModel): 

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

54 

55 Do not edit the class manually. 

56 """ 

57 """ 

58 Attributes: 

59 swagger_types (dict): The key is attribute name 

60 and the value is attribute type. 

61 attribute_map (dict): The key is attribute name 

62 and the value is json key in definition. 

63 """ 

64 swagger_types = { 

65 'request_id': 'str', 

66 'url': 'str', 

67 'ip': 'str', 

68 'environment_id': 'str', 

69 'tag': 'Tag', 

70 'time': 'datetime', 

71 'timestamp': 'int', 

72 'ip_location': 'DeprecatedGeolocation', 

73 'linked_id': 'str', 

74 'visitor_id': 'str', 

75 'visitor_found': 'bool', 

76 'confidence': 'IdentificationConfidence', 

77 'first_seen_at': 'IdentificationSeenAt', 

78 'last_seen_at': 'IdentificationSeenAt', 

79 'browser_details': 'BrowserDetails', 

80 'incognito': 'bool', 

81 'client_referrer': 'str', 

82 'components': 'RawDeviceAttributes', 

83 'bot': 'BotdBot', 

84 'user_agent': 'str', 

85 'root_apps': 'WebhookRootApps', 

86 'emulator': 'WebhookEmulator', 

87 'ip_info': 'WebhookIPInfo', 

88 'ip_blocklist': 'WebhookIPBlocklist', 

89 'tor': 'WebhookTor', 

90 'vpn': 'WebhookVPN', 

91 'proxy': 'WebhookProxy', 

92 'tampering': 'WebhookTampering', 

93 'cloned_app': 'WebhookClonedApp', 

94 'factory_reset': 'WebhookFactoryReset', 

95 'jailbroken': 'WebhookJailbroken', 

96 'frida': 'WebhookFrida', 

97 'privacy_settings': 'WebhookPrivacySettings', 

98 'virtual_machine': 'WebhookVirtualMachine', 

99 'raw_device_attributes': 'WebhookRawDeviceAttributes', 

100 'high_activity': 'WebhookHighActivity', 

101 'location_spoofing': 'WebhookLocationSpoofing', 

102 'suspect_score': 'WebhookSuspectScore', 

103 'remote_control': 'WebhookRemoteControl', 

104 'velocity': 'WebhookVelocity', 

105 'developer_tools': 'WebhookDeveloperTools', 

106 'mitm_attack': 'WebhookMitMAttack', 

107 'replayed': 'bool', 

108 'sdk': 'SDK', 

109 'supplementary_ids': 'WebhookSupplementaryIDs', 

110 'proximity': 'WebhookProximity' 

111 } 

112 

113 nullable_map = { 

114 'request_id': False, 

115 'url': False, 

116 'ip': False, 

117 'environment_id': False, 

118 'tag': False, 

119 'time': False, 

120 'timestamp': False, 

121 'ip_location': False, 

122 'linked_id': False, 

123 'visitor_id': False, 

124 'visitor_found': False, 

125 'confidence': False, 

126 'first_seen_at': False, 

127 'last_seen_at': False, 

128 'browser_details': False, 

129 'incognito': False, 

130 'client_referrer': False, 

131 'components': False, 

132 'bot': False, 

133 'user_agent': False, 

134 'root_apps': False, 

135 'emulator': False, 

136 'ip_info': False, 

137 'ip_blocklist': False, 

138 'tor': False, 

139 'vpn': False, 

140 'proxy': False, 

141 'tampering': False, 

142 'cloned_app': False, 

143 'factory_reset': False, 

144 'jailbroken': False, 

145 'frida': False, 

146 'privacy_settings': False, 

147 'virtual_machine': False, 

148 'raw_device_attributes': False, 

149 'high_activity': False, 

150 'location_spoofing': False, 

151 'suspect_score': False, 

152 'remote_control': False, 

153 'velocity': False, 

154 'developer_tools': False, 

155 'mitm_attack': False, 

156 'replayed': False, 

157 'sdk': False, 

158 'supplementary_ids': False, 

159 'proximity': False 

160 } 

161 

162 attribute_map = { 

163 'request_id': 'requestId', 

164 'url': 'url', 

165 'ip': 'ip', 

166 'environment_id': 'environmentId', 

167 'tag': 'tag', 

168 'time': 'time', 

169 'timestamp': 'timestamp', 

170 'ip_location': 'ipLocation', 

171 'linked_id': 'linkedId', 

172 'visitor_id': 'visitorId', 

173 'visitor_found': 'visitorFound', 

174 'confidence': 'confidence', 

175 'first_seen_at': 'firstSeenAt', 

176 'last_seen_at': 'lastSeenAt', 

177 'browser_details': 'browserDetails', 

178 'incognito': 'incognito', 

179 'client_referrer': 'clientReferrer', 

180 'components': 'components', 

181 'bot': 'bot', 

182 'user_agent': 'userAgent', 

183 'root_apps': 'rootApps', 

184 'emulator': 'emulator', 

185 'ip_info': 'ipInfo', 

186 'ip_blocklist': 'ipBlocklist', 

187 'tor': 'tor', 

188 'vpn': 'vpn', 

189 'proxy': 'proxy', 

190 'tampering': 'tampering', 

191 'cloned_app': 'clonedApp', 

192 'factory_reset': 'factoryReset', 

193 'jailbroken': 'jailbroken', 

194 'frida': 'frida', 

195 'privacy_settings': 'privacySettings', 

196 'virtual_machine': 'virtualMachine', 

197 'raw_device_attributes': 'rawDeviceAttributes', 

198 'high_activity': 'highActivity', 

199 'location_spoofing': 'locationSpoofing', 

200 'suspect_score': 'suspectScore', 

201 'remote_control': 'remoteControl', 

202 'velocity': 'velocity', 

203 'developer_tools': 'developerTools', 

204 'mitm_attack': 'mitmAttack', 

205 'replayed': 'replayed', 

206 'sdk': 'sdk', 

207 'supplementary_ids': 'supplementaryIds', 

208 'proximity': 'proximity' 

209 } 

210 

211 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, supplementary_ids=None, proximity=None): # noqa: E501 

212 """Webhook - a model defined in Swagger""" # noqa: E501 

213 self._request_id = None 

214 self._url = None 

215 self._ip = None 

216 self._environment_id = None 

217 self._tag = None 

218 self._time = None 

219 self._timestamp = None 

220 self._ip_location = None 

221 self._linked_id = None 

222 self._visitor_id = None 

223 self._visitor_found = None 

224 self._confidence = None 

225 self._first_seen_at = None 

226 self._last_seen_at = None 

227 self._browser_details = None 

228 self._incognito = None 

229 self._client_referrer = None 

230 self._components = None 

231 self._bot = None 

232 self._user_agent = None 

233 self._root_apps = None 

234 self._emulator = None 

235 self._ip_info = None 

236 self._ip_blocklist = None 

237 self._tor = None 

238 self._vpn = None 

239 self._proxy = None 

240 self._tampering = None 

241 self._cloned_app = None 

242 self._factory_reset = None 

243 self._jailbroken = None 

244 self._frida = None 

245 self._privacy_settings = None 

246 self._virtual_machine = None 

247 self._raw_device_attributes = None 

248 self._high_activity = None 

249 self._location_spoofing = None 

250 self._suspect_score = None 

251 self._remote_control = None 

252 self._velocity = None 

253 self._developer_tools = None 

254 self._mitm_attack = None 

255 self._replayed = None 

256 self._sdk = None 

257 self._supplementary_ids = None 

258 self._proximity = None 

259 self.discriminator = None 

260 self.request_id = request_id 

261 self.url = url 

262 self.ip = ip 

263 if environment_id is not None: 

264 self.environment_id = environment_id 

265 if tag is not None: 

266 self.tag = tag 

267 self.time = time 

268 self.timestamp = timestamp 

269 if ip_location is not None: 

270 self.ip_location = ip_location 

271 if linked_id is not None: 

272 self.linked_id = linked_id 

273 if visitor_id is not None: 

274 self.visitor_id = visitor_id 

275 if visitor_found is not None: 

276 self.visitor_found = visitor_found 

277 if confidence is not None: 

278 self.confidence = confidence 

279 if first_seen_at is not None: 

280 self.first_seen_at = first_seen_at 

281 if last_seen_at is not None: 

282 self.last_seen_at = last_seen_at 

283 if browser_details is not None: 

284 self.browser_details = browser_details 

285 if incognito is not None: 

286 self.incognito = incognito 

287 if client_referrer is not None: 

288 self.client_referrer = client_referrer 

289 if components is not None: 

290 self.components = components 

291 if bot is not None: 

292 self.bot = bot 

293 if user_agent is not None: 

294 self.user_agent = user_agent 

295 if root_apps is not None: 

296 self.root_apps = root_apps 

297 if emulator is not None: 

298 self.emulator = emulator 

299 if ip_info is not None: 

300 self.ip_info = ip_info 

301 if ip_blocklist is not None: 

302 self.ip_blocklist = ip_blocklist 

303 if tor is not None: 

304 self.tor = tor 

305 if vpn is not None: 

306 self.vpn = vpn 

307 if proxy is not None: 

308 self.proxy = proxy 

309 if tampering is not None: 

310 self.tampering = tampering 

311 if cloned_app is not None: 

312 self.cloned_app = cloned_app 

313 if factory_reset is not None: 

314 self.factory_reset = factory_reset 

315 if jailbroken is not None: 

316 self.jailbroken = jailbroken 

317 if frida is not None: 

318 self.frida = frida 

319 if privacy_settings is not None: 

320 self.privacy_settings = privacy_settings 

321 if virtual_machine is not None: 

322 self.virtual_machine = virtual_machine 

323 if raw_device_attributes is not None: 

324 self.raw_device_attributes = raw_device_attributes 

325 if high_activity is not None: 

326 self.high_activity = high_activity 

327 if location_spoofing is not None: 

328 self.location_spoofing = location_spoofing 

329 if suspect_score is not None: 

330 self.suspect_score = suspect_score 

331 if remote_control is not None: 

332 self.remote_control = remote_control 

333 if velocity is not None: 

334 self.velocity = velocity 

335 if developer_tools is not None: 

336 self.developer_tools = developer_tools 

337 if mitm_attack is not None: 

338 self.mitm_attack = mitm_attack 

339 if replayed is not None: 

340 self.replayed = replayed 

341 self.sdk = sdk 

342 if supplementary_ids is not None: 

343 self.supplementary_ids = supplementary_ids 

344 if proximity is not None: 

345 self.proximity = proximity 

346 

347 @property 

348 def request_id(self) -> str: 

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

350 

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

352 

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

354 """ 

355 return self._request_id 

356 

357 @request_id.setter 

358 def request_id(self, request_id: str): 

359 """Sets the request_id of this Webhook. 

360 

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

362 

363 :param request_id: The request_id of this Webhook. # noqa: E501 

364 """ 

365 if request_id is None: 

366 raise ValueError("Invalid value for `request_id`, must not be `None`") # noqa: E501 

367 

368 self._request_id = request_id 

369 

370 @property 

371 def url(self) -> str: 

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

373 

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

375 

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

377 """ 

378 return self._url 

379 

380 @url.setter 

381 def url(self, url: str): 

382 """Sets the url of this Webhook. 

383 

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

385 

386 :param url: The url of this Webhook. # noqa: E501 

387 """ 

388 if url is None: 

389 raise ValueError("Invalid value for `url`, must not be `None`") # noqa: E501 

390 

391 self._url = url 

392 

393 @property 

394 def ip(self) -> str: 

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

396 

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

398 

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

400 """ 

401 return self._ip 

402 

403 @ip.setter 

404 def ip(self, ip: str): 

405 """Sets the ip of this Webhook. 

406 

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

408 

409 :param ip: The ip of this Webhook. # noqa: E501 

410 """ 

411 if ip is None: 

412 raise ValueError("Invalid value for `ip`, must not be `None`") # noqa: E501 

413 

414 self._ip = ip 

415 

416 @property 

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

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

419 

420 Environment ID of the event. # noqa: E501 

421 

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

423 """ 

424 return self._environment_id 

425 

426 @environment_id.setter 

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

428 """Sets the environment_id of this Webhook. 

429 

430 Environment ID of the event. # noqa: E501 

431 

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

433 """ 

434 

435 self._environment_id = environment_id 

436 

437 @property 

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

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

440 

441 

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

443 """ 

444 return self._tag 

445 

446 @tag.setter 

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

448 """Sets the tag of this Webhook. 

449 

450 

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

452 """ 

453 

454 self._tag = tag 

455 

456 @property 

457 def time(self) -> datetime: 

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

459 

460 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 

461 

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

463 """ 

464 return self._time 

465 

466 @time.setter 

467 def time(self, time: datetime): 

468 """Sets the time of this Webhook. 

469 

470 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 

471 

472 :param time: The time of this Webhook. # noqa: E501 

473 """ 

474 if time is None: 

475 raise ValueError("Invalid value for `time`, must not be `None`") # noqa: E501 

476 

477 self._time = time 

478 

479 @property 

480 def timestamp(self) -> int: 

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

482 

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

484 

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

486 """ 

487 return self._timestamp 

488 

489 @timestamp.setter 

490 def timestamp(self, timestamp: int): 

491 """Sets the timestamp of this Webhook. 

492 

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

494 

495 :param timestamp: The timestamp of this Webhook. # noqa: E501 

496 """ 

497 if timestamp is None: 

498 raise ValueError("Invalid value for `timestamp`, must not be `None`") # noqa: E501 

499 

500 self._timestamp = timestamp 

501 

502 @property 

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

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

505 

506 

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

508 """ 

509 return self._ip_location 

510 

511 @ip_location.setter 

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

513 """Sets the ip_location of this Webhook. 

514 

515 

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

517 """ 

518 

519 self._ip_location = ip_location 

520 

521 @property 

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

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

524 

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

526 

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

528 """ 

529 return self._linked_id 

530 

531 @linked_id.setter 

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

533 """Sets the linked_id of this Webhook. 

534 

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

536 

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

538 """ 

539 

540 self._linked_id = linked_id 

541 

542 @property 

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

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

545 

546 String of 20 characters that uniquely identifies the visitor's browser or mobile device. # noqa: E501 

547 

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

549 """ 

550 return self._visitor_id 

551 

552 @visitor_id.setter 

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

554 """Sets the visitor_id of this Webhook. 

555 

556 String of 20 characters that uniquely identifies the visitor's browser or mobile device. # noqa: E501 

557 

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

559 """ 

560 

561 self._visitor_id = visitor_id 

562 

563 @property 

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

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

566 

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

568 

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

570 """ 

571 return self._visitor_found 

572 

573 @visitor_found.setter 

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

575 """Sets the visitor_found of this Webhook. 

576 

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

578 

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

580 """ 

581 

582 self._visitor_found = visitor_found 

583 

584 @property 

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

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

587 

588 

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

590 """ 

591 return self._confidence 

592 

593 @confidence.setter 

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

595 """Sets the confidence of this Webhook. 

596 

597 

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

599 """ 

600 

601 self._confidence = confidence 

602 

603 @property 

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

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

606 

607 

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

609 """ 

610 return self._first_seen_at 

611 

612 @first_seen_at.setter 

613 def first_seen_at(self, first_seen_at: Optional[IdentificationSeenAt]): 

614 """Sets the first_seen_at of this Webhook. 

615 

616 

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

618 """ 

619 

620 self._first_seen_at = first_seen_at 

621 

622 @property 

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

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

625 

626 

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

628 """ 

629 return self._last_seen_at 

630 

631 @last_seen_at.setter 

632 def last_seen_at(self, last_seen_at: Optional[IdentificationSeenAt]): 

633 """Sets the last_seen_at of this Webhook. 

634 

635 

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

637 """ 

638 

639 self._last_seen_at = last_seen_at 

640 

641 @property 

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

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

644 

645 

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

647 """ 

648 return self._browser_details 

649 

650 @browser_details.setter 

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

652 """Sets the browser_details of this Webhook. 

653 

654 

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

656 """ 

657 

658 self._browser_details = browser_details 

659 

660 @property 

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

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

663 

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

665 

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

667 """ 

668 return self._incognito 

669 

670 @incognito.setter 

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

672 """Sets the incognito of this Webhook. 

673 

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

675 

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

677 """ 

678 

679 self._incognito = incognito 

680 

681 @property 

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

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

684 

685 

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

687 """ 

688 return self._client_referrer 

689 

690 @client_referrer.setter 

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

692 """Sets the client_referrer of this Webhook. 

693 

694 

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

696 """ 

697 

698 self._client_referrer = client_referrer 

699 

700 @property 

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

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

703 

704 

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

706 """ 

707 return self._components 

708 

709 @components.setter 

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

711 """Sets the components of this Webhook. 

712 

713 

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

715 """ 

716 

717 self._components = components 

718 

719 @property 

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

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

722 

723 

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

725 """ 

726 return self._bot 

727 

728 @bot.setter 

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

730 """Sets the bot of this Webhook. 

731 

732 

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

734 """ 

735 

736 self._bot = bot 

737 

738 @property 

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

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

741 

742 

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

744 """ 

745 return self._user_agent 

746 

747 @user_agent.setter 

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

749 """Sets the user_agent of this Webhook. 

750 

751 

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

753 """ 

754 

755 self._user_agent = user_agent 

756 

757 @property 

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

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

760 

761 

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

763 """ 

764 return self._root_apps 

765 

766 @root_apps.setter 

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

768 """Sets the root_apps of this Webhook. 

769 

770 

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

772 """ 

773 

774 self._root_apps = root_apps 

775 

776 @property 

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

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

779 

780 

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

782 """ 

783 return self._emulator 

784 

785 @emulator.setter 

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

787 """Sets the emulator of this Webhook. 

788 

789 

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

791 """ 

792 

793 self._emulator = emulator 

794 

795 @property 

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

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

798 

799 

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

801 """ 

802 return self._ip_info 

803 

804 @ip_info.setter 

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

806 """Sets the ip_info of this Webhook. 

807 

808 

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

810 """ 

811 

812 self._ip_info = ip_info 

813 

814 @property 

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

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

817 

818 

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

820 """ 

821 return self._ip_blocklist 

822 

823 @ip_blocklist.setter 

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

825 """Sets the ip_blocklist of this Webhook. 

826 

827 

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

829 """ 

830 

831 self._ip_blocklist = ip_blocklist 

832 

833 @property 

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

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

836 

837 

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

839 """ 

840 return self._tor 

841 

842 @tor.setter 

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

844 """Sets the tor of this Webhook. 

845 

846 

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

848 """ 

849 

850 self._tor = tor 

851 

852 @property 

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

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

855 

856 

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

858 """ 

859 return self._vpn 

860 

861 @vpn.setter 

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

863 """Sets the vpn of this Webhook. 

864 

865 

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

867 """ 

868 

869 self._vpn = vpn 

870 

871 @property 

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

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

874 

875 

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

877 """ 

878 return self._proxy 

879 

880 @proxy.setter 

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

882 """Sets the proxy of this Webhook. 

883 

884 

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

886 """ 

887 

888 self._proxy = proxy 

889 

890 @property 

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

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

893 

894 

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

896 """ 

897 return self._tampering 

898 

899 @tampering.setter 

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

901 """Sets the tampering of this Webhook. 

902 

903 

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

905 """ 

906 

907 self._tampering = tampering 

908 

909 @property 

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

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

912 

913 

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

915 """ 

916 return self._cloned_app 

917 

918 @cloned_app.setter 

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

920 """Sets the cloned_app of this Webhook. 

921 

922 

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

924 """ 

925 

926 self._cloned_app = cloned_app 

927 

928 @property 

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

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

931 

932 

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

934 """ 

935 return self._factory_reset 

936 

937 @factory_reset.setter 

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

939 """Sets the factory_reset of this Webhook. 

940 

941 

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

943 """ 

944 

945 self._factory_reset = factory_reset 

946 

947 @property 

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

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

950 

951 

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

953 """ 

954 return self._jailbroken 

955 

956 @jailbroken.setter 

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

958 """Sets the jailbroken of this Webhook. 

959 

960 

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

962 """ 

963 

964 self._jailbroken = jailbroken 

965 

966 @property 

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

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

969 

970 

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

972 """ 

973 return self._frida 

974 

975 @frida.setter 

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

977 """Sets the frida of this Webhook. 

978 

979 

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

981 """ 

982 

983 self._frida = frida 

984 

985 @property 

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

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

988 

989 

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

991 """ 

992 return self._privacy_settings 

993 

994 @privacy_settings.setter 

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

996 """Sets the privacy_settings of this Webhook. 

997 

998 

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

1000 """ 

1001 

1002 self._privacy_settings = privacy_settings 

1003 

1004 @property 

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

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

1007 

1008 

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

1010 """ 

1011 return self._virtual_machine 

1012 

1013 @virtual_machine.setter 

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

1015 """Sets the virtual_machine of this Webhook. 

1016 

1017 

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

1019 """ 

1020 

1021 self._virtual_machine = virtual_machine 

1022 

1023 @property 

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

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

1026 

1027 

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

1029 """ 

1030 return self._raw_device_attributes 

1031 

1032 @raw_device_attributes.setter 

1033 def raw_device_attributes(self, raw_device_attributes: Optional[WebhookRawDeviceAttributes]): 

1034 """Sets the raw_device_attributes of this Webhook. 

1035 

1036 

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

1038 """ 

1039 

1040 self._raw_device_attributes = raw_device_attributes 

1041 

1042 @property 

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

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

1045 

1046 

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

1048 """ 

1049 return self._high_activity 

1050 

1051 @high_activity.setter 

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

1053 """Sets the high_activity of this Webhook. 

1054 

1055 

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

1057 """ 

1058 

1059 self._high_activity = high_activity 

1060 

1061 @property 

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

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

1064 

1065 

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

1067 """ 

1068 return self._location_spoofing 

1069 

1070 @location_spoofing.setter 

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

1072 """Sets the location_spoofing of this Webhook. 

1073 

1074 

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

1076 """ 

1077 

1078 self._location_spoofing = location_spoofing 

1079 

1080 @property 

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

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

1083 

1084 

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

1086 """ 

1087 return self._suspect_score 

1088 

1089 @suspect_score.setter 

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

1091 """Sets the suspect_score of this Webhook. 

1092 

1093 

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

1095 """ 

1096 

1097 self._suspect_score = suspect_score 

1098 

1099 @property 

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

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

1102 

1103 

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

1105 """ 

1106 return self._remote_control 

1107 

1108 @remote_control.setter 

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

1110 """Sets the remote_control of this Webhook. 

1111 

1112 

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

1114 """ 

1115 

1116 self._remote_control = remote_control 

1117 

1118 @property 

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

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

1121 

1122 

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

1124 """ 

1125 return self._velocity 

1126 

1127 @velocity.setter 

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

1129 """Sets the velocity of this Webhook. 

1130 

1131 

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

1133 """ 

1134 

1135 self._velocity = velocity 

1136 

1137 @property 

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

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

1140 

1141 

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

1143 """ 

1144 return self._developer_tools 

1145 

1146 @developer_tools.setter 

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

1148 """Sets the developer_tools of this Webhook. 

1149 

1150 

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

1152 """ 

1153 

1154 self._developer_tools = developer_tools 

1155 

1156 @property 

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

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

1159 

1160 

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

1162 """ 

1163 return self._mitm_attack 

1164 

1165 @mitm_attack.setter 

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

1167 """Sets the mitm_attack of this Webhook. 

1168 

1169 

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

1171 """ 

1172 

1173 self._mitm_attack = mitm_attack 

1174 

1175 @property 

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

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

1178 

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

1180 

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

1182 """ 

1183 return self._replayed 

1184 

1185 @replayed.setter 

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

1187 """Sets the replayed of this Webhook. 

1188 

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

1190 

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

1192 """ 

1193 

1194 self._replayed = replayed 

1195 

1196 @property 

1197 def sdk(self) -> SDK: 

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

1199 

1200 

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

1202 """ 

1203 return self._sdk 

1204 

1205 @sdk.setter 

1206 def sdk(self, sdk: SDK): 

1207 """Sets the sdk of this Webhook. 

1208 

1209 

1210 :param sdk: The sdk of this Webhook. # noqa: E501 

1211 """ 

1212 if sdk is None: 

1213 raise ValueError("Invalid value for `sdk`, must not be `None`") # noqa: E501 

1214 

1215 self._sdk = sdk 

1216 

1217 @property 

1218 def supplementary_ids(self) -> Optional[WebhookSupplementaryIDs]: 

1219 """Gets the supplementary_ids of this Webhook. # noqa: E501 

1220 

1221 

1222 :return: The supplementary_ids of this Webhook. # noqa: E501 

1223 """ 

1224 return self._supplementary_ids 

1225 

1226 @supplementary_ids.setter 

1227 def supplementary_ids(self, supplementary_ids: Optional[WebhookSupplementaryIDs]): 

1228 """Sets the supplementary_ids of this Webhook. 

1229 

1230 

1231 :param supplementary_ids: The supplementary_ids of this Webhook. # noqa: E501 

1232 """ 

1233 

1234 self._supplementary_ids = supplementary_ids 

1235 

1236 @property 

1237 def proximity(self) -> Optional[WebhookProximity]: 

1238 """Gets the proximity of this Webhook. # noqa: E501 

1239 

1240 

1241 :return: The proximity of this Webhook. # noqa: E501 

1242 """ 

1243 return self._proximity 

1244 

1245 @proximity.setter 

1246 def proximity(self, proximity: Optional[WebhookProximity]): 

1247 """Sets the proximity of this Webhook. 

1248 

1249 

1250 :param proximity: The proximity of this Webhook. # noqa: E501 

1251 """ 

1252 

1253 self._proximity = proximity 

1254