Coverage for fingerprint_pro_server_api_sdk/models/products_response.py: 90%

225 statements  

« prev     ^ index     » next       coverage.py v7.4.4, created at 2024-03-27 22:39 +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 pprint 

14import re # noqa: F401 

15 

16import six 

17 

18class ProductsResponse(object): 

19 """ 

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

21 

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

23 

24 Do not edit the class manually. 

25 """ 

26 """ 

27 Attributes: 

28 swagger_types (dict): The key is attribute name 

29 and the value is attribute type. 

30 attribute_map (dict): The key is attribute name 

31 and the value is json key in definition. 

32 """ 

33 swagger_types = { 

34 'identification': 'ProductsResponseIdentification', 

35 'botd': 'ProductsResponseBotd', 

36 'ip_info': 'SignalResponseIpInfo', 

37 'incognito': 'SignalResponseIncognito', 

38 'root_apps': 'SignalResponseRootApps', 

39 'emulator': 'SignalResponseEmulator', 

40 'cloned_app': 'SignalResponseClonedApp', 

41 'factory_reset': 'SignalResponseFactoryReset', 

42 'jailbroken': 'SignalResponseJailbroken', 

43 'frida': 'SignalResponseFrida', 

44 'ip_blocklist': 'SignalResponseIpBlocklist', 

45 'tor': 'SignalResponseTor', 

46 'privacy_settings': 'SignalResponsePrivacySettings', 

47 'virtual_machine': 'SignalResponseVirtualMachine', 

48 'vpn': 'SignalResponseVpn', 

49 'proxy': 'SignalResponseProxy', 

50 'tampering': 'SignalResponseTampering', 

51 'high_activity': 'SignalResponseHighActivity', 

52 'location_spoofing': 'SignalResponseLocationSpoofing', 

53 'suspect_score': 'SignalResponseSuspectScore', 

54 'raw_device_attributes': 'SignalResponseRawDeviceAttributes' 

55 } 

56 

57 attribute_map = { 

58 'identification': 'identification', 

59 'botd': 'botd', 

60 'ip_info': 'ipInfo', 

61 'incognito': 'incognito', 

62 'root_apps': 'rootApps', 

63 'emulator': 'emulator', 

64 'cloned_app': 'clonedApp', 

65 'factory_reset': 'factoryReset', 

66 'jailbroken': 'jailbroken', 

67 'frida': 'frida', 

68 'ip_blocklist': 'ipBlocklist', 

69 'tor': 'tor', 

70 'privacy_settings': 'privacySettings', 

71 'virtual_machine': 'virtualMachine', 

72 'vpn': 'vpn', 

73 'proxy': 'proxy', 

74 'tampering': 'tampering', 

75 'high_activity': 'highActivity', 

76 'location_spoofing': 'locationSpoofing', 

77 'suspect_score': 'suspectScore', 

78 'raw_device_attributes': 'rawDeviceAttributes' 

79 } 

80 

81 def __init__(self, identification=None, botd=None, ip_info=None, incognito=None, root_apps=None, emulator=None, cloned_app=None, factory_reset=None, jailbroken=None, frida=None, ip_blocklist=None, tor=None, privacy_settings=None, virtual_machine=None, vpn=None, proxy=None, tampering=None, high_activity=None, location_spoofing=None, suspect_score=None, raw_device_attributes=None): # noqa: E501 

82 """ProductsResponse - a model defined in Swagger""" # noqa: E501 

83 self._identification = None 

84 self._botd = None 

85 self._ip_info = None 

86 self._incognito = None 

87 self._root_apps = None 

88 self._emulator = None 

89 self._cloned_app = None 

90 self._factory_reset = None 

91 self._jailbroken = None 

92 self._frida = None 

93 self._ip_blocklist = None 

94 self._tor = None 

95 self._privacy_settings = None 

96 self._virtual_machine = None 

97 self._vpn = None 

98 self._proxy = None 

99 self._tampering = None 

100 self._high_activity = None 

101 self._location_spoofing = None 

102 self._suspect_score = None 

103 self._raw_device_attributes = None 

104 self.discriminator = None 

105 if identification is not None: 

106 self.identification = identification 

107 if botd is not None: 

108 self.botd = botd 

109 if ip_info is not None: 

110 self.ip_info = ip_info 

111 if incognito is not None: 

112 self.incognito = incognito 

113 if root_apps is not None: 

114 self.root_apps = root_apps 

115 if emulator is not None: 

116 self.emulator = emulator 

117 if cloned_app is not None: 

118 self.cloned_app = cloned_app 

119 if factory_reset is not None: 

120 self.factory_reset = factory_reset 

121 if jailbroken is not None: 

122 self.jailbroken = jailbroken 

123 if frida is not None: 

124 self.frida = frida 

125 if ip_blocklist is not None: 

126 self.ip_blocklist = ip_blocklist 

127 if tor is not None: 

128 self.tor = tor 

129 if privacy_settings is not None: 

130 self.privacy_settings = privacy_settings 

131 if virtual_machine is not None: 

132 self.virtual_machine = virtual_machine 

133 if vpn is not None: 

134 self.vpn = vpn 

135 if proxy is not None: 

136 self.proxy = proxy 

137 if tampering is not None: 

138 self.tampering = tampering 

139 if high_activity is not None: 

140 self.high_activity = high_activity 

141 if location_spoofing is not None: 

142 self.location_spoofing = location_spoofing 

143 if suspect_score is not None: 

144 self.suspect_score = suspect_score 

145 if raw_device_attributes is not None: 

146 self.raw_device_attributes = raw_device_attributes 

147 

148 @property 

149 def identification(self): 

150 """Gets the identification of this ProductsResponse. # noqa: E501 

151 

152 

153 :return: The identification of this ProductsResponse. # noqa: E501 

154 :rtype: ProductsResponseIdentification 

155 """ 

156 return self._identification 

157 

158 @identification.setter 

159 def identification(self, identification): 

160 """Sets the identification of this ProductsResponse. 

161 

162 

163 :param identification: The identification of this ProductsResponse. # noqa: E501 

164 :type: ProductsResponseIdentification 

165 """ 

166 

167 self._identification = identification 

168 

169 @property 

170 def botd(self): 

171 """Gets the botd of this ProductsResponse. # noqa: E501 

172 

173 

174 :return: The botd of this ProductsResponse. # noqa: E501 

175 :rtype: ProductsResponseBotd 

176 """ 

177 return self._botd 

178 

179 @botd.setter 

180 def botd(self, botd): 

181 """Sets the botd of this ProductsResponse. 

182 

183 

184 :param botd: The botd of this ProductsResponse. # noqa: E501 

185 :type: ProductsResponseBotd 

186 """ 

187 

188 self._botd = botd 

189 

190 @property 

191 def ip_info(self): 

192 """Gets the ip_info of this ProductsResponse. # noqa: E501 

193 

194 

195 :return: The ip_info of this ProductsResponse. # noqa: E501 

196 :rtype: SignalResponseIpInfo 

197 """ 

198 return self._ip_info 

199 

200 @ip_info.setter 

201 def ip_info(self, ip_info): 

202 """Sets the ip_info of this ProductsResponse. 

203 

204 

205 :param ip_info: The ip_info of this ProductsResponse. # noqa: E501 

206 :type: SignalResponseIpInfo 

207 """ 

208 

209 self._ip_info = ip_info 

210 

211 @property 

212 def incognito(self): 

213 """Gets the incognito of this ProductsResponse. # noqa: E501 

214 

215 

216 :return: The incognito of this ProductsResponse. # noqa: E501 

217 :rtype: SignalResponseIncognito 

218 """ 

219 return self._incognito 

220 

221 @incognito.setter 

222 def incognito(self, incognito): 

223 """Sets the incognito of this ProductsResponse. 

224 

225 

226 :param incognito: The incognito of this ProductsResponse. # noqa: E501 

227 :type: SignalResponseIncognito 

228 """ 

229 

230 self._incognito = incognito 

231 

232 @property 

233 def root_apps(self): 

234 """Gets the root_apps of this ProductsResponse. # noqa: E501 

235 

236 

237 :return: The root_apps of this ProductsResponse. # noqa: E501 

238 :rtype: SignalResponseRootApps 

239 """ 

240 return self._root_apps 

241 

242 @root_apps.setter 

243 def root_apps(self, root_apps): 

244 """Sets the root_apps of this ProductsResponse. 

245 

246 

247 :param root_apps: The root_apps of this ProductsResponse. # noqa: E501 

248 :type: SignalResponseRootApps 

249 """ 

250 

251 self._root_apps = root_apps 

252 

253 @property 

254 def emulator(self): 

255 """Gets the emulator of this ProductsResponse. # noqa: E501 

256 

257 

258 :return: The emulator of this ProductsResponse. # noqa: E501 

259 :rtype: SignalResponseEmulator 

260 """ 

261 return self._emulator 

262 

263 @emulator.setter 

264 def emulator(self, emulator): 

265 """Sets the emulator of this ProductsResponse. 

266 

267 

268 :param emulator: The emulator of this ProductsResponse. # noqa: E501 

269 :type: SignalResponseEmulator 

270 """ 

271 

272 self._emulator = emulator 

273 

274 @property 

275 def cloned_app(self): 

276 """Gets the cloned_app of this ProductsResponse. # noqa: E501 

277 

278 

279 :return: The cloned_app of this ProductsResponse. # noqa: E501 

280 :rtype: SignalResponseClonedApp 

281 """ 

282 return self._cloned_app 

283 

284 @cloned_app.setter 

285 def cloned_app(self, cloned_app): 

286 """Sets the cloned_app of this ProductsResponse. 

287 

288 

289 :param cloned_app: The cloned_app of this ProductsResponse. # noqa: E501 

290 :type: SignalResponseClonedApp 

291 """ 

292 

293 self._cloned_app = cloned_app 

294 

295 @property 

296 def factory_reset(self): 

297 """Gets the factory_reset of this ProductsResponse. # noqa: E501 

298 

299 

300 :return: The factory_reset of this ProductsResponse. # noqa: E501 

301 :rtype: SignalResponseFactoryReset 

302 """ 

303 return self._factory_reset 

304 

305 @factory_reset.setter 

306 def factory_reset(self, factory_reset): 

307 """Sets the factory_reset of this ProductsResponse. 

308 

309 

310 :param factory_reset: The factory_reset of this ProductsResponse. # noqa: E501 

311 :type: SignalResponseFactoryReset 

312 """ 

313 

314 self._factory_reset = factory_reset 

315 

316 @property 

317 def jailbroken(self): 

318 """Gets the jailbroken of this ProductsResponse. # noqa: E501 

319 

320 

321 :return: The jailbroken of this ProductsResponse. # noqa: E501 

322 :rtype: SignalResponseJailbroken 

323 """ 

324 return self._jailbroken 

325 

326 @jailbroken.setter 

327 def jailbroken(self, jailbroken): 

328 """Sets the jailbroken of this ProductsResponse. 

329 

330 

331 :param jailbroken: The jailbroken of this ProductsResponse. # noqa: E501 

332 :type: SignalResponseJailbroken 

333 """ 

334 

335 self._jailbroken = jailbroken 

336 

337 @property 

338 def frida(self): 

339 """Gets the frida of this ProductsResponse. # noqa: E501 

340 

341 

342 :return: The frida of this ProductsResponse. # noqa: E501 

343 :rtype: SignalResponseFrida 

344 """ 

345 return self._frida 

346 

347 @frida.setter 

348 def frida(self, frida): 

349 """Sets the frida of this ProductsResponse. 

350 

351 

352 :param frida: The frida of this ProductsResponse. # noqa: E501 

353 :type: SignalResponseFrida 

354 """ 

355 

356 self._frida = frida 

357 

358 @property 

359 def ip_blocklist(self): 

360 """Gets the ip_blocklist of this ProductsResponse. # noqa: E501 

361 

362 

363 :return: The ip_blocklist of this ProductsResponse. # noqa: E501 

364 :rtype: SignalResponseIpBlocklist 

365 """ 

366 return self._ip_blocklist 

367 

368 @ip_blocklist.setter 

369 def ip_blocklist(self, ip_blocklist): 

370 """Sets the ip_blocklist of this ProductsResponse. 

371 

372 

373 :param ip_blocklist: The ip_blocklist of this ProductsResponse. # noqa: E501 

374 :type: SignalResponseIpBlocklist 

375 """ 

376 

377 self._ip_blocklist = ip_blocklist 

378 

379 @property 

380 def tor(self): 

381 """Gets the tor of this ProductsResponse. # noqa: E501 

382 

383 

384 :return: The tor of this ProductsResponse. # noqa: E501 

385 :rtype: SignalResponseTor 

386 """ 

387 return self._tor 

388 

389 @tor.setter 

390 def tor(self, tor): 

391 """Sets the tor of this ProductsResponse. 

392 

393 

394 :param tor: The tor of this ProductsResponse. # noqa: E501 

395 :type: SignalResponseTor 

396 """ 

397 

398 self._tor = tor 

399 

400 @property 

401 def privacy_settings(self): 

402 """Gets the privacy_settings of this ProductsResponse. # noqa: E501 

403 

404 

405 :return: The privacy_settings of this ProductsResponse. # noqa: E501 

406 :rtype: SignalResponsePrivacySettings 

407 """ 

408 return self._privacy_settings 

409 

410 @privacy_settings.setter 

411 def privacy_settings(self, privacy_settings): 

412 """Sets the privacy_settings of this ProductsResponse. 

413 

414 

415 :param privacy_settings: The privacy_settings of this ProductsResponse. # noqa: E501 

416 :type: SignalResponsePrivacySettings 

417 """ 

418 

419 self._privacy_settings = privacy_settings 

420 

421 @property 

422 def virtual_machine(self): 

423 """Gets the virtual_machine of this ProductsResponse. # noqa: E501 

424 

425 

426 :return: The virtual_machine of this ProductsResponse. # noqa: E501 

427 :rtype: SignalResponseVirtualMachine 

428 """ 

429 return self._virtual_machine 

430 

431 @virtual_machine.setter 

432 def virtual_machine(self, virtual_machine): 

433 """Sets the virtual_machine of this ProductsResponse. 

434 

435 

436 :param virtual_machine: The virtual_machine of this ProductsResponse. # noqa: E501 

437 :type: SignalResponseVirtualMachine 

438 """ 

439 

440 self._virtual_machine = virtual_machine 

441 

442 @property 

443 def vpn(self): 

444 """Gets the vpn of this ProductsResponse. # noqa: E501 

445 

446 

447 :return: The vpn of this ProductsResponse. # noqa: E501 

448 :rtype: SignalResponseVpn 

449 """ 

450 return self._vpn 

451 

452 @vpn.setter 

453 def vpn(self, vpn): 

454 """Sets the vpn of this ProductsResponse. 

455 

456 

457 :param vpn: The vpn of this ProductsResponse. # noqa: E501 

458 :type: SignalResponseVpn 

459 """ 

460 

461 self._vpn = vpn 

462 

463 @property 

464 def proxy(self): 

465 """Gets the proxy of this ProductsResponse. # noqa: E501 

466 

467 

468 :return: The proxy of this ProductsResponse. # noqa: E501 

469 :rtype: SignalResponseProxy 

470 """ 

471 return self._proxy 

472 

473 @proxy.setter 

474 def proxy(self, proxy): 

475 """Sets the proxy of this ProductsResponse. 

476 

477 

478 :param proxy: The proxy of this ProductsResponse. # noqa: E501 

479 :type: SignalResponseProxy 

480 """ 

481 

482 self._proxy = proxy 

483 

484 @property 

485 def tampering(self): 

486 """Gets the tampering of this ProductsResponse. # noqa: E501 

487 

488 

489 :return: The tampering of this ProductsResponse. # noqa: E501 

490 :rtype: SignalResponseTampering 

491 """ 

492 return self._tampering 

493 

494 @tampering.setter 

495 def tampering(self, tampering): 

496 """Sets the tampering of this ProductsResponse. 

497 

498 

499 :param tampering: The tampering of this ProductsResponse. # noqa: E501 

500 :type: SignalResponseTampering 

501 """ 

502 

503 self._tampering = tampering 

504 

505 @property 

506 def high_activity(self): 

507 """Gets the high_activity of this ProductsResponse. # noqa: E501 

508 

509 

510 :return: The high_activity of this ProductsResponse. # noqa: E501 

511 :rtype: SignalResponseHighActivity 

512 """ 

513 return self._high_activity 

514 

515 @high_activity.setter 

516 def high_activity(self, high_activity): 

517 """Sets the high_activity of this ProductsResponse. 

518 

519 

520 :param high_activity: The high_activity of this ProductsResponse. # noqa: E501 

521 :type: SignalResponseHighActivity 

522 """ 

523 

524 self._high_activity = high_activity 

525 

526 @property 

527 def location_spoofing(self): 

528 """Gets the location_spoofing of this ProductsResponse. # noqa: E501 

529 

530 

531 :return: The location_spoofing of this ProductsResponse. # noqa: E501 

532 :rtype: SignalResponseLocationSpoofing 

533 """ 

534 return self._location_spoofing 

535 

536 @location_spoofing.setter 

537 def location_spoofing(self, location_spoofing): 

538 """Sets the location_spoofing of this ProductsResponse. 

539 

540 

541 :param location_spoofing: The location_spoofing of this ProductsResponse. # noqa: E501 

542 :type: SignalResponseLocationSpoofing 

543 """ 

544 

545 self._location_spoofing = location_spoofing 

546 

547 @property 

548 def suspect_score(self): 

549 """Gets the suspect_score of this ProductsResponse. # noqa: E501 

550 

551 

552 :return: The suspect_score of this ProductsResponse. # noqa: E501 

553 :rtype: SignalResponseSuspectScore 

554 """ 

555 return self._suspect_score 

556 

557 @suspect_score.setter 

558 def suspect_score(self, suspect_score): 

559 """Sets the suspect_score of this ProductsResponse. 

560 

561 

562 :param suspect_score: The suspect_score of this ProductsResponse. # noqa: E501 

563 :type: SignalResponseSuspectScore 

564 """ 

565 

566 self._suspect_score = suspect_score 

567 

568 @property 

569 def raw_device_attributes(self): 

570 """Gets the raw_device_attributes of this ProductsResponse. # noqa: E501 

571 

572 

573 :return: The raw_device_attributes of this ProductsResponse. # noqa: E501 

574 :rtype: SignalResponseRawDeviceAttributes 

575 """ 

576 return self._raw_device_attributes 

577 

578 @raw_device_attributes.setter 

579 def raw_device_attributes(self, raw_device_attributes): 

580 """Sets the raw_device_attributes of this ProductsResponse. 

581 

582 

583 :param raw_device_attributes: The raw_device_attributes of this ProductsResponse. # noqa: E501 

584 :type: SignalResponseRawDeviceAttributes 

585 """ 

586 

587 self._raw_device_attributes = raw_device_attributes 

588 

589 def to_dict(self): 

590 """Returns the model properties as a dict""" 

591 result = {} 

592 

593 for attr, _ in six.iteritems(self.swagger_types): 

594 value = getattr(self, attr) 

595 if isinstance(value, list): 

596 result[attr] = list(map( 

597 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 

598 value 

599 )) 

600 elif hasattr(value, "to_dict"): 

601 result[attr] = value.to_dict() 

602 elif isinstance(value, dict): 

603 result[attr] = dict(map( 

604 lambda item: (item[0], item[1].to_dict()) 

605 if hasattr(item[1], "to_dict") else item, 

606 value.items() 

607 )) 

608 else: 

609 result[attr] = value 

610 if issubclass(ProductsResponse, dict): 

611 for key, value in self.items(): 

612 result[key] = value 

613 

614 return result 

615 

616 def to_str(self): 

617 """Returns the string representation of the model""" 

618 return pprint.pformat(self.to_dict()) 

619 

620 def __repr__(self): 

621 """For `print` and `pprint`""" 

622 return self.to_str() 

623 

624 def __eq__(self, other): 

625 """Returns true if both objects are equal""" 

626 if not isinstance(other, ProductsResponse): 

627 return False 

628 

629 return self.to_dict() == other.to_dict() 

630 

631 def __ne__(self, other): 

632 """Returns true if both objects are not equal""" 

633 if not isinstance(other, ProductsResponse): 

634 return True 

635 

636 return self.to_dict() != other.to_dict()