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

249 statements  

« prev     ^ index     » next       coverage.py v7.6.9, created at 2024-12-09 17:50 +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 attribute_map = { 

85 'identification': 'identification', 

86 'botd': 'botd', 

87 'root_apps': 'rootApps', 

88 'emulator': 'emulator', 

89 'ip_info': 'ipInfo', 

90 'ip_blocklist': 'ipBlocklist', 

91 'tor': 'tor', 

92 'vpn': 'vpn', 

93 'proxy': 'proxy', 

94 'incognito': 'incognito', 

95 'tampering': 'tampering', 

96 'cloned_app': 'clonedApp', 

97 'factory_reset': 'factoryReset', 

98 'jailbroken': 'jailbroken', 

99 'frida': 'frida', 

100 'privacy_settings': 'privacySettings', 

101 'virtual_machine': 'virtualMachine', 

102 'raw_device_attributes': 'rawDeviceAttributes', 

103 'high_activity': 'highActivity', 

104 'location_spoofing': 'locationSpoofing', 

105 'suspect_score': 'suspectScore', 

106 'remote_control': 'remoteControl', 

107 'velocity': 'velocity', 

108 'developer_tools': 'developerTools' 

109 } 

110 

111 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 

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

113 self._identification = None 

114 self._botd = None 

115 self._root_apps = None 

116 self._emulator = None 

117 self._ip_info = None 

118 self._ip_blocklist = None 

119 self._tor = None 

120 self._vpn = None 

121 self._proxy = None 

122 self._incognito = None 

123 self._tampering = None 

124 self._cloned_app = None 

125 self._factory_reset = None 

126 self._jailbroken = None 

127 self._frida = None 

128 self._privacy_settings = None 

129 self._virtual_machine = None 

130 self._raw_device_attributes = None 

131 self._high_activity = None 

132 self._location_spoofing = None 

133 self._suspect_score = None 

134 self._remote_control = None 

135 self._velocity = None 

136 self._developer_tools = None 

137 self.discriminator = None 

138 if identification is not None: 

139 self.identification = identification 

140 if botd is not None: 

141 self.botd = botd 

142 if root_apps is not None: 

143 self.root_apps = root_apps 

144 if emulator is not None: 

145 self.emulator = emulator 

146 if ip_info is not None: 

147 self.ip_info = ip_info 

148 if ip_blocklist is not None: 

149 self.ip_blocklist = ip_blocklist 

150 if tor is not None: 

151 self.tor = tor 

152 if vpn is not None: 

153 self.vpn = vpn 

154 if proxy is not None: 

155 self.proxy = proxy 

156 if incognito is not None: 

157 self.incognito = incognito 

158 if tampering is not None: 

159 self.tampering = tampering 

160 if cloned_app is not None: 

161 self.cloned_app = cloned_app 

162 if factory_reset is not None: 

163 self.factory_reset = factory_reset 

164 if jailbroken is not None: 

165 self.jailbroken = jailbroken 

166 if frida is not None: 

167 self.frida = frida 

168 if privacy_settings is not None: 

169 self.privacy_settings = privacy_settings 

170 if virtual_machine is not None: 

171 self.virtual_machine = virtual_machine 

172 if raw_device_attributes is not None: 

173 self.raw_device_attributes = raw_device_attributes 

174 if high_activity is not None: 

175 self.high_activity = high_activity 

176 if location_spoofing is not None: 

177 self.location_spoofing = location_spoofing 

178 if suspect_score is not None: 

179 self.suspect_score = suspect_score 

180 if remote_control is not None: 

181 self.remote_control = remote_control 

182 if velocity is not None: 

183 self.velocity = velocity 

184 if developer_tools is not None: 

185 self.developer_tools = developer_tools 

186 

187 @property 

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

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

190 

191 

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

193 """ 

194 return self._identification 

195 

196 @identification.setter 

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

198 """Sets the identification of this Products. 

199 

200 

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

202 """ 

203 

204 self._identification = identification 

205 

206 @property 

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

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

209 

210 

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

212 """ 

213 return self._botd 

214 

215 @botd.setter 

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

217 """Sets the botd of this Products. 

218 

219 

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

221 """ 

222 

223 self._botd = botd 

224 

225 @property 

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

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

228 

229 

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

231 """ 

232 return self._root_apps 

233 

234 @root_apps.setter 

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

236 """Sets the root_apps of this Products. 

237 

238 

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

240 """ 

241 

242 self._root_apps = root_apps 

243 

244 @property 

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

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

247 

248 

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

250 """ 

251 return self._emulator 

252 

253 @emulator.setter 

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

255 """Sets the emulator of this Products. 

256 

257 

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

259 """ 

260 

261 self._emulator = emulator 

262 

263 @property 

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

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

266 

267 

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

269 """ 

270 return self._ip_info 

271 

272 @ip_info.setter 

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

274 """Sets the ip_info of this Products. 

275 

276 

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

278 """ 

279 

280 self._ip_info = ip_info 

281 

282 @property 

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

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

285 

286 

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

288 """ 

289 return self._ip_blocklist 

290 

291 @ip_blocklist.setter 

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

293 """Sets the ip_blocklist of this Products. 

294 

295 

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

297 """ 

298 

299 self._ip_blocklist = ip_blocklist 

300 

301 @property 

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

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

304 

305 

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

307 """ 

308 return self._tor 

309 

310 @tor.setter 

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

312 """Sets the tor of this Products. 

313 

314 

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

316 """ 

317 

318 self._tor = tor 

319 

320 @property 

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

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

323 

324 

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

326 """ 

327 return self._vpn 

328 

329 @vpn.setter 

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

331 """Sets the vpn of this Products. 

332 

333 

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

335 """ 

336 

337 self._vpn = vpn 

338 

339 @property 

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

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

342 

343 

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

345 """ 

346 return self._proxy 

347 

348 @proxy.setter 

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

350 """Sets the proxy of this Products. 

351 

352 

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

354 """ 

355 

356 self._proxy = proxy 

357 

358 @property 

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

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

361 

362 

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

364 """ 

365 return self._incognito 

366 

367 @incognito.setter 

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

369 """Sets the incognito of this Products. 

370 

371 

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

373 """ 

374 

375 self._incognito = incognito 

376 

377 @property 

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

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

380 

381 

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

383 """ 

384 return self._tampering 

385 

386 @tampering.setter 

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

388 """Sets the tampering of this Products. 

389 

390 

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

392 """ 

393 

394 self._tampering = tampering 

395 

396 @property 

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

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

399 

400 

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

402 """ 

403 return self._cloned_app 

404 

405 @cloned_app.setter 

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

407 """Sets the cloned_app of this Products. 

408 

409 

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

411 """ 

412 

413 self._cloned_app = cloned_app 

414 

415 @property 

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

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

418 

419 

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

421 """ 

422 return self._factory_reset 

423 

424 @factory_reset.setter 

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

426 """Sets the factory_reset of this Products. 

427 

428 

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

430 """ 

431 

432 self._factory_reset = factory_reset 

433 

434 @property 

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

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

437 

438 

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

440 """ 

441 return self._jailbroken 

442 

443 @jailbroken.setter 

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

445 """Sets the jailbroken of this Products. 

446 

447 

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

449 """ 

450 

451 self._jailbroken = jailbroken 

452 

453 @property 

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

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

456 

457 

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

459 """ 

460 return self._frida 

461 

462 @frida.setter 

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

464 """Sets the frida of this Products. 

465 

466 

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

468 """ 

469 

470 self._frida = frida 

471 

472 @property 

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

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

475 

476 

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

478 """ 

479 return self._privacy_settings 

480 

481 @privacy_settings.setter 

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

483 """Sets the privacy_settings of this Products. 

484 

485 

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

487 """ 

488 

489 self._privacy_settings = privacy_settings 

490 

491 @property 

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

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

494 

495 

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

497 """ 

498 return self._virtual_machine 

499 

500 @virtual_machine.setter 

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

502 """Sets the virtual_machine of this Products. 

503 

504 

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

506 """ 

507 

508 self._virtual_machine = virtual_machine 

509 

510 @property 

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

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

513 

514 

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

516 """ 

517 return self._raw_device_attributes 

518 

519 @raw_device_attributes.setter 

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

521 """Sets the raw_device_attributes of this Products. 

522 

523 

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

525 """ 

526 

527 self._raw_device_attributes = raw_device_attributes 

528 

529 @property 

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

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

532 

533 

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

535 """ 

536 return self._high_activity 

537 

538 @high_activity.setter 

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

540 """Sets the high_activity of this Products. 

541 

542 

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

544 """ 

545 

546 self._high_activity = high_activity 

547 

548 @property 

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

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

551 

552 

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

554 """ 

555 return self._location_spoofing 

556 

557 @location_spoofing.setter 

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

559 """Sets the location_spoofing of this Products. 

560 

561 

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

563 """ 

564 

565 self._location_spoofing = location_spoofing 

566 

567 @property 

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

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

570 

571 

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

573 """ 

574 return self._suspect_score 

575 

576 @suspect_score.setter 

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

578 """Sets the suspect_score of this Products. 

579 

580 

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

582 """ 

583 

584 self._suspect_score = suspect_score 

585 

586 @property 

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

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

589 

590 

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

592 """ 

593 return self._remote_control 

594 

595 @remote_control.setter 

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

597 """Sets the remote_control of this Products. 

598 

599 

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

601 """ 

602 

603 self._remote_control = remote_control 

604 

605 @property 

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

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

608 

609 

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

611 """ 

612 return self._velocity 

613 

614 @velocity.setter 

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

616 """Sets the velocity of this Products. 

617 

618 

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

620 """ 

621 

622 self._velocity = velocity 

623 

624 @property 

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

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

627 

628 

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

630 """ 

631 return self._developer_tools 

632 

633 @developer_tools.setter 

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

635 """Sets the developer_tools of this Products. 

636 

637 

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

639 """ 

640 

641 self._developer_tools = developer_tools 

642