Coverage for skema/gromet/fn/gromet_fn.py: 85%

310 statements  

« prev     ^ index     » next       coverage.py v7.5.0, created at 2024-04-30 17:15 +0000

1# coding: utf-8 

2 

3""" 

4 Grounded Model Exchange (GroMEt) schema for Function Networks 

5 

6 This document defines the GroMEt Function Network data model. Note that Metadata is defined in separate spec. __Using Swagger to Generate Class Structure__ To automatically generate Python or Java models corresponding to this document, you can use [swagger-codegen](https://swagger.io/tools/swagger-codegen/). This can be used to generate the client code based off of this spec, and in the process this will generate the data model class structure. 1. Install via the method described for your operating system [here](https://github.com/swagger-api/swagger-codegen#Prerequisites). Make sure to install a version after 3.0 that will support openapi 3. 2. Run swagger-codegen with the options in the example below. The URL references where the yaml for this documentation is stored on github. Make sure to replace CURRENT_VERSION with the correct version. (The current version is `0.1.7`.) To generate Java classes rather, change the `-l python` to `-l java`. Change the value to the `-o` option to the desired output location. ``` swagger-codegen generate -l python -o ./client -i https://raw.githubusercontent.com/ml4ai/automates-v2/master/docs/source/gromet_FN_v{CURRENT_VERSION}.yaml ``` 3. Once it executes, the client code will be generated at your specified location. For python, the classes will be located in `$OUTPUT_PATH/skema.gromet.fn.`. For java, they will be located in `$OUTPUT_PATH/src/main/java/io/swagger/client/model/` If generating GroMEt schema data model classes in SKEMA (AutoMATES), then after generating the above, follow the instructions here: ``` <automates>/automates/model_assembly/gromet/model/README.md ``` # noqa: E501 

7 

8 OpenAPI spec version: 0.1.10 

9 Contact: claytonm@arizona.edu 

10 Generated by: https://github.com/swagger-api/swagger-codegen.git 

11""" 

12 

13import pprint 

14import re # noqa: F401 

15 

16import six 

17from skema.gromet.fn.gromet_object import GrometObject # noqa: F401,E501 

18 

19class GrometFN(GrometObject): 

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

21 

22 Do not edit the class manually. 

23 """ 

24 """ 

25 Attributes: 

26 swagger_types (dict): The key is attribute name 

27 and the value is attribute type. 

28 attribute_map (dict): The key is attribute name 

29 and the value is json key in definition. 

30 """ 

31 swagger_types = { 

32 'name': 'str', 

33 'b': 'list[GrometBoxFunction]', 

34 'opi': 'list[GrometPort]', 

35 'opo': 'list[GrometPort]', 

36 'wopio': 'list[GrometWire]', 

37 'bf': 'list[GrometBoxFunction]', 

38 'pif': 'list[GrometPort]', 

39 'pof': 'list[GrometPort]', 

40 'wfopi': 'list[GrometWire]', 

41 'wfl': 'list[GrometWire]', 

42 'wff': 'list[GrometWire]', 

43 'wfc': 'list[GrometWire]', 

44 'wfopo': 'list[GrometWire]', 

45 'bl': 'list[GrometBoxLoop]', 

46 'pil': 'list[GrometPort]', 

47 'pol': 'list[GrometPort]', 

48 'wlopi': 'list[GrometWire]', 

49 'wll': 'list[GrometWire]', 

50 'wlf': 'list[GrometWire]', 

51 'wlc': 'list[GrometWire]', 

52 'wlopo': 'list[GrometWire]', 

53 'bc': 'list[GrometBoxConditional]', 

54 'pic': 'list[GrometPort]', 

55 'poc': 'list[GrometPort]', 

56 'wcopi': 'list[GrometWire]', 

57 'wcl': 'list[GrometWire]', 

58 'wcf': 'list[GrometWire]', 

59 'wcc': 'list[GrometWire]', 

60 'wcopo': 'list[GrometWire]', 

61 'gromet_type': 'str' 

62 } 

63 if hasattr(GrometObject, "swagger_types"): 

64 swagger_types.update(GrometObject.swagger_types) 

65 

66 attribute_map = { 

67 'name': 'name', 

68 'b': 'b', 

69 'opi': 'opi', 

70 'opo': 'opo', 

71 'wopio': 'wopio', 

72 'bf': 'bf', 

73 'pif': 'pif', 

74 'pof': 'pof', 

75 'wfopi': 'wfopi', 

76 'wfl': 'wfl', 

77 'wff': 'wff', 

78 'wfc': 'wfc', 

79 'wfopo': 'wfopo', 

80 'bl': 'bl', 

81 'pil': 'pil', 

82 'pol': 'pol', 

83 'wlopi': 'wlopi', 

84 'wll': 'wll', 

85 'wlf': 'wlf', 

86 'wlc': 'wlc', 

87 'wlopo': 'wlopo', 

88 'bc': 'bc', 

89 'pic': 'pic', 

90 'poc': 'poc', 

91 'wcopi': 'wcopi', 

92 'wcl': 'wcl', 

93 'wcf': 'wcf', 

94 'wcc': 'wcc', 

95 'wcopo': 'wcopo', 

96 'gromet_type': 'gromet_type' 

97 } 

98 if hasattr(GrometObject, "attribute_map"): 

99 attribute_map.update(GrometObject.attribute_map) 

100 

101 def __init__(self, name=None, b=None, opi=None, opo=None, wopio=None, bf=None, pif=None, pof=None, wfopi=None, wfl=None, wff=None, wfc=None, wfopo=None, bl=None, pil=None, pol=None, wlopi=None, wll=None, wlf=None, wlc=None, wlopo=None, bc=None, pic=None, poc=None, wcopi=None, wcl=None, wcf=None, wcc=None, wcopo=None, gromet_type='GrometFN', *args, **kwargs): # noqa: E501 

102 """GrometFN - a model defined in Swagger""" # noqa: E501 

103 self._name = None 

104 self._b = None 

105 self._opi = None 

106 self._opo = None 

107 self._wopio = None 

108 self._bf = None 

109 self._pif = None 

110 self._pof = None 

111 self._wfopi = None 

112 self._wfl = None 

113 self._wff = None 

114 self._wfc = None 

115 self._wfopo = None 

116 self._bl = None 

117 self._pil = None 

118 self._pol = None 

119 self._wlopi = None 

120 self._wll = None 

121 self._wlf = None 

122 self._wlc = None 

123 self._wlopo = None 

124 self._bc = None 

125 self._pic = None 

126 self._poc = None 

127 self._wcopi = None 

128 self._wcl = None 

129 self._wcf = None 

130 self._wcc = None 

131 self._wcopo = None 

132 self._gromet_type = None 

133 self.discriminator = None 

134 if name is not None: 

135 self.name = name 

136 if b is not None: 

137 self.b = b 

138 if opi is not None: 

139 self.opi = opi 

140 if opo is not None: 

141 self.opo = opo 

142 if wopio is not None: 

143 self.wopio = wopio 

144 if bf is not None: 

145 self.bf = bf 

146 if pif is not None: 

147 self.pif = pif 

148 if pof is not None: 

149 self.pof = pof 

150 if wfopi is not None: 

151 self.wfopi = wfopi 

152 if wfl is not None: 

153 self.wfl = wfl 

154 if wff is not None: 

155 self.wff = wff 

156 if wfc is not None: 

157 self.wfc = wfc 

158 if wfopo is not None: 

159 self.wfopo = wfopo 

160 if bl is not None: 

161 self.bl = bl 

162 if pil is not None: 

163 self.pil = pil 

164 if pol is not None: 

165 self.pol = pol 

166 if wlopi is not None: 

167 self.wlopi = wlopi 

168 if wll is not None: 

169 self.wll = wll 

170 if wlf is not None: 

171 self.wlf = wlf 

172 if wlc is not None: 

173 self.wlc = wlc 

174 if wlopo is not None: 

175 self.wlopo = wlopo 

176 if bc is not None: 

177 self.bc = bc 

178 if pic is not None: 

179 self.pic = pic 

180 if poc is not None: 

181 self.poc = poc 

182 if wcopi is not None: 

183 self.wcopi = wcopi 

184 if wcl is not None: 

185 self.wcl = wcl 

186 if wcf is not None: 

187 self.wcf = wcf 

188 if wcc is not None: 

189 self.wcc = wcc 

190 if wcopo is not None: 

191 self.wcopo = wcopo 

192 if gromet_type is not None: 

193 self.gromet_type = gromet_type 

194 GrometObject.__init__(self, *args, **kwargs) 

195 

196 @property 

197 def name(self): 

198 """Gets the name of this GrometFN. # noqa: E501 

199 

200 The name of the Function Network # noqa: E501 

201 

202 :return: The name of this GrometFN. # noqa: E501 

203 :rtype: str 

204 """ 

205 return self._name 

206 

207 @name.setter 

208 def name(self, name): 

209 """Sets the name of this GrometFN. 

210 

211 The name of the Function Network # noqa: E501 

212 

213 :param name: The name of this GrometFN. # noqa: E501 

214 :type: str 

215 """ 

216 

217 self._name = name 

218 

219 @property 

220 def b(self): 

221 """Gets the b of this GrometFN. # noqa: E501 

222 

223 b: The FN Outer Box (although not enforced, there is always only 1). # noqa: E501 

224 

225 :return: The b of this GrometFN. # noqa: E501 

226 :rtype: list[GrometBoxFunction] 

227 """ 

228 return self._b 

229 

230 @b.setter 

231 def b(self, b): 

232 """Sets the b of this GrometFN. 

233 

234 b: The FN Outer Box (although not enforced, there is always only 1). # noqa: E501 

235 

236 :param b: The b of this GrometFN. # noqa: E501 

237 :type: list[GrometBoxFunction] 

238 """ 

239 

240 self._b = b 

241 

242 @property 

243 def opi(self): 

244 """Gets the opi of this GrometFN. # noqa: E501 

245 

246 opi: The Outer Port Inputs of the FN Outer Box (b) # noqa: E501 

247 

248 :return: The opi of this GrometFN. # noqa: E501 

249 :rtype: list[GrometPort] 

250 """ 

251 return self._opi 

252 

253 @opi.setter 

254 def opi(self, opi): 

255 """Sets the opi of this GrometFN. 

256 

257 opi: The Outer Port Inputs of the FN Outer Box (b) # noqa: E501 

258 

259 :param opi: The opi of this GrometFN. # noqa: E501 

260 :type: list[GrometPort] 

261 """ 

262 

263 self._opi = opi 

264 

265 @property 

266 def opo(self): 

267 """Gets the opo of this GrometFN. # noqa: E501 

268 

269 opo: The Outer Port Outputs of the FN Outer Box (b) # noqa: E501 

270 

271 :return: The opo of this GrometFN. # noqa: E501 

272 :rtype: list[GrometPort] 

273 """ 

274 return self._opo 

275 

276 @opo.setter 

277 def opo(self, opo): 

278 """Sets the opo of this GrometFN. 

279 

280 opo: The Outer Port Outputs of the FN Outer Box (b) # noqa: E501 

281 

282 :param opo: The opo of this GrometFN. # noqa: E501 

283 :type: list[GrometPort] 

284 """ 

285 

286 self._opo = opo 

287 

288 @property 

289 def wopio(self): 

290 """Gets the wopio of this GrometFN. # noqa: E501 

291 

292 wopio: The Wires from (src) Outer Box Outer Port Inputs (opi) to (tgt) Outer Box Outer Port Outputs (opo). (AKA: Passthrough.) # noqa: E501 

293 

294 :return: The wopio of this GrometFN. # noqa: E501 

295 :rtype: list[GrometWire] 

296 """ 

297 return self._wopio 

298 

299 @wopio.setter 

300 def wopio(self, wopio): 

301 """Sets the wopio of this GrometFN. 

302 

303 wopio: The Wires from (src) Outer Box Outer Port Inputs (opi) to (tgt) Outer Box Outer Port Outputs (opo). (AKA: Passthrough.) # noqa: E501 

304 

305 :param wopio: The wopio of this GrometFN. # noqa: E501 

306 :type: list[GrometWire] 

307 """ 

308 

309 self._wopio = wopio 

310 

311 @property 

312 def bf(self): 

313 """Gets the bf of this GrometFN. # noqa: E501 

314 

315 bf: The GrometBoxFunctions within this GrometFN. # noqa: E501 

316 

317 :return: The bf of this GrometFN. # noqa: E501 

318 :rtype: list[GrometBoxFunction] 

319 """ 

320 return self._bf 

321 

322 @bf.setter 

323 def bf(self, bf): 

324 """Sets the bf of this GrometFN. 

325 

326 bf: The GrometBoxFunctions within this GrometFN. # noqa: E501 

327 

328 :param bf: The bf of this GrometFN. # noqa: E501 

329 :type: list[GrometBoxFunction] 

330 """ 

331 

332 self._bf = bf 

333 

334 @property 

335 def pif(self): 

336 """Gets the pif of this GrometFN. # noqa: E501 

337 

338 pif: The Port Inputs of the GrometBoxFunctions (bf). # noqa: E501 

339 

340 :return: The pif of this GrometFN. # noqa: E501 

341 :rtype: list[GrometPort] 

342 """ 

343 return self._pif 

344 

345 @pif.setter 

346 def pif(self, pif): 

347 """Sets the pif of this GrometFN. 

348 

349 pif: The Port Inputs of the GrometBoxFunctions (bf). # noqa: E501 

350 

351 :param pif: The pif of this GrometFN. # noqa: E501 

352 :type: list[GrometPort] 

353 """ 

354 

355 self._pif = pif 

356 

357 @property 

358 def pof(self): 

359 """Gets the pof of this GrometFN. # noqa: E501 

360 

361 pof: The Port Outputs of the GrometBoxFunctions (bf). # noqa: E501 

362 

363 :return: The pof of this GrometFN. # noqa: E501 

364 :rtype: list[GrometPort] 

365 """ 

366 return self._pof 

367 

368 @pof.setter 

369 def pof(self, pof): 

370 """Sets the pof of this GrometFN. 

371 

372 pof: The Port Outputs of the GrometBoxFunctions (bf). # noqa: E501 

373 

374 :param pof: The pof of this GrometFN. # noqa: E501 

375 :type: list[GrometPort] 

376 """ 

377 

378 self._pof = pof 

379 

380 @property 

381 def wfopi(self): 

382 """Gets the wfopi of this GrometFN. # noqa: E501 

383 

384 wfopi: The Wires from (src) GrometBoxFunctions Port Inputs (pif) to (tgt) Outer Box Outer Port Inputs (opi). # noqa: E501 

385 

386 :return: The wfopi of this GrometFN. # noqa: E501 

387 :rtype: list[GrometWire] 

388 """ 

389 return self._wfopi 

390 

391 @wfopi.setter 

392 def wfopi(self, wfopi): 

393 """Sets the wfopi of this GrometFN. 

394 

395 wfopi: The Wires from (src) GrometBoxFunctions Port Inputs (pif) to (tgt) Outer Box Outer Port Inputs (opi). # noqa: E501 

396 

397 :param wfopi: The wfopi of this GrometFN. # noqa: E501 

398 :type: list[GrometWire] 

399 """ 

400 

401 self._wfopi = wfopi 

402 

403 @property 

404 def wfl(self): 

405 """Gets the wfl of this GrometFN. # noqa: E501 

406 

407 wfl: The Wires from (src) GrometBoxLoops Port Inputs (pil) to (tgt) GrometBoxFunctions Port Outputs (pof). # noqa: E501 

408 

409 :return: The wfl of this GrometFN. # noqa: E501 

410 :rtype: list[GrometWire] 

411 """ 

412 return self._wfl 

413 

414 @wfl.setter 

415 def wfl(self, wfl): 

416 """Sets the wfl of this GrometFN. 

417 

418 wfl: The Wires from (src) GrometBoxLoops Port Inputs (pil) to (tgt) GrometBoxFunctions Port Outputs (pof). # noqa: E501 

419 

420 :param wfl: The wfl of this GrometFN. # noqa: E501 

421 :type: list[GrometWire] 

422 """ 

423 

424 self._wfl = wfl 

425 

426 @property 

427 def wff(self): 

428 """Gets the wff of this GrometFN. # noqa: E501 

429 

430 wff: The Wires from (src) GrometBoxFunctions Port Inputs (pif) to (tgt) GrometBoxFunctions Port Outputs (pof). # noqa: E501 

431 

432 :return: The wff of this GrometFN. # noqa: E501 

433 :rtype: list[GrometWire] 

434 """ 

435 return self._wff 

436 

437 @wff.setter 

438 def wff(self, wff): 

439 """Sets the wff of this GrometFN. 

440 

441 wff: The Wires from (src) GrometBoxFunctions Port Inputs (pif) to (tgt) GrometBoxFunctions Port Outputs (pof). # noqa: E501 

442 

443 :param wff: The wff of this GrometFN. # noqa: E501 

444 :type: list[GrometWire] 

445 """ 

446 

447 self._wff = wff 

448 

449 @property 

450 def wfc(self): 

451 """Gets the wfc of this GrometFN. # noqa: E501 

452 

453 wfc: The Wires from (src) GrometBoxConditionals Port Inputs (pic) to (tgt) GrometBoxFunctions Port Outputs (pof). # noqa: E501 

454 

455 :return: The wfc of this GrometFN. # noqa: E501 

456 :rtype: list[GrometWire] 

457 """ 

458 return self._wfc 

459 

460 @wfc.setter 

461 def wfc(self, wfc): 

462 """Sets the wfc of this GrometFN. 

463 

464 wfc: The Wires from (src) GrometBoxConditionals Port Inputs (pic) to (tgt) GrometBoxFunctions Port Outputs (pof). # noqa: E501 

465 

466 :param wfc: The wfc of this GrometFN. # noqa: E501 

467 :type: list[GrometWire] 

468 """ 

469 

470 self._wfc = wfc 

471 

472 @property 

473 def wfopo(self): 

474 """Gets the wfopo of this GrometFN. # noqa: E501 

475 

476 wfopo: The Wires from (src) Outer Box Outer Port Outputs (opo) to (tgt) GrometBoxFunctions Port Outputs (pof). # noqa: E501 

477 

478 :return: The wfopo of this GrometFN. # noqa: E501 

479 :rtype: list[GrometWire] 

480 """ 

481 return self._wfopo 

482 

483 @wfopo.setter 

484 def wfopo(self, wfopo): 

485 """Sets the wfopo of this GrometFN. 

486 

487 wfopo: The Wires from (src) Outer Box Outer Port Outputs (opo) to (tgt) GrometBoxFunctions Port Outputs (pof). # noqa: E501 

488 

489 :param wfopo: The wfopo of this GrometFN. # noqa: E501 

490 :type: list[GrometWire] 

491 """ 

492 

493 self._wfopo = wfopo 

494 

495 @property 

496 def bl(self): 

497 """Gets the bl of this GrometFN. # noqa: E501 

498 

499 bl: The FN GrometBoxLoops within this GrometFN. # noqa: E501 

500 

501 :return: The bl of this GrometFN. # noqa: E501 

502 :rtype: list[GrometBoxLoop] 

503 """ 

504 return self._bl 

505 

506 @bl.setter 

507 def bl(self, bl): 

508 """Sets the bl of this GrometFN. 

509 

510 bl: The FN GrometBoxLoops within this GrometFN. # noqa: E501 

511 

512 :param bl: The bl of this GrometFN. # noqa: E501 

513 :type: list[GrometBoxLoop] 

514 """ 

515 

516 self._bl = bl 

517 

518 @property 

519 def pil(self): 

520 """Gets the pil of this GrometFN. # noqa: E501 

521 

522 pil: The Port Inputs of the GrometBoxLoops (bl) # noqa: E501 

523 

524 :return: The pil of this GrometFN. # noqa: E501 

525 :rtype: list[GrometPort] 

526 """ 

527 return self._pil 

528 

529 @pil.setter 

530 def pil(self, pil): 

531 """Sets the pil of this GrometFN. 

532 

533 pil: The Port Inputs of the GrometBoxLoops (bl) # noqa: E501 

534 

535 :param pil: The pil of this GrometFN. # noqa: E501 

536 :type: list[GrometPort] 

537 """ 

538 

539 self._pil = pil 

540 

541 @property 

542 def pol(self): 

543 """Gets the pol of this GrometFN. # noqa: E501 

544 

545 pol: The Port Outputs of the GrometBoxLoops (bl) # noqa: E501 

546 

547 :return: The pol of this GrometFN. # noqa: E501 

548 :rtype: list[GrometPort] 

549 """ 

550 return self._pol 

551 

552 @pol.setter 

553 def pol(self, pol): 

554 """Sets the pol of this GrometFN. 

555 

556 pol: The Port Outputs of the GrometBoxLoops (bl) # noqa: E501 

557 

558 :param pol: The pol of this GrometFN. # noqa: E501 

559 :type: list[GrometPort] 

560 """ 

561 

562 self._pol = pol 

563 

564 @property 

565 def wlopi(self): 

566 """Gets the wlopi of this GrometFN. # noqa: E501 

567 

568 wlopi: The Wires from (src) GrometBoxLoops Port Inputs (pil) to (tgt) the Outer Box Outer Port Inputs (opi). # noqa: E501 

569 

570 :return: The wlopi of this GrometFN. # noqa: E501 

571 :rtype: list[GrometWire] 

572 """ 

573 return self._wlopi 

574 

575 @wlopi.setter 

576 def wlopi(self, wlopi): 

577 """Sets the wlopi of this GrometFN. 

578 

579 wlopi: The Wires from (src) GrometBoxLoops Port Inputs (pil) to (tgt) the Outer Box Outer Port Inputs (opi). # noqa: E501 

580 

581 :param wlopi: The wlopi of this GrometFN. # noqa: E501 

582 :type: list[GrometWire] 

583 """ 

584 

585 self._wlopi = wlopi 

586 

587 @property 

588 def wll(self): 

589 """Gets the wll of this GrometFN. # noqa: E501 

590 

591 wll: The Wires from (src) the GrometBoxLoops Port Inputs (pil) to (tgt) the GrometBoxLoops Port Outputs (pol). # noqa: E501 

592 

593 :return: The wll of this GrometFN. # noqa: E501 

594 :rtype: list[GrometWire] 

595 """ 

596 return self._wll 

597 

598 @wll.setter 

599 def wll(self, wll): 

600 """Sets the wll of this GrometFN. 

601 

602 wll: The Wires from (src) the GrometBoxLoops Port Inputs (pil) to (tgt) the GrometBoxLoops Port Outputs (pol). # noqa: E501 

603 

604 :param wll: The wll of this GrometFN. # noqa: E501 

605 :type: list[GrometWire] 

606 """ 

607 

608 self._wll = wll 

609 

610 @property 

611 def wlf(self): 

612 """Gets the wlf of this GrometFN. # noqa: E501 

613 

614 wlf: The Wires from (src) the GrometBoxFunctions Port Inputs (pif) to (tgt) the GrometBoxLoops Port Outputs (pol). # noqa: E501 

615 

616 :return: The wlf of this GrometFN. # noqa: E501 

617 :rtype: list[GrometWire] 

618 """ 

619 return self._wlf 

620 

621 @wlf.setter 

622 def wlf(self, wlf): 

623 """Sets the wlf of this GrometFN. 

624 

625 wlf: The Wires from (src) the GrometBoxFunctions Port Inputs (pif) to (tgt) the GrometBoxLoops Port Outputs (pol). # noqa: E501 

626 

627 :param wlf: The wlf of this GrometFN. # noqa: E501 

628 :type: list[GrometWire] 

629 """ 

630 

631 self._wlf = wlf 

632 

633 @property 

634 def wlc(self): 

635 """Gets the wlc of this GrometFN. # noqa: E501 

636 

637 wlc: The Wires from (src) the GrometBoxConditionals Port Inputs (pic) to (tgt) the GrometBoxLoops Port Outputs (pol). # noqa: E501 

638 

639 :return: The wlc of this GrometFN. # noqa: E501 

640 :rtype: list[GrometWire] 

641 """ 

642 return self._wlc 

643 

644 @wlc.setter 

645 def wlc(self, wlc): 

646 """Sets the wlc of this GrometFN. 

647 

648 wlc: The Wires from (src) the GrometBoxConditionals Port Inputs (pic) to (tgt) the GrometBoxLoops Port Outputs (pol). # noqa: E501 

649 

650 :param wlc: The wlc of this GrometFN. # noqa: E501 

651 :type: list[GrometWire] 

652 """ 

653 

654 self._wlc = wlc 

655 

656 @property 

657 def wlopo(self): 

658 """Gets the wlopo of this GrometFN. # noqa: E501 

659 

660 wlopo: The Wires from (src) Outer Box Outer Port Outputs (opo) to (tgt) GrometBoxLoops Port Outputs (pol). # noqa: E501 

661 

662 :return: The wlopo of this GrometFN. # noqa: E501 

663 :rtype: list[GrometWire] 

664 """ 

665 return self._wlopo 

666 

667 @wlopo.setter 

668 def wlopo(self, wlopo): 

669 """Sets the wlopo of this GrometFN. 

670 

671 wlopo: The Wires from (src) Outer Box Outer Port Outputs (opo) to (tgt) GrometBoxLoops Port Outputs (pol). # noqa: E501 

672 

673 :param wlopo: The wlopo of this GrometFN. # noqa: E501 

674 :type: list[GrometWire] 

675 """ 

676 

677 self._wlopo = wlopo 

678 

679 @property 

680 def bc(self): 

681 """Gets the bc of this GrometFN. # noqa: E501 

682 

683 bc: The FN GrometBoxConditionals within this GrometFN. # noqa: E501 

684 

685 :return: The bc of this GrometFN. # noqa: E501 

686 :rtype: list[GrometBoxConditional] 

687 """ 

688 return self._bc 

689 

690 @bc.setter 

691 def bc(self, bc): 

692 """Sets the bc of this GrometFN. 

693 

694 bc: The FN GrometBoxConditionals within this GrometFN. # noqa: E501 

695 

696 :param bc: The bc of this GrometFN. # noqa: E501 

697 :type: list[GrometBoxConditional] 

698 """ 

699 

700 self._bc = bc 

701 

702 @property 

703 def pic(self): 

704 """Gets the pic of this GrometFN. # noqa: E501 

705 

706 pic: The Port Inputs of the GrometBoxConditionals (bc) # noqa: E501 

707 

708 :return: The pic of this GrometFN. # noqa: E501 

709 :rtype: list[GrometPort] 

710 """ 

711 return self._pic 

712 

713 @pic.setter 

714 def pic(self, pic): 

715 """Sets the pic of this GrometFN. 

716 

717 pic: The Port Inputs of the GrometBoxConditionals (bc) # noqa: E501 

718 

719 :param pic: The pic of this GrometFN. # noqa: E501 

720 :type: list[GrometPort] 

721 """ 

722 

723 self._pic = pic 

724 

725 @property 

726 def poc(self): 

727 """Gets the poc of this GrometFN. # noqa: E501 

728 

729 poc: The Port Outputs of the GrometBoxConditionals (bc) # noqa: E501 

730 

731 :return: The poc of this GrometFN. # noqa: E501 

732 :rtype: list[GrometPort] 

733 """ 

734 return self._poc 

735 

736 @poc.setter 

737 def poc(self, poc): 

738 """Sets the poc of this GrometFN. 

739 

740 poc: The Port Outputs of the GrometBoxConditionals (bc) # noqa: E501 

741 

742 :param poc: The poc of this GrometFN. # noqa: E501 

743 :type: list[GrometPort] 

744 """ 

745 

746 self._poc = poc 

747 

748 @property 

749 def wcopi(self): 

750 """Gets the wcopi of this GrometFN. # noqa: E501 

751 

752 wcopi: The Wires from (src) the GrometBoxConditionals Port Inputs (pic) to (tgt) the Outer Box Outer Port Inputs (opi). # noqa: E501 

753 

754 :return: The wcopi of this GrometFN. # noqa: E501 

755 :rtype: list[GrometWire] 

756 """ 

757 return self._wcopi 

758 

759 @wcopi.setter 

760 def wcopi(self, wcopi): 

761 """Sets the wcopi of this GrometFN. 

762 

763 wcopi: The Wires from (src) the GrometBoxConditionals Port Inputs (pic) to (tgt) the Outer Box Outer Port Inputs (opi). # noqa: E501 

764 

765 :param wcopi: The wcopi of this GrometFN. # noqa: E501 

766 :type: list[GrometWire] 

767 """ 

768 

769 self._wcopi = wcopi 

770 

771 @property 

772 def wcl(self): 

773 """Gets the wcl of this GrometFN. # noqa: E501 

774 

775 wcl: The Wires from (src) the GrometBoxLoops Port Inputs (pil) to (tgt) the GrometBoxConditionals Port Outputs (poc). # noqa: E501 

776 

777 :return: The wcl of this GrometFN. # noqa: E501 

778 :rtype: list[GrometWire] 

779 """ 

780 return self._wcl 

781 

782 @wcl.setter 

783 def wcl(self, wcl): 

784 """Sets the wcl of this GrometFN. 

785 

786 wcl: The Wires from (src) the GrometBoxLoops Port Inputs (pil) to (tgt) the GrometBoxConditionals Port Outputs (poc). # noqa: E501 

787 

788 :param wcl: The wcl of this GrometFN. # noqa: E501 

789 :type: list[GrometWire] 

790 """ 

791 

792 self._wcl = wcl 

793 

794 @property 

795 def wcf(self): 

796 """Gets the wcf of this GrometFN. # noqa: E501 

797 

798 wcf: The Wires from (src) the GrometBoxFunctions Port Inputs (pif) to (tgt) the GrometBoxConditionals Port Outputs (poc). # noqa: E501 

799 

800 :return: The wcf of this GrometFN. # noqa: E501 

801 :rtype: list[GrometWire] 

802 """ 

803 return self._wcf 

804 

805 @wcf.setter 

806 def wcf(self, wcf): 

807 """Sets the wcf of this GrometFN. 

808 

809 wcf: The Wires from (src) the GrometBoxFunctions Port Inputs (pif) to (tgt) the GrometBoxConditionals Port Outputs (poc). # noqa: E501 

810 

811 :param wcf: The wcf of this GrometFN. # noqa: E501 

812 :type: list[GrometWire] 

813 """ 

814 

815 self._wcf = wcf 

816 

817 @property 

818 def wcc(self): 

819 """Gets the wcc of this GrometFN. # noqa: E501 

820 

821 wcc: The Wires from (src) the GrometBoxConditionals Port Inputs (pic) to (tgt) the GrometBoxConditionals Port Outputs (poc). # noqa: E501 

822 

823 :return: The wcc of this GrometFN. # noqa: E501 

824 :rtype: list[GrometWire] 

825 """ 

826 return self._wcc 

827 

828 @wcc.setter 

829 def wcc(self, wcc): 

830 """Sets the wcc of this GrometFN. 

831 

832 wcc: The Wires from (src) the GrometBoxConditionals Port Inputs (pic) to (tgt) the GrometBoxConditionals Port Outputs (poc). # noqa: E501 

833 

834 :param wcc: The wcc of this GrometFN. # noqa: E501 

835 :type: list[GrometWire] 

836 """ 

837 

838 self._wcc = wcc 

839 

840 @property 

841 def wcopo(self): 

842 """Gets the wcopo of this GrometFN. # noqa: E501 

843 

844 wcopo: The Wires from (src) the Outer Box Outer Port Outputs (opo) to (tgt) the GrometBoxConditionals Port Outputs (poc). # noqa: E501 

845 

846 :return: The wcopo of this GrometFN. # noqa: E501 

847 :rtype: list[GrometWire] 

848 """ 

849 return self._wcopo 

850 

851 @wcopo.setter 

852 def wcopo(self, wcopo): 

853 """Sets the wcopo of this GrometFN. 

854 

855 wcopo: The Wires from (src) the Outer Box Outer Port Outputs (opo) to (tgt) the GrometBoxConditionals Port Outputs (poc). # noqa: E501 

856 

857 :param wcopo: The wcopo of this GrometFN. # noqa: E501 

858 :type: list[GrometWire] 

859 """ 

860 

861 self._wcopo = wcopo 

862 

863 @property 

864 def gromet_type(self): 

865 """Gets the gromet_type of this GrometFN. # noqa: E501 

866 

867 

868 :return: The gromet_type of this GrometFN. # noqa: E501 

869 :rtype: str 

870 """ 

871 return self._gromet_type 

872 

873 @gromet_type.setter 

874 def gromet_type(self, gromet_type): 

875 """Sets the gromet_type of this GrometFN. 

876 

877 

878 :param gromet_type: The gromet_type of this GrometFN. # noqa: E501 

879 :type: str 

880 """ 

881 

882 self._gromet_type = gromet_type 

883 

884 def to_dict(self): 

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

886 result = {} 

887 

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

889 value = getattr(self, attr) 

890 if isinstance(value, list): 

891 result[attr] = list(map( 

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

893 value 

894 )) 

895 elif hasattr(value, "to_dict"): 

896 result[attr] = value.to_dict() 

897 elif isinstance(value, dict): 

898 result[attr] = dict(map( 

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

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

901 value.items() 

902 )) 

903 else: 

904 result[attr] = value 

905 if issubclass(GrometFN, dict): 

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

907 result[key] = value 

908 

909 return result 

910 

911 def to_str(self): 

912 """Returns the string representation of the model""" 

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

914 

915 def __repr__(self): 

916 """For `print` and `pprint`""" 

917 return self.to_str() 

918 

919 def __eq__(self, other): 

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

921 if not isinstance(other, GrometFN): 

922 return False 

923 

924 return self.__dict__ == other.__dict__ 

925 

926 def __ne__(self, other): 

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

928 return not self == other