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
« prev ^ index » next coverage.py v7.5.0, created at 2024-04-30 17:15 +0000
1# coding: utf-8
3"""
4 Grounded Model Exchange (GroMEt) schema for Function Networks
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
8 OpenAPI spec version: 0.1.10
9 Contact: claytonm@arizona.edu
10 Generated by: https://github.com/swagger-api/swagger-codegen.git
11"""
13import pprint
14import re # noqa: F401
16import six
17from skema.gromet.fn.gromet_object import GrometObject # noqa: F401,E501
19class GrometFN(GrometObject):
20 """NOTE: This class is auto generated by the swagger code generator program.
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)
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)
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)
196 @property
197 def name(self):
198 """Gets the name of this GrometFN. # noqa: E501
200 The name of the Function Network # noqa: E501
202 :return: The name of this GrometFN. # noqa: E501
203 :rtype: str
204 """
205 return self._name
207 @name.setter
208 def name(self, name):
209 """Sets the name of this GrometFN.
211 The name of the Function Network # noqa: E501
213 :param name: The name of this GrometFN. # noqa: E501
214 :type: str
215 """
217 self._name = name
219 @property
220 def b(self):
221 """Gets the b of this GrometFN. # noqa: E501
223 b: The FN Outer Box (although not enforced, there is always only 1). # noqa: E501
225 :return: The b of this GrometFN. # noqa: E501
226 :rtype: list[GrometBoxFunction]
227 """
228 return self._b
230 @b.setter
231 def b(self, b):
232 """Sets the b of this GrometFN.
234 b: The FN Outer Box (although not enforced, there is always only 1). # noqa: E501
236 :param b: The b of this GrometFN. # noqa: E501
237 :type: list[GrometBoxFunction]
238 """
240 self._b = b
242 @property
243 def opi(self):
244 """Gets the opi of this GrometFN. # noqa: E501
246 opi: The Outer Port Inputs of the FN Outer Box (b) # noqa: E501
248 :return: The opi of this GrometFN. # noqa: E501
249 :rtype: list[GrometPort]
250 """
251 return self._opi
253 @opi.setter
254 def opi(self, opi):
255 """Sets the opi of this GrometFN.
257 opi: The Outer Port Inputs of the FN Outer Box (b) # noqa: E501
259 :param opi: The opi of this GrometFN. # noqa: E501
260 :type: list[GrometPort]
261 """
263 self._opi = opi
265 @property
266 def opo(self):
267 """Gets the opo of this GrometFN. # noqa: E501
269 opo: The Outer Port Outputs of the FN Outer Box (b) # noqa: E501
271 :return: The opo of this GrometFN. # noqa: E501
272 :rtype: list[GrometPort]
273 """
274 return self._opo
276 @opo.setter
277 def opo(self, opo):
278 """Sets the opo of this GrometFN.
280 opo: The Outer Port Outputs of the FN Outer Box (b) # noqa: E501
282 :param opo: The opo of this GrometFN. # noqa: E501
283 :type: list[GrometPort]
284 """
286 self._opo = opo
288 @property
289 def wopio(self):
290 """Gets the wopio of this GrometFN. # noqa: E501
292 wopio: The Wires from (src) Outer Box Outer Port Inputs (opi) to (tgt) Outer Box Outer Port Outputs (opo). (AKA: Passthrough.) # noqa: E501
294 :return: The wopio of this GrometFN. # noqa: E501
295 :rtype: list[GrometWire]
296 """
297 return self._wopio
299 @wopio.setter
300 def wopio(self, wopio):
301 """Sets the wopio of this GrometFN.
303 wopio: The Wires from (src) Outer Box Outer Port Inputs (opi) to (tgt) Outer Box Outer Port Outputs (opo). (AKA: Passthrough.) # noqa: E501
305 :param wopio: The wopio of this GrometFN. # noqa: E501
306 :type: list[GrometWire]
307 """
309 self._wopio = wopio
311 @property
312 def bf(self):
313 """Gets the bf of this GrometFN. # noqa: E501
315 bf: The GrometBoxFunctions within this GrometFN. # noqa: E501
317 :return: The bf of this GrometFN. # noqa: E501
318 :rtype: list[GrometBoxFunction]
319 """
320 return self._bf
322 @bf.setter
323 def bf(self, bf):
324 """Sets the bf of this GrometFN.
326 bf: The GrometBoxFunctions within this GrometFN. # noqa: E501
328 :param bf: The bf of this GrometFN. # noqa: E501
329 :type: list[GrometBoxFunction]
330 """
332 self._bf = bf
334 @property
335 def pif(self):
336 """Gets the pif of this GrometFN. # noqa: E501
338 pif: The Port Inputs of the GrometBoxFunctions (bf). # noqa: E501
340 :return: The pif of this GrometFN. # noqa: E501
341 :rtype: list[GrometPort]
342 """
343 return self._pif
345 @pif.setter
346 def pif(self, pif):
347 """Sets the pif of this GrometFN.
349 pif: The Port Inputs of the GrometBoxFunctions (bf). # noqa: E501
351 :param pif: The pif of this GrometFN. # noqa: E501
352 :type: list[GrometPort]
353 """
355 self._pif = pif
357 @property
358 def pof(self):
359 """Gets the pof of this GrometFN. # noqa: E501
361 pof: The Port Outputs of the GrometBoxFunctions (bf). # noqa: E501
363 :return: The pof of this GrometFN. # noqa: E501
364 :rtype: list[GrometPort]
365 """
366 return self._pof
368 @pof.setter
369 def pof(self, pof):
370 """Sets the pof of this GrometFN.
372 pof: The Port Outputs of the GrometBoxFunctions (bf). # noqa: E501
374 :param pof: The pof of this GrometFN. # noqa: E501
375 :type: list[GrometPort]
376 """
378 self._pof = pof
380 @property
381 def wfopi(self):
382 """Gets the wfopi of this GrometFN. # noqa: E501
384 wfopi: The Wires from (src) GrometBoxFunctions Port Inputs (pif) to (tgt) Outer Box Outer Port Inputs (opi). # noqa: E501
386 :return: The wfopi of this GrometFN. # noqa: E501
387 :rtype: list[GrometWire]
388 """
389 return self._wfopi
391 @wfopi.setter
392 def wfopi(self, wfopi):
393 """Sets the wfopi of this GrometFN.
395 wfopi: The Wires from (src) GrometBoxFunctions Port Inputs (pif) to (tgt) Outer Box Outer Port Inputs (opi). # noqa: E501
397 :param wfopi: The wfopi of this GrometFN. # noqa: E501
398 :type: list[GrometWire]
399 """
401 self._wfopi = wfopi
403 @property
404 def wfl(self):
405 """Gets the wfl of this GrometFN. # noqa: E501
407 wfl: The Wires from (src) GrometBoxLoops Port Inputs (pil) to (tgt) GrometBoxFunctions Port Outputs (pof). # noqa: E501
409 :return: The wfl of this GrometFN. # noqa: E501
410 :rtype: list[GrometWire]
411 """
412 return self._wfl
414 @wfl.setter
415 def wfl(self, wfl):
416 """Sets the wfl of this GrometFN.
418 wfl: The Wires from (src) GrometBoxLoops Port Inputs (pil) to (tgt) GrometBoxFunctions Port Outputs (pof). # noqa: E501
420 :param wfl: The wfl of this GrometFN. # noqa: E501
421 :type: list[GrometWire]
422 """
424 self._wfl = wfl
426 @property
427 def wff(self):
428 """Gets the wff of this GrometFN. # noqa: E501
430 wff: The Wires from (src) GrometBoxFunctions Port Inputs (pif) to (tgt) GrometBoxFunctions Port Outputs (pof). # noqa: E501
432 :return: The wff of this GrometFN. # noqa: E501
433 :rtype: list[GrometWire]
434 """
435 return self._wff
437 @wff.setter
438 def wff(self, wff):
439 """Sets the wff of this GrometFN.
441 wff: The Wires from (src) GrometBoxFunctions Port Inputs (pif) to (tgt) GrometBoxFunctions Port Outputs (pof). # noqa: E501
443 :param wff: The wff of this GrometFN. # noqa: E501
444 :type: list[GrometWire]
445 """
447 self._wff = wff
449 @property
450 def wfc(self):
451 """Gets the wfc of this GrometFN. # noqa: E501
453 wfc: The Wires from (src) GrometBoxConditionals Port Inputs (pic) to (tgt) GrometBoxFunctions Port Outputs (pof). # noqa: E501
455 :return: The wfc of this GrometFN. # noqa: E501
456 :rtype: list[GrometWire]
457 """
458 return self._wfc
460 @wfc.setter
461 def wfc(self, wfc):
462 """Sets the wfc of this GrometFN.
464 wfc: The Wires from (src) GrometBoxConditionals Port Inputs (pic) to (tgt) GrometBoxFunctions Port Outputs (pof). # noqa: E501
466 :param wfc: The wfc of this GrometFN. # noqa: E501
467 :type: list[GrometWire]
468 """
470 self._wfc = wfc
472 @property
473 def wfopo(self):
474 """Gets the wfopo of this GrometFN. # noqa: E501
476 wfopo: The Wires from (src) Outer Box Outer Port Outputs (opo) to (tgt) GrometBoxFunctions Port Outputs (pof). # noqa: E501
478 :return: The wfopo of this GrometFN. # noqa: E501
479 :rtype: list[GrometWire]
480 """
481 return self._wfopo
483 @wfopo.setter
484 def wfopo(self, wfopo):
485 """Sets the wfopo of this GrometFN.
487 wfopo: The Wires from (src) Outer Box Outer Port Outputs (opo) to (tgt) GrometBoxFunctions Port Outputs (pof). # noqa: E501
489 :param wfopo: The wfopo of this GrometFN. # noqa: E501
490 :type: list[GrometWire]
491 """
493 self._wfopo = wfopo
495 @property
496 def bl(self):
497 """Gets the bl of this GrometFN. # noqa: E501
499 bl: The FN GrometBoxLoops within this GrometFN. # noqa: E501
501 :return: The bl of this GrometFN. # noqa: E501
502 :rtype: list[GrometBoxLoop]
503 """
504 return self._bl
506 @bl.setter
507 def bl(self, bl):
508 """Sets the bl of this GrometFN.
510 bl: The FN GrometBoxLoops within this GrometFN. # noqa: E501
512 :param bl: The bl of this GrometFN. # noqa: E501
513 :type: list[GrometBoxLoop]
514 """
516 self._bl = bl
518 @property
519 def pil(self):
520 """Gets the pil of this GrometFN. # noqa: E501
522 pil: The Port Inputs of the GrometBoxLoops (bl) # noqa: E501
524 :return: The pil of this GrometFN. # noqa: E501
525 :rtype: list[GrometPort]
526 """
527 return self._pil
529 @pil.setter
530 def pil(self, pil):
531 """Sets the pil of this GrometFN.
533 pil: The Port Inputs of the GrometBoxLoops (bl) # noqa: E501
535 :param pil: The pil of this GrometFN. # noqa: E501
536 :type: list[GrometPort]
537 """
539 self._pil = pil
541 @property
542 def pol(self):
543 """Gets the pol of this GrometFN. # noqa: E501
545 pol: The Port Outputs of the GrometBoxLoops (bl) # noqa: E501
547 :return: The pol of this GrometFN. # noqa: E501
548 :rtype: list[GrometPort]
549 """
550 return self._pol
552 @pol.setter
553 def pol(self, pol):
554 """Sets the pol of this GrometFN.
556 pol: The Port Outputs of the GrometBoxLoops (bl) # noqa: E501
558 :param pol: The pol of this GrometFN. # noqa: E501
559 :type: list[GrometPort]
560 """
562 self._pol = pol
564 @property
565 def wlopi(self):
566 """Gets the wlopi of this GrometFN. # noqa: E501
568 wlopi: The Wires from (src) GrometBoxLoops Port Inputs (pil) to (tgt) the Outer Box Outer Port Inputs (opi). # noqa: E501
570 :return: The wlopi of this GrometFN. # noqa: E501
571 :rtype: list[GrometWire]
572 """
573 return self._wlopi
575 @wlopi.setter
576 def wlopi(self, wlopi):
577 """Sets the wlopi of this GrometFN.
579 wlopi: The Wires from (src) GrometBoxLoops Port Inputs (pil) to (tgt) the Outer Box Outer Port Inputs (opi). # noqa: E501
581 :param wlopi: The wlopi of this GrometFN. # noqa: E501
582 :type: list[GrometWire]
583 """
585 self._wlopi = wlopi
587 @property
588 def wll(self):
589 """Gets the wll of this GrometFN. # noqa: E501
591 wll: The Wires from (src) the GrometBoxLoops Port Inputs (pil) to (tgt) the GrometBoxLoops Port Outputs (pol). # noqa: E501
593 :return: The wll of this GrometFN. # noqa: E501
594 :rtype: list[GrometWire]
595 """
596 return self._wll
598 @wll.setter
599 def wll(self, wll):
600 """Sets the wll of this GrometFN.
602 wll: The Wires from (src) the GrometBoxLoops Port Inputs (pil) to (tgt) the GrometBoxLoops Port Outputs (pol). # noqa: E501
604 :param wll: The wll of this GrometFN. # noqa: E501
605 :type: list[GrometWire]
606 """
608 self._wll = wll
610 @property
611 def wlf(self):
612 """Gets the wlf of this GrometFN. # noqa: E501
614 wlf: The Wires from (src) the GrometBoxFunctions Port Inputs (pif) to (tgt) the GrometBoxLoops Port Outputs (pol). # noqa: E501
616 :return: The wlf of this GrometFN. # noqa: E501
617 :rtype: list[GrometWire]
618 """
619 return self._wlf
621 @wlf.setter
622 def wlf(self, wlf):
623 """Sets the wlf of this GrometFN.
625 wlf: The Wires from (src) the GrometBoxFunctions Port Inputs (pif) to (tgt) the GrometBoxLoops Port Outputs (pol). # noqa: E501
627 :param wlf: The wlf of this GrometFN. # noqa: E501
628 :type: list[GrometWire]
629 """
631 self._wlf = wlf
633 @property
634 def wlc(self):
635 """Gets the wlc of this GrometFN. # noqa: E501
637 wlc: The Wires from (src) the GrometBoxConditionals Port Inputs (pic) to (tgt) the GrometBoxLoops Port Outputs (pol). # noqa: E501
639 :return: The wlc of this GrometFN. # noqa: E501
640 :rtype: list[GrometWire]
641 """
642 return self._wlc
644 @wlc.setter
645 def wlc(self, wlc):
646 """Sets the wlc of this GrometFN.
648 wlc: The Wires from (src) the GrometBoxConditionals Port Inputs (pic) to (tgt) the GrometBoxLoops Port Outputs (pol). # noqa: E501
650 :param wlc: The wlc of this GrometFN. # noqa: E501
651 :type: list[GrometWire]
652 """
654 self._wlc = wlc
656 @property
657 def wlopo(self):
658 """Gets the wlopo of this GrometFN. # noqa: E501
660 wlopo: The Wires from (src) Outer Box Outer Port Outputs (opo) to (tgt) GrometBoxLoops Port Outputs (pol). # noqa: E501
662 :return: The wlopo of this GrometFN. # noqa: E501
663 :rtype: list[GrometWire]
664 """
665 return self._wlopo
667 @wlopo.setter
668 def wlopo(self, wlopo):
669 """Sets the wlopo of this GrometFN.
671 wlopo: The Wires from (src) Outer Box Outer Port Outputs (opo) to (tgt) GrometBoxLoops Port Outputs (pol). # noqa: E501
673 :param wlopo: The wlopo of this GrometFN. # noqa: E501
674 :type: list[GrometWire]
675 """
677 self._wlopo = wlopo
679 @property
680 def bc(self):
681 """Gets the bc of this GrometFN. # noqa: E501
683 bc: The FN GrometBoxConditionals within this GrometFN. # noqa: E501
685 :return: The bc of this GrometFN. # noqa: E501
686 :rtype: list[GrometBoxConditional]
687 """
688 return self._bc
690 @bc.setter
691 def bc(self, bc):
692 """Sets the bc of this GrometFN.
694 bc: The FN GrometBoxConditionals within this GrometFN. # noqa: E501
696 :param bc: The bc of this GrometFN. # noqa: E501
697 :type: list[GrometBoxConditional]
698 """
700 self._bc = bc
702 @property
703 def pic(self):
704 """Gets the pic of this GrometFN. # noqa: E501
706 pic: The Port Inputs of the GrometBoxConditionals (bc) # noqa: E501
708 :return: The pic of this GrometFN. # noqa: E501
709 :rtype: list[GrometPort]
710 """
711 return self._pic
713 @pic.setter
714 def pic(self, pic):
715 """Sets the pic of this GrometFN.
717 pic: The Port Inputs of the GrometBoxConditionals (bc) # noqa: E501
719 :param pic: The pic of this GrometFN. # noqa: E501
720 :type: list[GrometPort]
721 """
723 self._pic = pic
725 @property
726 def poc(self):
727 """Gets the poc of this GrometFN. # noqa: E501
729 poc: The Port Outputs of the GrometBoxConditionals (bc) # noqa: E501
731 :return: The poc of this GrometFN. # noqa: E501
732 :rtype: list[GrometPort]
733 """
734 return self._poc
736 @poc.setter
737 def poc(self, poc):
738 """Sets the poc of this GrometFN.
740 poc: The Port Outputs of the GrometBoxConditionals (bc) # noqa: E501
742 :param poc: The poc of this GrometFN. # noqa: E501
743 :type: list[GrometPort]
744 """
746 self._poc = poc
748 @property
749 def wcopi(self):
750 """Gets the wcopi of this GrometFN. # noqa: E501
752 wcopi: The Wires from (src) the GrometBoxConditionals Port Inputs (pic) to (tgt) the Outer Box Outer Port Inputs (opi). # noqa: E501
754 :return: The wcopi of this GrometFN. # noqa: E501
755 :rtype: list[GrometWire]
756 """
757 return self._wcopi
759 @wcopi.setter
760 def wcopi(self, wcopi):
761 """Sets the wcopi of this GrometFN.
763 wcopi: The Wires from (src) the GrometBoxConditionals Port Inputs (pic) to (tgt) the Outer Box Outer Port Inputs (opi). # noqa: E501
765 :param wcopi: The wcopi of this GrometFN. # noqa: E501
766 :type: list[GrometWire]
767 """
769 self._wcopi = wcopi
771 @property
772 def wcl(self):
773 """Gets the wcl of this GrometFN. # noqa: E501
775 wcl: The Wires from (src) the GrometBoxLoops Port Inputs (pil) to (tgt) the GrometBoxConditionals Port Outputs (poc). # noqa: E501
777 :return: The wcl of this GrometFN. # noqa: E501
778 :rtype: list[GrometWire]
779 """
780 return self._wcl
782 @wcl.setter
783 def wcl(self, wcl):
784 """Sets the wcl of this GrometFN.
786 wcl: The Wires from (src) the GrometBoxLoops Port Inputs (pil) to (tgt) the GrometBoxConditionals Port Outputs (poc). # noqa: E501
788 :param wcl: The wcl of this GrometFN. # noqa: E501
789 :type: list[GrometWire]
790 """
792 self._wcl = wcl
794 @property
795 def wcf(self):
796 """Gets the wcf of this GrometFN. # noqa: E501
798 wcf: The Wires from (src) the GrometBoxFunctions Port Inputs (pif) to (tgt) the GrometBoxConditionals Port Outputs (poc). # noqa: E501
800 :return: The wcf of this GrometFN. # noqa: E501
801 :rtype: list[GrometWire]
802 """
803 return self._wcf
805 @wcf.setter
806 def wcf(self, wcf):
807 """Sets the wcf of this GrometFN.
809 wcf: The Wires from (src) the GrometBoxFunctions Port Inputs (pif) to (tgt) the GrometBoxConditionals Port Outputs (poc). # noqa: E501
811 :param wcf: The wcf of this GrometFN. # noqa: E501
812 :type: list[GrometWire]
813 """
815 self._wcf = wcf
817 @property
818 def wcc(self):
819 """Gets the wcc of this GrometFN. # noqa: E501
821 wcc: The Wires from (src) the GrometBoxConditionals Port Inputs (pic) to (tgt) the GrometBoxConditionals Port Outputs (poc). # noqa: E501
823 :return: The wcc of this GrometFN. # noqa: E501
824 :rtype: list[GrometWire]
825 """
826 return self._wcc
828 @wcc.setter
829 def wcc(self, wcc):
830 """Sets the wcc of this GrometFN.
832 wcc: The Wires from (src) the GrometBoxConditionals Port Inputs (pic) to (tgt) the GrometBoxConditionals Port Outputs (poc). # noqa: E501
834 :param wcc: The wcc of this GrometFN. # noqa: E501
835 :type: list[GrometWire]
836 """
838 self._wcc = wcc
840 @property
841 def wcopo(self):
842 """Gets the wcopo of this GrometFN. # noqa: E501
844 wcopo: The Wires from (src) the Outer Box Outer Port Outputs (opo) to (tgt) the GrometBoxConditionals Port Outputs (poc). # noqa: E501
846 :return: The wcopo of this GrometFN. # noqa: E501
847 :rtype: list[GrometWire]
848 """
849 return self._wcopo
851 @wcopo.setter
852 def wcopo(self, wcopo):
853 """Sets the wcopo of this GrometFN.
855 wcopo: The Wires from (src) the Outer Box Outer Port Outputs (opo) to (tgt) the GrometBoxConditionals Port Outputs (poc). # noqa: E501
857 :param wcopo: The wcopo of this GrometFN. # noqa: E501
858 :type: list[GrometWire]
859 """
861 self._wcopo = wcopo
863 @property
864 def gromet_type(self):
865 """Gets the gromet_type of this GrometFN. # noqa: E501
868 :return: The gromet_type of this GrometFN. # noqa: E501
869 :rtype: str
870 """
871 return self._gromet_type
873 @gromet_type.setter
874 def gromet_type(self, gromet_type):
875 """Sets the gromet_type of this GrometFN.
878 :param gromet_type: The gromet_type of this GrometFN. # noqa: E501
879 :type: str
880 """
882 self._gromet_type = gromet_type
884 def to_dict(self):
885 """Returns the model properties as a dict"""
886 result = {}
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
909 return result
911 def to_str(self):
912 """Returns the string representation of the model"""
913 return pprint.pformat(self.to_dict())
915 def __repr__(self):
916 """For `print` and `pprint`"""
917 return self.to_str()
919 def __eq__(self, other):
920 """Returns true if both objects are equal"""
921 if not isinstance(other, GrometFN):
922 return False
924 return self.__dict__ == other.__dict__
926 def __ne__(self, other):
927 """Returns true if both objects are not equal"""
928 return not self == other