Coverage for fingerprint_pro_server_api_sdk/models/products.py: 100%

260 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.product_identification import ProductIdentification 

17from fingerprint_pro_server_api_sdk.models.product_botd import ProductBotd 

18from fingerprint_pro_server_api_sdk.models.product_root_apps import ProductRootApps 

19from fingerprint_pro_server_api_sdk.models.product_emulator import ProductEmulator 

20from fingerprint_pro_server_api_sdk.models.product_ip_info import ProductIPInfo 

21from fingerprint_pro_server_api_sdk.models.product_ip_blocklist import ProductIPBlocklist 

22from fingerprint_pro_server_api_sdk.models.product_tor import ProductTor 

23from fingerprint_pro_server_api_sdk.models.product_vpn import ProductVPN 

24from fingerprint_pro_server_api_sdk.models.product_proxy import ProductProxy 

25from fingerprint_pro_server_api_sdk.models.product_incognito import ProductIncognito 

26from fingerprint_pro_server_api_sdk.models.product_tampering import ProductTampering 

27from fingerprint_pro_server_api_sdk.models.product_cloned_app import ProductClonedApp 

28from fingerprint_pro_server_api_sdk.models.product_factory_reset import ProductFactoryReset 

29from fingerprint_pro_server_api_sdk.models.product_jailbroken import ProductJailbroken 

30from fingerprint_pro_server_api_sdk.models.product_frida import ProductFrida 

31from fingerprint_pro_server_api_sdk.models.product_privacy_settings import ProductPrivacySettings 

32from fingerprint_pro_server_api_sdk.models.product_virtual_machine import ProductVirtualMachine 

33from fingerprint_pro_server_api_sdk.models.product_raw_device_attributes import ProductRawDeviceAttributes 

34from fingerprint_pro_server_api_sdk.models.product_high_activity import ProductHighActivity 

35from fingerprint_pro_server_api_sdk.models.product_location_spoofing import ProductLocationSpoofing 

36from fingerprint_pro_server_api_sdk.models.product_suspect_score import ProductSuspectScore 

37from fingerprint_pro_server_api_sdk.models.product_remote_control import ProductRemoteControl 

38from fingerprint_pro_server_api_sdk.models.product_velocity import ProductVelocity 

39from fingerprint_pro_server_api_sdk.models.product_developer_tools import ProductDeveloperTools 

40from fingerprint_pro_server_api_sdk.models.product_mit_m_attack import ProductMitMAttack 

41 

42 

43class Products(BaseModel): 

44 """ 

45 Contains all information about the request identified by `requestId`, depending on the pricing plan (Pro, Pro Plus, Enterprise) 

46 

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

48 

49 Do not edit the class manually. 

50 """ 

51 """ 

52 Attributes: 

53 swagger_types (dict): The key is attribute name 

54 and the value is attribute type. 

55 attribute_map (dict): The key is attribute name 

56 and the value is json key in definition. 

57 """ 

58 swagger_types = { 

59 'identification': 'ProductIdentification', 

60 'botd': 'ProductBotd', 

61 'root_apps': 'ProductRootApps', 

62 'emulator': 'ProductEmulator', 

63 'ip_info': 'ProductIPInfo', 

64 'ip_blocklist': 'ProductIPBlocklist', 

65 'tor': 'ProductTor', 

66 'vpn': 'ProductVPN', 

67 'proxy': 'ProductProxy', 

68 'incognito': 'ProductIncognito', 

69 'tampering': 'ProductTampering', 

70 'cloned_app': 'ProductClonedApp', 

71 'factory_reset': 'ProductFactoryReset', 

72 'jailbroken': 'ProductJailbroken', 

73 'frida': 'ProductFrida', 

74 'privacy_settings': 'ProductPrivacySettings', 

75 'virtual_machine': 'ProductVirtualMachine', 

76 'raw_device_attributes': 'ProductRawDeviceAttributes', 

77 'high_activity': 'ProductHighActivity', 

78 'location_spoofing': 'ProductLocationSpoofing', 

79 'suspect_score': 'ProductSuspectScore', 

80 'remote_control': 'ProductRemoteControl', 

81 'velocity': 'ProductVelocity', 

82 'developer_tools': 'ProductDeveloperTools', 

83 'mitm_attack': 'ProductMitMAttack' 

84 } 

85 

86 nullable_map = { 

87 'identification': False, 

88 'botd': False, 

89 'root_apps': False, 

90 'emulator': False, 

91 'ip_info': False, 

92 'ip_blocklist': False, 

93 'tor': False, 

94 'vpn': False, 

95 'proxy': False, 

96 'incognito': False, 

97 'tampering': False, 

98 'cloned_app': False, 

99 'factory_reset': False, 

100 'jailbroken': False, 

101 'frida': False, 

102 'privacy_settings': False, 

103 'virtual_machine': False, 

104 'raw_device_attributes': False, 

105 'high_activity': False, 

106 'location_spoofing': False, 

107 'suspect_score': False, 

108 'remote_control': False, 

109 'velocity': False, 

110 'developer_tools': False, 

111 'mitm_attack': False 

112 } 

113 

114 attribute_map = { 

115 'identification': 'identification', 

116 'botd': 'botd', 

117 'root_apps': 'rootApps', 

118 'emulator': 'emulator', 

119 'ip_info': 'ipInfo', 

120 'ip_blocklist': 'ipBlocklist', 

121 'tor': 'tor', 

122 'vpn': 'vpn', 

123 'proxy': 'proxy', 

124 'incognito': 'incognito', 

125 'tampering': 'tampering', 

126 'cloned_app': 'clonedApp', 

127 'factory_reset': 'factoryReset', 

128 'jailbroken': 'jailbroken', 

129 'frida': 'frida', 

130 'privacy_settings': 'privacySettings', 

131 'virtual_machine': 'virtualMachine', 

132 'raw_device_attributes': 'rawDeviceAttributes', 

133 'high_activity': 'highActivity', 

134 'location_spoofing': 'locationSpoofing', 

135 'suspect_score': 'suspectScore', 

136 'remote_control': 'remoteControl', 

137 'velocity': 'velocity', 

138 'developer_tools': 'developerTools', 

139 'mitm_attack': 'mitmAttack' 

140 } 

141 

142 def __init__(self, identification=None, botd=None, root_apps=None, emulator=None, ip_info=None, ip_blocklist=None, tor=None, vpn=None, proxy=None, incognito=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 

143 """Products - a model defined in Swagger""" # noqa: E501 

144 self._identification = None 

145 self._botd = None 

146 self._root_apps = None 

147 self._emulator = None 

148 self._ip_info = None 

149 self._ip_blocklist = None 

150 self._tor = None 

151 self._vpn = None 

152 self._proxy = None 

153 self._incognito = None 

154 self._tampering = None 

155 self._cloned_app = None 

156 self._factory_reset = None 

157 self._jailbroken = None 

158 self._frida = None 

159 self._privacy_settings = None 

160 self._virtual_machine = None 

161 self._raw_device_attributes = None 

162 self._high_activity = None 

163 self._location_spoofing = None 

164 self._suspect_score = None 

165 self._remote_control = None 

166 self._velocity = None 

167 self._developer_tools = None 

168 self._mitm_attack = None 

169 self.discriminator = None 

170 if identification is not None: 

171 self.identification = identification 

172 if botd is not None: 

173 self.botd = botd 

174 if root_apps is not None: 

175 self.root_apps = root_apps 

176 if emulator is not None: 

177 self.emulator = emulator 

178 if ip_info is not None: 

179 self.ip_info = ip_info 

180 if ip_blocklist is not None: 

181 self.ip_blocklist = ip_blocklist 

182 if tor is not None: 

183 self.tor = tor 

184 if vpn is not None: 

185 self.vpn = vpn 

186 if proxy is not None: 

187 self.proxy = proxy 

188 if incognito is not None: 

189 self.incognito = incognito 

190 if tampering is not None: 

191 self.tampering = tampering 

192 if cloned_app is not None: 

193 self.cloned_app = cloned_app 

194 if factory_reset is not None: 

195 self.factory_reset = factory_reset 

196 if jailbroken is not None: 

197 self.jailbroken = jailbroken 

198 if frida is not None: 

199 self.frida = frida 

200 if privacy_settings is not None: 

201 self.privacy_settings = privacy_settings 

202 if virtual_machine is not None: 

203 self.virtual_machine = virtual_machine 

204 if raw_device_attributes is not None: 

205 self.raw_device_attributes = raw_device_attributes 

206 if high_activity is not None: 

207 self.high_activity = high_activity 

208 if location_spoofing is not None: 

209 self.location_spoofing = location_spoofing 

210 if suspect_score is not None: 

211 self.suspect_score = suspect_score 

212 if remote_control is not None: 

213 self.remote_control = remote_control 

214 if velocity is not None: 

215 self.velocity = velocity 

216 if developer_tools is not None: 

217 self.developer_tools = developer_tools 

218 if mitm_attack is not None: 

219 self.mitm_attack = mitm_attack 

220 

221 @property 

222 def identification(self) -> Optional[ProductIdentification]: 

223 """Gets the identification of this Products. # noqa: E501 

224 

225 

226 :return: The identification of this Products. # noqa: E501 

227 """ 

228 return self._identification 

229 

230 @identification.setter 

231 def identification(self, identification: Optional[ProductIdentification]): 

232 """Sets the identification of this Products. 

233 

234 

235 :param identification: The identification of this Products. # noqa: E501 

236 """ 

237 

238 self._identification = identification 

239 

240 @property 

241 def botd(self) -> Optional[ProductBotd]: 

242 """Gets the botd of this Products. # noqa: E501 

243 

244 

245 :return: The botd of this Products. # noqa: E501 

246 """ 

247 return self._botd 

248 

249 @botd.setter 

250 def botd(self, botd: Optional[ProductBotd]): 

251 """Sets the botd of this Products. 

252 

253 

254 :param botd: The botd of this Products. # noqa: E501 

255 """ 

256 

257 self._botd = botd 

258 

259 @property 

260 def root_apps(self) -> Optional[ProductRootApps]: 

261 """Gets the root_apps of this Products. # noqa: E501 

262 

263 

264 :return: The root_apps of this Products. # noqa: E501 

265 """ 

266 return self._root_apps 

267 

268 @root_apps.setter 

269 def root_apps(self, root_apps: Optional[ProductRootApps]): 

270 """Sets the root_apps of this Products. 

271 

272 

273 :param root_apps: The root_apps of this Products. # noqa: E501 

274 """ 

275 

276 self._root_apps = root_apps 

277 

278 @property 

279 def emulator(self) -> Optional[ProductEmulator]: 

280 """Gets the emulator of this Products. # noqa: E501 

281 

282 

283 :return: The emulator of this Products. # noqa: E501 

284 """ 

285 return self._emulator 

286 

287 @emulator.setter 

288 def emulator(self, emulator: Optional[ProductEmulator]): 

289 """Sets the emulator of this Products. 

290 

291 

292 :param emulator: The emulator of this Products. # noqa: E501 

293 """ 

294 

295 self._emulator = emulator 

296 

297 @property 

298 def ip_info(self) -> Optional[ProductIPInfo]: 

299 """Gets the ip_info of this Products. # noqa: E501 

300 

301 

302 :return: The ip_info of this Products. # noqa: E501 

303 """ 

304 return self._ip_info 

305 

306 @ip_info.setter 

307 def ip_info(self, ip_info: Optional[ProductIPInfo]): 

308 """Sets the ip_info of this Products. 

309 

310 

311 :param ip_info: The ip_info of this Products. # noqa: E501 

312 """ 

313 

314 self._ip_info = ip_info 

315 

316 @property 

317 def ip_blocklist(self) -> Optional[ProductIPBlocklist]: 

318 """Gets the ip_blocklist of this Products. # noqa: E501 

319 

320 

321 :return: The ip_blocklist of this Products. # noqa: E501 

322 """ 

323 return self._ip_blocklist 

324 

325 @ip_blocklist.setter 

326 def ip_blocklist(self, ip_blocklist: Optional[ProductIPBlocklist]): 

327 """Sets the ip_blocklist of this Products. 

328 

329 

330 :param ip_blocklist: The ip_blocklist of this Products. # noqa: E501 

331 """ 

332 

333 self._ip_blocklist = ip_blocklist 

334 

335 @property 

336 def tor(self) -> Optional[ProductTor]: 

337 """Gets the tor of this Products. # noqa: E501 

338 

339 

340 :return: The tor of this Products. # noqa: E501 

341 """ 

342 return self._tor 

343 

344 @tor.setter 

345 def tor(self, tor: Optional[ProductTor]): 

346 """Sets the tor of this Products. 

347 

348 

349 :param tor: The tor of this Products. # noqa: E501 

350 """ 

351 

352 self._tor = tor 

353 

354 @property 

355 def vpn(self) -> Optional[ProductVPN]: 

356 """Gets the vpn of this Products. # noqa: E501 

357 

358 

359 :return: The vpn of this Products. # noqa: E501 

360 """ 

361 return self._vpn 

362 

363 @vpn.setter 

364 def vpn(self, vpn: Optional[ProductVPN]): 

365 """Sets the vpn of this Products. 

366 

367 

368 :param vpn: The vpn of this Products. # noqa: E501 

369 """ 

370 

371 self._vpn = vpn 

372 

373 @property 

374 def proxy(self) -> Optional[ProductProxy]: 

375 """Gets the proxy of this Products. # noqa: E501 

376 

377 

378 :return: The proxy of this Products. # noqa: E501 

379 """ 

380 return self._proxy 

381 

382 @proxy.setter 

383 def proxy(self, proxy: Optional[ProductProxy]): 

384 """Sets the proxy of this Products. 

385 

386 

387 :param proxy: The proxy of this Products. # noqa: E501 

388 """ 

389 

390 self._proxy = proxy 

391 

392 @property 

393 def incognito(self) -> Optional[ProductIncognito]: 

394 """Gets the incognito of this Products. # noqa: E501 

395 

396 

397 :return: The incognito of this Products. # noqa: E501 

398 """ 

399 return self._incognito 

400 

401 @incognito.setter 

402 def incognito(self, incognito: Optional[ProductIncognito]): 

403 """Sets the incognito of this Products. 

404 

405 

406 :param incognito: The incognito of this Products. # noqa: E501 

407 """ 

408 

409 self._incognito = incognito 

410 

411 @property 

412 def tampering(self) -> Optional[ProductTampering]: 

413 """Gets the tampering of this Products. # noqa: E501 

414 

415 

416 :return: The tampering of this Products. # noqa: E501 

417 """ 

418 return self._tampering 

419 

420 @tampering.setter 

421 def tampering(self, tampering: Optional[ProductTampering]): 

422 """Sets the tampering of this Products. 

423 

424 

425 :param tampering: The tampering of this Products. # noqa: E501 

426 """ 

427 

428 self._tampering = tampering 

429 

430 @property 

431 def cloned_app(self) -> Optional[ProductClonedApp]: 

432 """Gets the cloned_app of this Products. # noqa: E501 

433 

434 

435 :return: The cloned_app of this Products. # noqa: E501 

436 """ 

437 return self._cloned_app 

438 

439 @cloned_app.setter 

440 def cloned_app(self, cloned_app: Optional[ProductClonedApp]): 

441 """Sets the cloned_app of this Products. 

442 

443 

444 :param cloned_app: The cloned_app of this Products. # noqa: E501 

445 """ 

446 

447 self._cloned_app = cloned_app 

448 

449 @property 

450 def factory_reset(self) -> Optional[ProductFactoryReset]: 

451 """Gets the factory_reset of this Products. # noqa: E501 

452 

453 

454 :return: The factory_reset of this Products. # noqa: E501 

455 """ 

456 return self._factory_reset 

457 

458 @factory_reset.setter 

459 def factory_reset(self, factory_reset: Optional[ProductFactoryReset]): 

460 """Sets the factory_reset of this Products. 

461 

462 

463 :param factory_reset: The factory_reset of this Products. # noqa: E501 

464 """ 

465 

466 self._factory_reset = factory_reset 

467 

468 @property 

469 def jailbroken(self) -> Optional[ProductJailbroken]: 

470 """Gets the jailbroken of this Products. # noqa: E501 

471 

472 

473 :return: The jailbroken of this Products. # noqa: E501 

474 """ 

475 return self._jailbroken 

476 

477 @jailbroken.setter 

478 def jailbroken(self, jailbroken: Optional[ProductJailbroken]): 

479 """Sets the jailbroken of this Products. 

480 

481 

482 :param jailbroken: The jailbroken of this Products. # noqa: E501 

483 """ 

484 

485 self._jailbroken = jailbroken 

486 

487 @property 

488 def frida(self) -> Optional[ProductFrida]: 

489 """Gets the frida of this Products. # noqa: E501 

490 

491 

492 :return: The frida of this Products. # noqa: E501 

493 """ 

494 return self._frida 

495 

496 @frida.setter 

497 def frida(self, frida: Optional[ProductFrida]): 

498 """Sets the frida of this Products. 

499 

500 

501 :param frida: The frida of this Products. # noqa: E501 

502 """ 

503 

504 self._frida = frida 

505 

506 @property 

507 def privacy_settings(self) -> Optional[ProductPrivacySettings]: 

508 """Gets the privacy_settings of this Products. # noqa: E501 

509 

510 

511 :return: The privacy_settings of this Products. # noqa: E501 

512 """ 

513 return self._privacy_settings 

514 

515 @privacy_settings.setter 

516 def privacy_settings(self, privacy_settings: Optional[ProductPrivacySettings]): 

517 """Sets the privacy_settings of this Products. 

518 

519 

520 :param privacy_settings: The privacy_settings of this Products. # noqa: E501 

521 """ 

522 

523 self._privacy_settings = privacy_settings 

524 

525 @property 

526 def virtual_machine(self) -> Optional[ProductVirtualMachine]: 

527 """Gets the virtual_machine of this Products. # noqa: E501 

528 

529 

530 :return: The virtual_machine of this Products. # noqa: E501 

531 """ 

532 return self._virtual_machine 

533 

534 @virtual_machine.setter 

535 def virtual_machine(self, virtual_machine: Optional[ProductVirtualMachine]): 

536 """Sets the virtual_machine of this Products. 

537 

538 

539 :param virtual_machine: The virtual_machine of this Products. # noqa: E501 

540 """ 

541 

542 self._virtual_machine = virtual_machine 

543 

544 @property 

545 def raw_device_attributes(self) -> Optional[ProductRawDeviceAttributes]: 

546 """Gets the raw_device_attributes of this Products. # noqa: E501 

547 

548 

549 :return: The raw_device_attributes of this Products. # noqa: E501 

550 """ 

551 return self._raw_device_attributes 

552 

553 @raw_device_attributes.setter 

554 def raw_device_attributes(self, raw_device_attributes: Optional[ProductRawDeviceAttributes]): 

555 """Sets the raw_device_attributes of this Products. 

556 

557 

558 :param raw_device_attributes: The raw_device_attributes of this Products. # noqa: E501 

559 """ 

560 

561 self._raw_device_attributes = raw_device_attributes 

562 

563 @property 

564 def high_activity(self) -> Optional[ProductHighActivity]: 

565 """Gets the high_activity of this Products. # noqa: E501 

566 

567 

568 :return: The high_activity of this Products. # noqa: E501 

569 """ 

570 return self._high_activity 

571 

572 @high_activity.setter 

573 def high_activity(self, high_activity: Optional[ProductHighActivity]): 

574 """Sets the high_activity of this Products. 

575 

576 

577 :param high_activity: The high_activity of this Products. # noqa: E501 

578 """ 

579 

580 self._high_activity = high_activity 

581 

582 @property 

583 def location_spoofing(self) -> Optional[ProductLocationSpoofing]: 

584 """Gets the location_spoofing of this Products. # noqa: E501 

585 

586 

587 :return: The location_spoofing of this Products. # noqa: E501 

588 """ 

589 return self._location_spoofing 

590 

591 @location_spoofing.setter 

592 def location_spoofing(self, location_spoofing: Optional[ProductLocationSpoofing]): 

593 """Sets the location_spoofing of this Products. 

594 

595 

596 :param location_spoofing: The location_spoofing of this Products. # noqa: E501 

597 """ 

598 

599 self._location_spoofing = location_spoofing 

600 

601 @property 

602 def suspect_score(self) -> Optional[ProductSuspectScore]: 

603 """Gets the suspect_score of this Products. # noqa: E501 

604 

605 

606 :return: The suspect_score of this Products. # noqa: E501 

607 """ 

608 return self._suspect_score 

609 

610 @suspect_score.setter 

611 def suspect_score(self, suspect_score: Optional[ProductSuspectScore]): 

612 """Sets the suspect_score of this Products. 

613 

614 

615 :param suspect_score: The suspect_score of this Products. # noqa: E501 

616 """ 

617 

618 self._suspect_score = suspect_score 

619 

620 @property 

621 def remote_control(self) -> Optional[ProductRemoteControl]: 

622 """Gets the remote_control of this Products. # noqa: E501 

623 

624 

625 :return: The remote_control of this Products. # noqa: E501 

626 """ 

627 return self._remote_control 

628 

629 @remote_control.setter 

630 def remote_control(self, remote_control: Optional[ProductRemoteControl]): 

631 """Sets the remote_control of this Products. 

632 

633 

634 :param remote_control: The remote_control of this Products. # noqa: E501 

635 """ 

636 

637 self._remote_control = remote_control 

638 

639 @property 

640 def velocity(self) -> Optional[ProductVelocity]: 

641 """Gets the velocity of this Products. # noqa: E501 

642 

643 

644 :return: The velocity of this Products. # noqa: E501 

645 """ 

646 return self._velocity 

647 

648 @velocity.setter 

649 def velocity(self, velocity: Optional[ProductVelocity]): 

650 """Sets the velocity of this Products. 

651 

652 

653 :param velocity: The velocity of this Products. # noqa: E501 

654 """ 

655 

656 self._velocity = velocity 

657 

658 @property 

659 def developer_tools(self) -> Optional[ProductDeveloperTools]: 

660 """Gets the developer_tools of this Products. # noqa: E501 

661 

662 

663 :return: The developer_tools of this Products. # noqa: E501 

664 """ 

665 return self._developer_tools 

666 

667 @developer_tools.setter 

668 def developer_tools(self, developer_tools: Optional[ProductDeveloperTools]): 

669 """Sets the developer_tools of this Products. 

670 

671 

672 :param developer_tools: The developer_tools of this Products. # noqa: E501 

673 """ 

674 

675 self._developer_tools = developer_tools 

676 

677 @property 

678 def mitm_attack(self) -> Optional[ProductMitMAttack]: 

679 """Gets the mitm_attack of this Products. # noqa: E501 

680 

681 

682 :return: The mitm_attack of this Products. # noqa: E501 

683 """ 

684 return self._mitm_attack 

685 

686 @mitm_attack.setter 

687 def mitm_attack(self, mitm_attack: Optional[ProductMitMAttack]): 

688 """Sets the mitm_attack of this Products. 

689 

690 

691 :param mitm_attack: The mitm_attack of this Products. # noqa: E501 

692 """ 

693 

694 self._mitm_attack = mitm_attack 

695