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

250 statements  

« prev     ^ index     » next       coverage.py v7.6.12, created at 2025-02-21 15:03 +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 

40 

41 

42class Products(BaseModel): 

43 """ 

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

45 

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

47 

48 Do not edit the class manually. 

49 """ 

50 """ 

51 Attributes: 

52 swagger_types (dict): The key is attribute name 

53 and the value is attribute type. 

54 attribute_map (dict): The key is attribute name 

55 and the value is json key in definition. 

56 """ 

57 swagger_types = { 

58 'identification': 'ProductIdentification', 

59 'botd': 'ProductBotd', 

60 'root_apps': 'ProductRootApps', 

61 'emulator': 'ProductEmulator', 

62 'ip_info': 'ProductIPInfo', 

63 'ip_blocklist': 'ProductIPBlocklist', 

64 'tor': 'ProductTor', 

65 'vpn': 'ProductVPN', 

66 'proxy': 'ProductProxy', 

67 'incognito': 'ProductIncognito', 

68 'tampering': 'ProductTampering', 

69 'cloned_app': 'ProductClonedApp', 

70 'factory_reset': 'ProductFactoryReset', 

71 'jailbroken': 'ProductJailbroken', 

72 'frida': 'ProductFrida', 

73 'privacy_settings': 'ProductPrivacySettings', 

74 'virtual_machine': 'ProductVirtualMachine', 

75 'raw_device_attributes': 'ProductRawDeviceAttributes', 

76 'high_activity': 'ProductHighActivity', 

77 'location_spoofing': 'ProductLocationSpoofing', 

78 'suspect_score': 'ProductSuspectScore', 

79 'remote_control': 'ProductRemoteControl', 

80 'velocity': 'ProductVelocity', 

81 'developer_tools': 'ProductDeveloperTools' 

82 } 

83 

84 nullable_map = { 

85 'identification': False, 

86 'botd': False, 

87 'root_apps': False, 

88 'emulator': False, 

89 'ip_info': False, 

90 'ip_blocklist': False, 

91 'tor': False, 

92 'vpn': False, 

93 'proxy': False, 

94 'incognito': False, 

95 'tampering': False, 

96 'cloned_app': False, 

97 'factory_reset': False, 

98 'jailbroken': False, 

99 'frida': False, 

100 'privacy_settings': False, 

101 'virtual_machine': False, 

102 'raw_device_attributes': False, 

103 'high_activity': False, 

104 'location_spoofing': False, 

105 'suspect_score': False, 

106 'remote_control': False, 

107 'velocity': False, 

108 'developer_tools': False 

109 } 

110 

111 attribute_map = { 

112 'identification': 'identification', 

113 'botd': 'botd', 

114 'root_apps': 'rootApps', 

115 'emulator': 'emulator', 

116 'ip_info': 'ipInfo', 

117 'ip_blocklist': 'ipBlocklist', 

118 'tor': 'tor', 

119 'vpn': 'vpn', 

120 'proxy': 'proxy', 

121 'incognito': 'incognito', 

122 'tampering': 'tampering', 

123 'cloned_app': 'clonedApp', 

124 'factory_reset': 'factoryReset', 

125 'jailbroken': 'jailbroken', 

126 'frida': 'frida', 

127 'privacy_settings': 'privacySettings', 

128 'virtual_machine': 'virtualMachine', 

129 'raw_device_attributes': 'rawDeviceAttributes', 

130 'high_activity': 'highActivity', 

131 'location_spoofing': 'locationSpoofing', 

132 'suspect_score': 'suspectScore', 

133 'remote_control': 'remoteControl', 

134 'velocity': 'velocity', 

135 'developer_tools': 'developerTools' 

136 } 

137 

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

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

140 self._identification = None 

141 self._botd = None 

142 self._root_apps = None 

143 self._emulator = None 

144 self._ip_info = None 

145 self._ip_blocklist = None 

146 self._tor = None 

147 self._vpn = None 

148 self._proxy = None 

149 self._incognito = None 

150 self._tampering = None 

151 self._cloned_app = None 

152 self._factory_reset = None 

153 self._jailbroken = None 

154 self._frida = None 

155 self._privacy_settings = None 

156 self._virtual_machine = None 

157 self._raw_device_attributes = None 

158 self._high_activity = None 

159 self._location_spoofing = None 

160 self._suspect_score = None 

161 self._remote_control = None 

162 self._velocity = None 

163 self._developer_tools = None 

164 self.discriminator = None 

165 if identification is not None: 

166 self.identification = identification 

167 if botd is not None: 

168 self.botd = botd 

169 if root_apps is not None: 

170 self.root_apps = root_apps 

171 if emulator is not None: 

172 self.emulator = emulator 

173 if ip_info is not None: 

174 self.ip_info = ip_info 

175 if ip_blocklist is not None: 

176 self.ip_blocklist = ip_blocklist 

177 if tor is not None: 

178 self.tor = tor 

179 if vpn is not None: 

180 self.vpn = vpn 

181 if proxy is not None: 

182 self.proxy = proxy 

183 if incognito is not None: 

184 self.incognito = incognito 

185 if tampering is not None: 

186 self.tampering = tampering 

187 if cloned_app is not None: 

188 self.cloned_app = cloned_app 

189 if factory_reset is not None: 

190 self.factory_reset = factory_reset 

191 if jailbroken is not None: 

192 self.jailbroken = jailbroken 

193 if frida is not None: 

194 self.frida = frida 

195 if privacy_settings is not None: 

196 self.privacy_settings = privacy_settings 

197 if virtual_machine is not None: 

198 self.virtual_machine = virtual_machine 

199 if raw_device_attributes is not None: 

200 self.raw_device_attributes = raw_device_attributes 

201 if high_activity is not None: 

202 self.high_activity = high_activity 

203 if location_spoofing is not None: 

204 self.location_spoofing = location_spoofing 

205 if suspect_score is not None: 

206 self.suspect_score = suspect_score 

207 if remote_control is not None: 

208 self.remote_control = remote_control 

209 if velocity is not None: 

210 self.velocity = velocity 

211 if developer_tools is not None: 

212 self.developer_tools = developer_tools 

213 

214 @property 

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

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

217 

218 

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

220 """ 

221 return self._identification 

222 

223 @identification.setter 

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

225 """Sets the identification of this Products. 

226 

227 

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

229 """ 

230 

231 self._identification = identification 

232 

233 @property 

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

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

236 

237 

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

239 """ 

240 return self._botd 

241 

242 @botd.setter 

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

244 """Sets the botd of this Products. 

245 

246 

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

248 """ 

249 

250 self._botd = botd 

251 

252 @property 

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

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

255 

256 

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

258 """ 

259 return self._root_apps 

260 

261 @root_apps.setter 

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

263 """Sets the root_apps of this Products. 

264 

265 

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

267 """ 

268 

269 self._root_apps = root_apps 

270 

271 @property 

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

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

274 

275 

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

277 """ 

278 return self._emulator 

279 

280 @emulator.setter 

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

282 """Sets the emulator of this Products. 

283 

284 

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

286 """ 

287 

288 self._emulator = emulator 

289 

290 @property 

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

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

293 

294 

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

296 """ 

297 return self._ip_info 

298 

299 @ip_info.setter 

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

301 """Sets the ip_info of this Products. 

302 

303 

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

305 """ 

306 

307 self._ip_info = ip_info 

308 

309 @property 

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

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

312 

313 

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

315 """ 

316 return self._ip_blocklist 

317 

318 @ip_blocklist.setter 

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

320 """Sets the ip_blocklist of this Products. 

321 

322 

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

324 """ 

325 

326 self._ip_blocklist = ip_blocklist 

327 

328 @property 

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

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

331 

332 

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

334 """ 

335 return self._tor 

336 

337 @tor.setter 

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

339 """Sets the tor of this Products. 

340 

341 

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

343 """ 

344 

345 self._tor = tor 

346 

347 @property 

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

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

350 

351 

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

353 """ 

354 return self._vpn 

355 

356 @vpn.setter 

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

358 """Sets the vpn of this Products. 

359 

360 

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

362 """ 

363 

364 self._vpn = vpn 

365 

366 @property 

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

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

369 

370 

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

372 """ 

373 return self._proxy 

374 

375 @proxy.setter 

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

377 """Sets the proxy of this Products. 

378 

379 

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

381 """ 

382 

383 self._proxy = proxy 

384 

385 @property 

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

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

388 

389 

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

391 """ 

392 return self._incognito 

393 

394 @incognito.setter 

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

396 """Sets the incognito of this Products. 

397 

398 

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

400 """ 

401 

402 self._incognito = incognito 

403 

404 @property 

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

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

407 

408 

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

410 """ 

411 return self._tampering 

412 

413 @tampering.setter 

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

415 """Sets the tampering of this Products. 

416 

417 

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

419 """ 

420 

421 self._tampering = tampering 

422 

423 @property 

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

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

426 

427 

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

429 """ 

430 return self._cloned_app 

431 

432 @cloned_app.setter 

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

434 """Sets the cloned_app of this Products. 

435 

436 

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

438 """ 

439 

440 self._cloned_app = cloned_app 

441 

442 @property 

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

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

445 

446 

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

448 """ 

449 return self._factory_reset 

450 

451 @factory_reset.setter 

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

453 """Sets the factory_reset of this Products. 

454 

455 

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

457 """ 

458 

459 self._factory_reset = factory_reset 

460 

461 @property 

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

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

464 

465 

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

467 """ 

468 return self._jailbroken 

469 

470 @jailbroken.setter 

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

472 """Sets the jailbroken of this Products. 

473 

474 

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

476 """ 

477 

478 self._jailbroken = jailbroken 

479 

480 @property 

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

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

483 

484 

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

486 """ 

487 return self._frida 

488 

489 @frida.setter 

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

491 """Sets the frida of this Products. 

492 

493 

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

495 """ 

496 

497 self._frida = frida 

498 

499 @property 

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

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

502 

503 

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

505 """ 

506 return self._privacy_settings 

507 

508 @privacy_settings.setter 

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

510 """Sets the privacy_settings of this Products. 

511 

512 

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

514 """ 

515 

516 self._privacy_settings = privacy_settings 

517 

518 @property 

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

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

521 

522 

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

524 """ 

525 return self._virtual_machine 

526 

527 @virtual_machine.setter 

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

529 """Sets the virtual_machine of this Products. 

530 

531 

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

533 """ 

534 

535 self._virtual_machine = virtual_machine 

536 

537 @property 

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

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

540 

541 

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

543 """ 

544 return self._raw_device_attributes 

545 

546 @raw_device_attributes.setter 

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

548 """Sets the raw_device_attributes of this Products. 

549 

550 

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

552 """ 

553 

554 self._raw_device_attributes = raw_device_attributes 

555 

556 @property 

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

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

559 

560 

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

562 """ 

563 return self._high_activity 

564 

565 @high_activity.setter 

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

567 """Sets the high_activity of this Products. 

568 

569 

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

571 """ 

572 

573 self._high_activity = high_activity 

574 

575 @property 

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

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

578 

579 

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

581 """ 

582 return self._location_spoofing 

583 

584 @location_spoofing.setter 

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

586 """Sets the location_spoofing of this Products. 

587 

588 

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

590 """ 

591 

592 self._location_spoofing = location_spoofing 

593 

594 @property 

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

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

597 

598 

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

600 """ 

601 return self._suspect_score 

602 

603 @suspect_score.setter 

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

605 """Sets the suspect_score of this Products. 

606 

607 

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

609 """ 

610 

611 self._suspect_score = suspect_score 

612 

613 @property 

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

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

616 

617 

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

619 """ 

620 return self._remote_control 

621 

622 @remote_control.setter 

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

624 """Sets the remote_control of this Products. 

625 

626 

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

628 """ 

629 

630 self._remote_control = remote_control 

631 

632 @property 

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

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

635 

636 

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

638 """ 

639 return self._velocity 

640 

641 @velocity.setter 

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

643 """Sets the velocity of this Products. 

644 

645 

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

647 """ 

648 

649 self._velocity = velocity 

650 

651 @property 

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

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

654 

655 

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

657 """ 

658 return self._developer_tools 

659 

660 @developer_tools.setter 

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

662 """Sets the developer_tools of this Products. 

663 

664 

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

666 """ 

667 

668 self._developer_tools = developer_tools 

669