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

424 statements  

« prev     ^ index     » next       coverage.py v7.8.0, created at 2025-04-25 12:47 +0000

1# coding: utf-8 

2 

3""" 

4 Fingerprint Pro Server API 

5 

6 Fingerprint Pro Server API allows you to get information about visitors and about individual 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 

47 

48 

49class Webhook(BaseModel): 

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

51 

52 Do not edit the class manually. 

53 """ 

54 """ 

55 Attributes: 

56 swagger_types (dict): The key is attribute name 

57 and the value is attribute type. 

58 attribute_map (dict): The key is attribute name 

59 and the value is json key in definition. 

60 """ 

61 swagger_types = { 

62 'request_id': 'str', 

63 'url': 'str', 

64 'ip': 'str', 

65 'environment_id': 'str', 

66 'tag': 'Tag', 

67 'time': 'datetime', 

68 'timestamp': 'int', 

69 'ip_location': 'DeprecatedGeolocation', 

70 'linked_id': 'str', 

71 'visitor_id': 'str', 

72 'visitor_found': 'bool', 

73 'confidence': 'IdentificationConfidence', 

74 'first_seen_at': 'IdentificationSeenAt', 

75 'last_seen_at': 'IdentificationSeenAt', 

76 'browser_details': 'BrowserDetails', 

77 'incognito': 'bool', 

78 'client_referrer': 'str', 

79 'components': 'RawDeviceAttributes', 

80 'bot': 'BotdBot', 

81 'user_agent': 'str', 

82 'root_apps': 'WebhookRootApps', 

83 'emulator': 'WebhookEmulator', 

84 'ip_info': 'WebhookIPInfo', 

85 'ip_blocklist': 'WebhookIPBlocklist', 

86 'tor': 'WebhookTor', 

87 'vpn': 'WebhookVPN', 

88 'proxy': 'WebhookProxy', 

89 'tampering': 'WebhookTampering', 

90 'cloned_app': 'WebhookClonedApp', 

91 'factory_reset': 'WebhookFactoryReset', 

92 'jailbroken': 'WebhookJailbroken', 

93 'frida': 'WebhookFrida', 

94 'privacy_settings': 'WebhookPrivacySettings', 

95 'virtual_machine': 'WebhookVirtualMachine', 

96 'raw_device_attributes': 'WebhookRawDeviceAttributes', 

97 'high_activity': 'WebhookHighActivity', 

98 'location_spoofing': 'WebhookLocationSpoofing', 

99 'suspect_score': 'WebhookSuspectScore', 

100 'remote_control': 'WebhookRemoteControl', 

101 'velocity': 'WebhookVelocity', 

102 'developer_tools': 'WebhookDeveloperTools', 

103 'mitm_attack': 'WebhookMitMAttack' 

104 } 

105 

106 nullable_map = { 

107 'request_id': False, 

108 'url': False, 

109 'ip': False, 

110 'environment_id': False, 

111 'tag': False, 

112 'time': False, 

113 'timestamp': False, 

114 'ip_location': False, 

115 'linked_id': False, 

116 'visitor_id': False, 

117 'visitor_found': False, 

118 'confidence': False, 

119 'first_seen_at': False, 

120 'last_seen_at': False, 

121 'browser_details': False, 

122 'incognito': False, 

123 'client_referrer': False, 

124 'components': False, 

125 'bot': False, 

126 'user_agent': False, 

127 'root_apps': False, 

128 'emulator': False, 

129 'ip_info': False, 

130 'ip_blocklist': False, 

131 'tor': False, 

132 'vpn': False, 

133 'proxy': False, 

134 'tampering': False, 

135 'cloned_app': False, 

136 'factory_reset': False, 

137 'jailbroken': False, 

138 'frida': False, 

139 'privacy_settings': False, 

140 'virtual_machine': False, 

141 'raw_device_attributes': False, 

142 'high_activity': False, 

143 'location_spoofing': False, 

144 'suspect_score': False, 

145 'remote_control': False, 

146 'velocity': False, 

147 'developer_tools': False, 

148 'mitm_attack': False 

149 } 

150 

151 attribute_map = { 

152 'request_id': 'requestId', 

153 'url': 'url', 

154 'ip': 'ip', 

155 'environment_id': 'environmentId', 

156 'tag': 'tag', 

157 'time': 'time', 

158 'timestamp': 'timestamp', 

159 'ip_location': 'ipLocation', 

160 'linked_id': 'linkedId', 

161 'visitor_id': 'visitorId', 

162 'visitor_found': 'visitorFound', 

163 'confidence': 'confidence', 

164 'first_seen_at': 'firstSeenAt', 

165 'last_seen_at': 'lastSeenAt', 

166 'browser_details': 'browserDetails', 

167 'incognito': 'incognito', 

168 'client_referrer': 'clientReferrer', 

169 'components': 'components', 

170 'bot': 'bot', 

171 'user_agent': 'userAgent', 

172 'root_apps': 'rootApps', 

173 'emulator': 'emulator', 

174 'ip_info': 'ipInfo', 

175 'ip_blocklist': 'ipBlocklist', 

176 'tor': 'tor', 

177 'vpn': 'vpn', 

178 'proxy': 'proxy', 

179 'tampering': 'tampering', 

180 'cloned_app': 'clonedApp', 

181 'factory_reset': 'factoryReset', 

182 'jailbroken': 'jailbroken', 

183 'frida': 'frida', 

184 'privacy_settings': 'privacySettings', 

185 'virtual_machine': 'virtualMachine', 

186 'raw_device_attributes': 'rawDeviceAttributes', 

187 'high_activity': 'highActivity', 

188 'location_spoofing': 'locationSpoofing', 

189 'suspect_score': 'suspectScore', 

190 'remote_control': 'remoteControl', 

191 'velocity': 'velocity', 

192 'developer_tools': 'developerTools', 

193 'mitm_attack': 'mitmAttack' 

194 } 

195 

196 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): # noqa: E501 

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

198 self._request_id = None 

199 self._url = None 

200 self._ip = None 

201 self._environment_id = None 

202 self._tag = None 

203 self._time = None 

204 self._timestamp = None 

205 self._ip_location = None 

206 self._linked_id = None 

207 self._visitor_id = None 

208 self._visitor_found = None 

209 self._confidence = None 

210 self._first_seen_at = None 

211 self._last_seen_at = None 

212 self._browser_details = None 

213 self._incognito = None 

214 self._client_referrer = None 

215 self._components = None 

216 self._bot = None 

217 self._user_agent = None 

218 self._root_apps = None 

219 self._emulator = None 

220 self._ip_info = None 

221 self._ip_blocklist = None 

222 self._tor = None 

223 self._vpn = None 

224 self._proxy = None 

225 self._tampering = None 

226 self._cloned_app = None 

227 self._factory_reset = None 

228 self._jailbroken = None 

229 self._frida = None 

230 self._privacy_settings = None 

231 self._virtual_machine = None 

232 self._raw_device_attributes = None 

233 self._high_activity = None 

234 self._location_spoofing = None 

235 self._suspect_score = None 

236 self._remote_control = None 

237 self._velocity = None 

238 self._developer_tools = None 

239 self._mitm_attack = None 

240 self.discriminator = None 

241 self.request_id = request_id 

242 self.url = url 

243 self.ip = ip 

244 if environment_id is not None: 

245 self.environment_id = environment_id 

246 if tag is not None: 

247 self.tag = tag 

248 self.time = time 

249 self.timestamp = timestamp 

250 if ip_location is not None: 

251 self.ip_location = ip_location 

252 if linked_id is not None: 

253 self.linked_id = linked_id 

254 if visitor_id is not None: 

255 self.visitor_id = visitor_id 

256 if visitor_found is not None: 

257 self.visitor_found = visitor_found 

258 if confidence is not None: 

259 self.confidence = confidence 

260 if first_seen_at is not None: 

261 self.first_seen_at = first_seen_at 

262 if last_seen_at is not None: 

263 self.last_seen_at = last_seen_at 

264 if browser_details is not None: 

265 self.browser_details = browser_details 

266 if incognito is not None: 

267 self.incognito = incognito 

268 if client_referrer is not None: 

269 self.client_referrer = client_referrer 

270 if components is not None: 

271 self.components = components 

272 if bot is not None: 

273 self.bot = bot 

274 if user_agent is not None: 

275 self.user_agent = user_agent 

276 if root_apps is not None: 

277 self.root_apps = root_apps 

278 if emulator is not None: 

279 self.emulator = emulator 

280 if ip_info is not None: 

281 self.ip_info = ip_info 

282 if ip_blocklist is not None: 

283 self.ip_blocklist = ip_blocklist 

284 if tor is not None: 

285 self.tor = tor 

286 if vpn is not None: 

287 self.vpn = vpn 

288 if proxy is not None: 

289 self.proxy = proxy 

290 if tampering is not None: 

291 self.tampering = tampering 

292 if cloned_app is not None: 

293 self.cloned_app = cloned_app 

294 if factory_reset is not None: 

295 self.factory_reset = factory_reset 

296 if jailbroken is not None: 

297 self.jailbroken = jailbroken 

298 if frida is not None: 

299 self.frida = frida 

300 if privacy_settings is not None: 

301 self.privacy_settings = privacy_settings 

302 if virtual_machine is not None: 

303 self.virtual_machine = virtual_machine 

304 if raw_device_attributes is not None: 

305 self.raw_device_attributes = raw_device_attributes 

306 if high_activity is not None: 

307 self.high_activity = high_activity 

308 if location_spoofing is not None: 

309 self.location_spoofing = location_spoofing 

310 if suspect_score is not None: 

311 self.suspect_score = suspect_score 

312 if remote_control is not None: 

313 self.remote_control = remote_control 

314 if velocity is not None: 

315 self.velocity = velocity 

316 if developer_tools is not None: 

317 self.developer_tools = developer_tools 

318 if mitm_attack is not None: 

319 self.mitm_attack = mitm_attack 

320 

321 @property 

322 def request_id(self) -> str: 

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

324 

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

326 

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

328 """ 

329 return self._request_id 

330 

331 @request_id.setter 

332 def request_id(self, request_id: str): 

333 """Sets the request_id of this Webhook. 

334 

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

336 

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

338 """ 

339 if request_id is None: 

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

341 

342 self._request_id = request_id 

343 

344 @property 

345 def url(self) -> str: 

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

347 

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

349 

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

351 """ 

352 return self._url 

353 

354 @url.setter 

355 def url(self, url: str): 

356 """Sets the url of this Webhook. 

357 

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

359 

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

361 """ 

362 if url is None: 

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

364 

365 self._url = url 

366 

367 @property 

368 def ip(self) -> str: 

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

370 

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

372 

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

374 """ 

375 return self._ip 

376 

377 @ip.setter 

378 def ip(self, ip: str): 

379 """Sets the ip of this Webhook. 

380 

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

382 

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

384 """ 

385 if ip is None: 

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

387 

388 self._ip = ip 

389 

390 @property 

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

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

393 

394 Environment ID of the event. # noqa: E501 

395 

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

397 """ 

398 return self._environment_id 

399 

400 @environment_id.setter 

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

402 """Sets the environment_id of this Webhook. 

403 

404 Environment ID of the event. # noqa: E501 

405 

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

407 """ 

408 

409 self._environment_id = environment_id 

410 

411 @property 

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

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

414 

415 

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

417 """ 

418 return self._tag 

419 

420 @tag.setter 

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

422 """Sets the tag of this Webhook. 

423 

424 

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

426 """ 

427 

428 self._tag = tag 

429 

430 @property 

431 def time(self) -> datetime: 

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

433 

434 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 

435 

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

437 """ 

438 return self._time 

439 

440 @time.setter 

441 def time(self, time: datetime): 

442 """Sets the time of this Webhook. 

443 

444 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 

445 

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

447 """ 

448 if time is None: 

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

450 

451 self._time = time 

452 

453 @property 

454 def timestamp(self) -> int: 

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

456 

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

458 

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

460 """ 

461 return self._timestamp 

462 

463 @timestamp.setter 

464 def timestamp(self, timestamp: int): 

465 """Sets the timestamp of this Webhook. 

466 

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

468 

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

470 """ 

471 if timestamp is None: 

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

473 

474 self._timestamp = timestamp 

475 

476 @property 

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

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

479 

480 

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

482 """ 

483 return self._ip_location 

484 

485 @ip_location.setter 

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

487 """Sets the ip_location of this Webhook. 

488 

489 

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

491 """ 

492 

493 self._ip_location = ip_location 

494 

495 @property 

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

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

498 

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

500 

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

502 """ 

503 return self._linked_id 

504 

505 @linked_id.setter 

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

507 """Sets the linked_id of this Webhook. 

508 

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

510 

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

512 """ 

513 

514 self._linked_id = linked_id 

515 

516 @property 

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

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

519 

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

521 

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

523 """ 

524 return self._visitor_id 

525 

526 @visitor_id.setter 

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

528 """Sets the visitor_id of this Webhook. 

529 

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

531 

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

533 """ 

534 

535 self._visitor_id = visitor_id 

536 

537 @property 

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

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

540 

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

542 

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

544 """ 

545 return self._visitor_found 

546 

547 @visitor_found.setter 

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

549 """Sets the visitor_found of this Webhook. 

550 

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

552 

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

554 """ 

555 

556 self._visitor_found = visitor_found 

557 

558 @property 

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

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

561 

562 

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

564 """ 

565 return self._confidence 

566 

567 @confidence.setter 

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

569 """Sets the confidence of this Webhook. 

570 

571 

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

573 """ 

574 

575 self._confidence = confidence 

576 

577 @property 

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

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

580 

581 

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

583 """ 

584 return self._first_seen_at 

585 

586 @first_seen_at.setter 

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

588 """Sets the first_seen_at of this Webhook. 

589 

590 

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

592 """ 

593 

594 self._first_seen_at = first_seen_at 

595 

596 @property 

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

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

599 

600 

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

602 """ 

603 return self._last_seen_at 

604 

605 @last_seen_at.setter 

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

607 """Sets the last_seen_at of this Webhook. 

608 

609 

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

611 """ 

612 

613 self._last_seen_at = last_seen_at 

614 

615 @property 

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

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

618 

619 

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

621 """ 

622 return self._browser_details 

623 

624 @browser_details.setter 

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

626 """Sets the browser_details of this Webhook. 

627 

628 

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

630 """ 

631 

632 self._browser_details = browser_details 

633 

634 @property 

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

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

637 

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

639 

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

641 """ 

642 return self._incognito 

643 

644 @incognito.setter 

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

646 """Sets the incognito of this Webhook. 

647 

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

649 

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

651 """ 

652 

653 self._incognito = incognito 

654 

655 @property 

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

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

658 

659 

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

661 """ 

662 return self._client_referrer 

663 

664 @client_referrer.setter 

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

666 """Sets the client_referrer of this Webhook. 

667 

668 

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

670 """ 

671 

672 self._client_referrer = client_referrer 

673 

674 @property 

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

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

677 

678 

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

680 """ 

681 return self._components 

682 

683 @components.setter 

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

685 """Sets the components of this Webhook. 

686 

687 

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

689 """ 

690 

691 self._components = components 

692 

693 @property 

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

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

696 

697 

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

699 """ 

700 return self._bot 

701 

702 @bot.setter 

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

704 """Sets the bot of this Webhook. 

705 

706 

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

708 """ 

709 

710 self._bot = bot 

711 

712 @property 

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

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

715 

716 

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

718 """ 

719 return self._user_agent 

720 

721 @user_agent.setter 

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

723 """Sets the user_agent of this Webhook. 

724 

725 

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

727 """ 

728 

729 self._user_agent = user_agent 

730 

731 @property 

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

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

734 

735 

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

737 """ 

738 return self._root_apps 

739 

740 @root_apps.setter 

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

742 """Sets the root_apps of this Webhook. 

743 

744 

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

746 """ 

747 

748 self._root_apps = root_apps 

749 

750 @property 

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

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

753 

754 

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

756 """ 

757 return self._emulator 

758 

759 @emulator.setter 

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

761 """Sets the emulator of this Webhook. 

762 

763 

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

765 """ 

766 

767 self._emulator = emulator 

768 

769 @property 

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

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

772 

773 

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

775 """ 

776 return self._ip_info 

777 

778 @ip_info.setter 

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

780 """Sets the ip_info of this Webhook. 

781 

782 

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

784 """ 

785 

786 self._ip_info = ip_info 

787 

788 @property 

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

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

791 

792 

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

794 """ 

795 return self._ip_blocklist 

796 

797 @ip_blocklist.setter 

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

799 """Sets the ip_blocklist of this Webhook. 

800 

801 

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

803 """ 

804 

805 self._ip_blocklist = ip_blocklist 

806 

807 @property 

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

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

810 

811 

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

813 """ 

814 return self._tor 

815 

816 @tor.setter 

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

818 """Sets the tor of this Webhook. 

819 

820 

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

822 """ 

823 

824 self._tor = tor 

825 

826 @property 

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

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

829 

830 

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

832 """ 

833 return self._vpn 

834 

835 @vpn.setter 

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

837 """Sets the vpn of this Webhook. 

838 

839 

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

841 """ 

842 

843 self._vpn = vpn 

844 

845 @property 

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

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

848 

849 

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

851 """ 

852 return self._proxy 

853 

854 @proxy.setter 

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

856 """Sets the proxy of this Webhook. 

857 

858 

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

860 """ 

861 

862 self._proxy = proxy 

863 

864 @property 

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

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

867 

868 

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

870 """ 

871 return self._tampering 

872 

873 @tampering.setter 

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

875 """Sets the tampering of this Webhook. 

876 

877 

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

879 """ 

880 

881 self._tampering = tampering 

882 

883 @property 

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

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

886 

887 

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

889 """ 

890 return self._cloned_app 

891 

892 @cloned_app.setter 

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

894 """Sets the cloned_app of this Webhook. 

895 

896 

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

898 """ 

899 

900 self._cloned_app = cloned_app 

901 

902 @property 

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

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

905 

906 

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

908 """ 

909 return self._factory_reset 

910 

911 @factory_reset.setter 

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

913 """Sets the factory_reset of this Webhook. 

914 

915 

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

917 """ 

918 

919 self._factory_reset = factory_reset 

920 

921 @property 

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

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

924 

925 

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

927 """ 

928 return self._jailbroken 

929 

930 @jailbroken.setter 

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

932 """Sets the jailbroken of this Webhook. 

933 

934 

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

936 """ 

937 

938 self._jailbroken = jailbroken 

939 

940 @property 

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

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

943 

944 

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

946 """ 

947 return self._frida 

948 

949 @frida.setter 

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

951 """Sets the frida of this Webhook. 

952 

953 

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

955 """ 

956 

957 self._frida = frida 

958 

959 @property 

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

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

962 

963 

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

965 """ 

966 return self._privacy_settings 

967 

968 @privacy_settings.setter 

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

970 """Sets the privacy_settings of this Webhook. 

971 

972 

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

974 """ 

975 

976 self._privacy_settings = privacy_settings 

977 

978 @property 

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

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

981 

982 

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

984 """ 

985 return self._virtual_machine 

986 

987 @virtual_machine.setter 

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

989 """Sets the virtual_machine of this Webhook. 

990 

991 

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

993 """ 

994 

995 self._virtual_machine = virtual_machine 

996 

997 @property 

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

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

1000 

1001 

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

1003 """ 

1004 return self._raw_device_attributes 

1005 

1006 @raw_device_attributes.setter 

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

1008 """Sets the raw_device_attributes of this Webhook. 

1009 

1010 

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

1012 """ 

1013 

1014 self._raw_device_attributes = raw_device_attributes 

1015 

1016 @property 

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

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

1019 

1020 

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

1022 """ 

1023 return self._high_activity 

1024 

1025 @high_activity.setter 

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

1027 """Sets the high_activity of this Webhook. 

1028 

1029 

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

1031 """ 

1032 

1033 self._high_activity = high_activity 

1034 

1035 @property 

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

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

1038 

1039 

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

1041 """ 

1042 return self._location_spoofing 

1043 

1044 @location_spoofing.setter 

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

1046 """Sets the location_spoofing of this Webhook. 

1047 

1048 

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

1050 """ 

1051 

1052 self._location_spoofing = location_spoofing 

1053 

1054 @property 

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

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

1057 

1058 

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

1060 """ 

1061 return self._suspect_score 

1062 

1063 @suspect_score.setter 

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

1065 """Sets the suspect_score of this Webhook. 

1066 

1067 

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

1069 """ 

1070 

1071 self._suspect_score = suspect_score 

1072 

1073 @property 

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

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

1076 

1077 

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

1079 """ 

1080 return self._remote_control 

1081 

1082 @remote_control.setter 

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

1084 """Sets the remote_control of this Webhook. 

1085 

1086 

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

1088 """ 

1089 

1090 self._remote_control = remote_control 

1091 

1092 @property 

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

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

1095 

1096 

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

1098 """ 

1099 return self._velocity 

1100 

1101 @velocity.setter 

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

1103 """Sets the velocity of this Webhook. 

1104 

1105 

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

1107 """ 

1108 

1109 self._velocity = velocity 

1110 

1111 @property 

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

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

1114 

1115 

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

1117 """ 

1118 return self._developer_tools 

1119 

1120 @developer_tools.setter 

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

1122 """Sets the developer_tools of this Webhook. 

1123 

1124 

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

1126 """ 

1127 

1128 self._developer_tools = developer_tools 

1129 

1130 @property 

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

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

1133 

1134 

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

1136 """ 

1137 return self._mitm_attack 

1138 

1139 @mitm_attack.setter 

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

1141 """Sets the mitm_attack of this Webhook. 

1142 

1143 

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

1145 """ 

1146 

1147 self._mitm_attack = mitm_attack 

1148