benchling-api-client 2.0.419__py3-none-any.whl → 2.0.420__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. benchling_api_client/models/box_creation_table_note_part.py +31 -0
  2. benchling_api_client/models/inventory_container_table_note_part.py +31 -0
  3. benchling_api_client/models/inventory_plate_table_note_part.py +31 -0
  4. benchling_api_client/models/lookup_table_note_part.py +32 -0
  5. benchling_api_client/models/mixture_prep_table_note_part.py +31 -0
  6. benchling_api_client/models/plate_creation_table_note_part.py +31 -0
  7. benchling_api_client/models/registration_table_note_part.py +31 -0
  8. benchling_api_client/models/results_table_note_part.py +31 -0
  9. benchling_api_client/models/structured_table_api_identifiers.py +32 -0
  10. benchling_api_client/v2/alpha/models/box_creation_table_note_part.py +31 -0
  11. benchling_api_client/v2/alpha/models/inventory_container_table_note_part.py +31 -0
  12. benchling_api_client/v2/alpha/models/inventory_plate_table_note_part.py +31 -0
  13. benchling_api_client/v2/alpha/models/lookup_table_note_part.py +32 -0
  14. benchling_api_client/v2/alpha/models/mixture_prep_table_note_part.py +31 -0
  15. benchling_api_client/v2/alpha/models/plate_creation_table_note_part.py +31 -0
  16. benchling_api_client/v2/alpha/models/registration_table_note_part.py +31 -0
  17. benchling_api_client/v2/alpha/models/results_table_note_part.py +31 -0
  18. benchling_api_client/v2/alpha/models/structured_table_api_identifiers.py +32 -0
  19. benchling_api_client/v2/alpha/openapi.yaml +2 -0
  20. benchling_api_client/v2/beta/models/box_creation_table_note_part.py +31 -0
  21. benchling_api_client/v2/beta/models/inventory_container_table_note_part.py +31 -0
  22. benchling_api_client/v2/beta/models/inventory_plate_table_note_part.py +31 -0
  23. benchling_api_client/v2/beta/models/lookup_table_note_part.py +32 -0
  24. benchling_api_client/v2/beta/models/mixture_prep_table_note_part.py +31 -0
  25. benchling_api_client/v2/beta/models/plate_creation_table_note_part.py +31 -0
  26. benchling_api_client/v2/beta/models/registration_table_note_part.py +31 -0
  27. benchling_api_client/v2/beta/models/results_table_note_part.py +31 -0
  28. benchling_api_client/v2/beta/models/structured_table_api_identifiers.py +32 -0
  29. benchling_api_client/v2/beta/openapi.yaml +2 -0
  30. benchling_api_client/v2/stable/models/box_creation_table_note_part.py +31 -0
  31. benchling_api_client/v2/stable/models/inventory_container_table_note_part.py +31 -0
  32. benchling_api_client/v2/stable/models/inventory_plate_table_note_part.py +31 -0
  33. benchling_api_client/v2/stable/models/lookup_table_note_part.py +32 -0
  34. benchling_api_client/v2/stable/models/mixture_prep_table_note_part.py +31 -0
  35. benchling_api_client/v2/stable/models/plate_creation_table_note_part.py +31 -0
  36. benchling_api_client/v2/stable/models/registration_table_note_part.py +31 -0
  37. benchling_api_client/v2/stable/models/results_table_note_part.py +31 -0
  38. benchling_api_client/v2/stable/models/structured_table_api_identifiers.py +32 -0
  39. benchling_api_client/v2/stable/openapi.yaml +2 -0
  40. {benchling_api_client-2.0.419.dist-info → benchling_api_client-2.0.420.dist-info}/METADATA +1 -1
  41. {benchling_api_client-2.0.419.dist-info → benchling_api_client-2.0.420.dist-info}/RECORD +43 -43
  42. {benchling_api_client-2.0.419.dist-info → benchling_api_client-2.0.420.dist-info}/LICENSE +0 -0
  43. {benchling_api_client-2.0.419.dist-info → benchling_api_client-2.0.420.dist-info}/WHEEL +0 -0
@@ -15,12 +15,14 @@ class StructuredTableApiIdentifiers:
15
15
 
16
16
  _api_id: Union[Unset, str] = UNSET
17
17
  _columns: Union[Unset, List[StructuredTableColumnInfo]] = UNSET
18
+ _name: Union[Unset, str] = UNSET
18
19
  additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict)
19
20
 
20
21
  def __repr__(self):
21
22
  fields = []
22
23
  fields.append("api_id={}".format(repr(self._api_id)))
23
24
  fields.append("columns={}".format(repr(self._columns)))
25
+ fields.append("name={}".format(repr(self._name)))
24
26
  fields.append("additional_properties={}".format(repr(self.additional_properties)))
25
27
  return "StructuredTableApiIdentifiers({})".format(", ".join(fields))
26
28
 
@@ -34,6 +36,8 @@ class StructuredTableApiIdentifiers:
34
36
 
35
37
  columns.append(columns_item)
36
38
 
39
+ name = self._name
40
+
37
41
  field_dict: Dict[str, Any] = {}
38
42
  field_dict.update(self.additional_properties)
39
43
  # Allow the model to serialize even if it was created outside of the constructor, circumventing validation
@@ -41,6 +45,8 @@ class StructuredTableApiIdentifiers:
41
45
  field_dict["apiId"] = api_id
42
46
  if columns is not UNSET:
43
47
  field_dict["columns"] = columns
48
+ if name is not UNSET:
49
+ field_dict["name"] = name
44
50
 
45
51
  return field_dict
46
52
 
@@ -76,9 +82,21 @@ class StructuredTableApiIdentifiers:
76
82
  raise
77
83
  columns = cast(Union[Unset, List[StructuredTableColumnInfo]], UNSET)
78
84
 
85
+ def get_name() -> Union[Unset, str]:
86
+ name = d.pop("name")
87
+ return name
88
+
89
+ try:
90
+ name = get_name()
91
+ except KeyError:
92
+ if strict:
93
+ raise
94
+ name = cast(Union[Unset, str], UNSET)
95
+
79
96
  structured_table_api_identifiers = cls(
80
97
  api_id=api_id,
81
98
  columns=columns,
99
+ name=name,
82
100
  )
83
101
 
84
102
  structured_table_api_identifiers.additional_properties = d
@@ -130,3 +148,17 @@ class StructuredTableApiIdentifiers:
130
148
  @columns.deleter
131
149
  def columns(self) -> None:
132
150
  self._columns = UNSET
151
+
152
+ @property
153
+ def name(self) -> str:
154
+ if isinstance(self._name, Unset):
155
+ raise NotPresentError(self, "name")
156
+ return self._name
157
+
158
+ @name.setter
159
+ def name(self, value: str) -> None:
160
+ self._name = value
161
+
162
+ @name.deleter
163
+ def name(self) -> None:
164
+ self._name = UNSET
@@ -7380,6 +7380,8 @@ components:
7380
7380
  items:
7381
7381
  $ref: '#/components/schemas/StructuredTableColumnInfo'
7382
7382
  type: array
7383
+ name:
7384
+ type: string
7383
7385
  type: object
7384
7386
  StructuredTableColumnInfo:
7385
7387
  properties:
@@ -18,6 +18,7 @@ class BoxCreationTableNotePart:
18
18
  _type: Union[Unset, BoxCreationTableNotePartType] = UNSET
19
19
  _api_id: Union[Unset, str] = UNSET
20
20
  _columns: Union[Unset, List[StructuredTableColumnInfo]] = UNSET
21
+ _name: Union[Unset, str] = UNSET
21
22
  _indentation: Union[Unset, int] = 0
22
23
  additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict)
23
24
 
@@ -27,6 +28,7 @@ class BoxCreationTableNotePart:
27
28
  fields.append("type={}".format(repr(self._type)))
28
29
  fields.append("api_id={}".format(repr(self._api_id)))
29
30
  fields.append("columns={}".format(repr(self._columns)))
31
+ fields.append("name={}".format(repr(self._name)))
30
32
  fields.append("indentation={}".format(repr(self._indentation)))
31
33
  fields.append("additional_properties={}".format(repr(self.additional_properties)))
32
34
  return "BoxCreationTableNotePart({})".format(", ".join(fields))
@@ -46,6 +48,7 @@ class BoxCreationTableNotePart:
46
48
 
47
49
  columns.append(columns_item)
48
50
 
51
+ name = self._name
49
52
  indentation = self._indentation
50
53
 
51
54
  field_dict: Dict[str, Any] = {}
@@ -59,6 +62,8 @@ class BoxCreationTableNotePart:
59
62
  field_dict["apiId"] = api_id
60
63
  if columns is not UNSET:
61
64
  field_dict["columns"] = columns
65
+ if name is not UNSET:
66
+ field_dict["name"] = name
62
67
  if indentation is not UNSET:
63
68
  field_dict["indentation"] = indentation
64
69
 
@@ -125,6 +130,17 @@ class BoxCreationTableNotePart:
125
130
  raise
126
131
  columns = cast(Union[Unset, List[StructuredTableColumnInfo]], UNSET)
127
132
 
133
+ def get_name() -> Union[Unset, str]:
134
+ name = d.pop("name")
135
+ return name
136
+
137
+ try:
138
+ name = get_name()
139
+ except KeyError:
140
+ if strict:
141
+ raise
142
+ name = cast(Union[Unset, str], UNSET)
143
+
128
144
  def get_indentation() -> Union[Unset, int]:
129
145
  indentation = d.pop("indentation")
130
146
  return indentation
@@ -141,6 +157,7 @@ class BoxCreationTableNotePart:
141
157
  type=type,
142
158
  api_id=api_id,
143
159
  columns=columns,
160
+ name=name,
144
161
  indentation=indentation,
145
162
  )
146
163
 
@@ -222,6 +239,20 @@ class BoxCreationTableNotePart:
222
239
  def columns(self) -> None:
223
240
  self._columns = UNSET
224
241
 
242
+ @property
243
+ def name(self) -> str:
244
+ if isinstance(self._name, Unset):
245
+ raise NotPresentError(self, "name")
246
+ return self._name
247
+
248
+ @name.setter
249
+ def name(self, value: str) -> None:
250
+ self._name = value
251
+
252
+ @name.deleter
253
+ def name(self) -> None:
254
+ self._name = UNSET
255
+
225
256
  @property
226
257
  def indentation(self) -> int:
227
258
  """ All notes have an indentation level - the default is 0 for no indent. For lists, indentation gives notes hierarchy - a bulleted list with children is modeled as one note part with indentation 1 followed by note parts with indentation 2, for example. """
@@ -20,6 +20,7 @@ class InventoryContainerTableNotePart:
20
20
  _type: Union[Unset, InventoryContainerTableNotePartType] = UNSET
21
21
  _api_id: Union[Unset, str] = UNSET
22
22
  _columns: Union[Unset, List[StructuredTableColumnInfo]] = UNSET
23
+ _name: Union[Unset, str] = UNSET
23
24
  _indentation: Union[Unset, int] = 0
24
25
  additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict)
25
26
 
@@ -32,6 +33,7 @@ class InventoryContainerTableNotePart:
32
33
  fields.append("type={}".format(repr(self._type)))
33
34
  fields.append("api_id={}".format(repr(self._api_id)))
34
35
  fields.append("columns={}".format(repr(self._columns)))
36
+ fields.append("name={}".format(repr(self._name)))
35
37
  fields.append("indentation={}".format(repr(self._indentation)))
36
38
  fields.append("additional_properties={}".format(repr(self.additional_properties)))
37
39
  return "InventoryContainerTableNotePart({})".format(", ".join(fields))
@@ -55,6 +57,7 @@ class InventoryContainerTableNotePart:
55
57
 
56
58
  columns.append(columns_item)
57
59
 
60
+ name = self._name
58
61
  indentation = self._indentation
59
62
 
60
63
  field_dict: Dict[str, Any] = {}
@@ -70,6 +73,8 @@ class InventoryContainerTableNotePart:
70
73
  field_dict["apiId"] = api_id
71
74
  if columns is not UNSET:
72
75
  field_dict["columns"] = columns
76
+ if name is not UNSET:
77
+ field_dict["name"] = name
73
78
  if indentation is not UNSET:
74
79
  field_dict["indentation"] = indentation
75
80
 
@@ -154,6 +159,17 @@ class InventoryContainerTableNotePart:
154
159
  raise
155
160
  columns = cast(Union[Unset, List[StructuredTableColumnInfo]], UNSET)
156
161
 
162
+ def get_name() -> Union[Unset, str]:
163
+ name = d.pop("name")
164
+ return name
165
+
166
+ try:
167
+ name = get_name()
168
+ except KeyError:
169
+ if strict:
170
+ raise
171
+ name = cast(Union[Unset, str], UNSET)
172
+
157
173
  def get_indentation() -> Union[Unset, int]:
158
174
  indentation = d.pop("indentation")
159
175
  return indentation
@@ -171,6 +187,7 @@ class InventoryContainerTableNotePart:
171
187
  type=type,
172
188
  api_id=api_id,
173
189
  columns=columns,
190
+ name=name,
174
191
  indentation=indentation,
175
192
  )
176
193
 
@@ -266,6 +283,20 @@ class InventoryContainerTableNotePart:
266
283
  def columns(self) -> None:
267
284
  self._columns = UNSET
268
285
 
286
+ @property
287
+ def name(self) -> str:
288
+ if isinstance(self._name, Unset):
289
+ raise NotPresentError(self, "name")
290
+ return self._name
291
+
292
+ @name.setter
293
+ def name(self, value: str) -> None:
294
+ self._name = value
295
+
296
+ @name.deleter
297
+ def name(self) -> None:
298
+ self._name = UNSET
299
+
269
300
  @property
270
301
  def indentation(self) -> int:
271
302
  """ All notes have an indentation level - the default is 0 for no indent. For lists, indentation gives notes hierarchy - a bulleted list with children is modeled as one note part with indentation 1 followed by note parts with indentation 2, for example. """
@@ -21,6 +21,7 @@ class InventoryPlateTableNotePart:
21
21
  _type: Union[Unset, InventoryPlateTableNotePartType] = UNSET
22
22
  _api_id: Union[Unset, str] = UNSET
23
23
  _columns: Union[Unset, List[StructuredTableColumnInfo]] = UNSET
24
+ _name: Union[Unset, str] = UNSET
24
25
  _indentation: Union[Unset, int] = 0
25
26
  additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict)
26
27
 
@@ -32,6 +33,7 @@ class InventoryPlateTableNotePart:
32
33
  fields.append("type={}".format(repr(self._type)))
33
34
  fields.append("api_id={}".format(repr(self._api_id)))
34
35
  fields.append("columns={}".format(repr(self._columns)))
36
+ fields.append("name={}".format(repr(self._name)))
35
37
  fields.append("indentation={}".format(repr(self._indentation)))
36
38
  fields.append("additional_properties={}".format(repr(self.additional_properties)))
37
39
  return "InventoryPlateTableNotePart({})".format(", ".join(fields))
@@ -56,6 +58,7 @@ class InventoryPlateTableNotePart:
56
58
 
57
59
  columns.append(columns_item)
58
60
 
61
+ name = self._name
59
62
  indentation = self._indentation
60
63
 
61
64
  field_dict: Dict[str, Any] = {}
@@ -73,6 +76,8 @@ class InventoryPlateTableNotePart:
73
76
  field_dict["apiId"] = api_id
74
77
  if columns is not UNSET:
75
78
  field_dict["columns"] = columns
79
+ if name is not UNSET:
80
+ field_dict["name"] = name
76
81
  if indentation is not UNSET:
77
82
  field_dict["indentation"] = indentation
78
83
 
@@ -168,6 +173,17 @@ class InventoryPlateTableNotePart:
168
173
  raise
169
174
  columns = cast(Union[Unset, List[StructuredTableColumnInfo]], UNSET)
170
175
 
176
+ def get_name() -> Union[Unset, str]:
177
+ name = d.pop("name")
178
+ return name
179
+
180
+ try:
181
+ name = get_name()
182
+ except KeyError:
183
+ if strict:
184
+ raise
185
+ name = cast(Union[Unset, str], UNSET)
186
+
171
187
  def get_indentation() -> Union[Unset, int]:
172
188
  indentation = d.pop("indentation")
173
189
  return indentation
@@ -186,6 +202,7 @@ class InventoryPlateTableNotePart:
186
202
  type=type,
187
203
  api_id=api_id,
188
204
  columns=columns,
205
+ name=name,
189
206
  indentation=indentation,
190
207
  )
191
208
 
@@ -295,6 +312,20 @@ class InventoryPlateTableNotePart:
295
312
  def columns(self) -> None:
296
313
  self._columns = UNSET
297
314
 
315
+ @property
316
+ def name(self) -> str:
317
+ if isinstance(self._name, Unset):
318
+ raise NotPresentError(self, "name")
319
+ return self._name
320
+
321
+ @name.setter
322
+ def name(self, value: str) -> None:
323
+ self._name = value
324
+
325
+ @name.deleter
326
+ def name(self) -> None:
327
+ self._name = UNSET
328
+
298
329
  @property
299
330
  def indentation(self) -> int:
300
331
  """ All notes have an indentation level - the default is 0 for no indent. For lists, indentation gives notes hierarchy - a bulleted list with children is modeled as one note part with indentation 1 followed by note parts with indentation 2, for example. """
@@ -17,6 +17,7 @@ class LookupTableNotePart:
17
17
  _type: Union[Unset, LookupTableNotePartType] = UNSET
18
18
  _api_id: Union[Unset, str] = UNSET
19
19
  _columns: Union[Unset, List[StructuredTableColumnInfo]] = UNSET
20
+ _name: Union[Unset, str] = UNSET
20
21
  additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict)
21
22
 
22
23
  def __repr__(self):
@@ -24,6 +25,7 @@ class LookupTableNotePart:
24
25
  fields.append("type={}".format(repr(self._type)))
25
26
  fields.append("api_id={}".format(repr(self._api_id)))
26
27
  fields.append("columns={}".format(repr(self._columns)))
28
+ fields.append("name={}".format(repr(self._name)))
27
29
  fields.append("additional_properties={}".format(repr(self.additional_properties)))
28
30
  return "LookupTableNotePart({})".format(", ".join(fields))
29
31
 
@@ -41,6 +43,8 @@ class LookupTableNotePart:
41
43
 
42
44
  columns.append(columns_item)
43
45
 
46
+ name = self._name
47
+
44
48
  field_dict: Dict[str, Any] = {}
45
49
  field_dict.update(self.additional_properties)
46
50
  # Allow the model to serialize even if it was created outside of the constructor, circumventing validation
@@ -50,6 +54,8 @@ class LookupTableNotePart:
50
54
  field_dict["apiId"] = api_id
51
55
  if columns is not UNSET:
52
56
  field_dict["columns"] = columns
57
+ if name is not UNSET:
58
+ field_dict["name"] = name
53
59
 
54
60
  return field_dict
55
61
 
@@ -103,10 +109,22 @@ class LookupTableNotePart:
103
109
  raise
104
110
  columns = cast(Union[Unset, List[StructuredTableColumnInfo]], UNSET)
105
111
 
112
+ def get_name() -> Union[Unset, str]:
113
+ name = d.pop("name")
114
+ return name
115
+
116
+ try:
117
+ name = get_name()
118
+ except KeyError:
119
+ if strict:
120
+ raise
121
+ name = cast(Union[Unset, str], UNSET)
122
+
106
123
  lookup_table_note_part = cls(
107
124
  type=type,
108
125
  api_id=api_id,
109
126
  columns=columns,
127
+ name=name,
110
128
  )
111
129
 
112
130
  lookup_table_note_part.additional_properties = d
@@ -172,3 +190,17 @@ class LookupTableNotePart:
172
190
  @columns.deleter
173
191
  def columns(self) -> None:
174
192
  self._columns = UNSET
193
+
194
+ @property
195
+ def name(self) -> str:
196
+ if isinstance(self._name, Unset):
197
+ raise NotPresentError(self, "name")
198
+ return self._name
199
+
200
+ @name.setter
201
+ def name(self, value: str) -> None:
202
+ self._name = value
203
+
204
+ @name.deleter
205
+ def name(self) -> None:
206
+ self._name = UNSET
@@ -18,6 +18,7 @@ class MixturePrepTableNotePart:
18
18
  _type: Union[Unset, MixturePrepTableNotePartType] = UNSET
19
19
  _api_id: Union[Unset, str] = UNSET
20
20
  _columns: Union[Unset, List[StructuredTableColumnInfo]] = UNSET
21
+ _name: Union[Unset, str] = UNSET
21
22
  _indentation: Union[Unset, int] = 0
22
23
  additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict)
23
24
 
@@ -27,6 +28,7 @@ class MixturePrepTableNotePart:
27
28
  fields.append("type={}".format(repr(self._type)))
28
29
  fields.append("api_id={}".format(repr(self._api_id)))
29
30
  fields.append("columns={}".format(repr(self._columns)))
31
+ fields.append("name={}".format(repr(self._name)))
30
32
  fields.append("indentation={}".format(repr(self._indentation)))
31
33
  fields.append("additional_properties={}".format(repr(self.additional_properties)))
32
34
  return "MixturePrepTableNotePart({})".format(", ".join(fields))
@@ -46,6 +48,7 @@ class MixturePrepTableNotePart:
46
48
 
47
49
  columns.append(columns_item)
48
50
 
51
+ name = self._name
49
52
  indentation = self._indentation
50
53
 
51
54
  field_dict: Dict[str, Any] = {}
@@ -59,6 +62,8 @@ class MixturePrepTableNotePart:
59
62
  field_dict["apiId"] = api_id
60
63
  if columns is not UNSET:
61
64
  field_dict["columns"] = columns
65
+ if name is not UNSET:
66
+ field_dict["name"] = name
62
67
  if indentation is not UNSET:
63
68
  field_dict["indentation"] = indentation
64
69
 
@@ -125,6 +130,17 @@ class MixturePrepTableNotePart:
125
130
  raise
126
131
  columns = cast(Union[Unset, List[StructuredTableColumnInfo]], UNSET)
127
132
 
133
+ def get_name() -> Union[Unset, str]:
134
+ name = d.pop("name")
135
+ return name
136
+
137
+ try:
138
+ name = get_name()
139
+ except KeyError:
140
+ if strict:
141
+ raise
142
+ name = cast(Union[Unset, str], UNSET)
143
+
128
144
  def get_indentation() -> Union[Unset, int]:
129
145
  indentation = d.pop("indentation")
130
146
  return indentation
@@ -141,6 +157,7 @@ class MixturePrepTableNotePart:
141
157
  type=type,
142
158
  api_id=api_id,
143
159
  columns=columns,
160
+ name=name,
144
161
  indentation=indentation,
145
162
  )
146
163
 
@@ -222,6 +239,20 @@ class MixturePrepTableNotePart:
222
239
  def columns(self) -> None:
223
240
  self._columns = UNSET
224
241
 
242
+ @property
243
+ def name(self) -> str:
244
+ if isinstance(self._name, Unset):
245
+ raise NotPresentError(self, "name")
246
+ return self._name
247
+
248
+ @name.setter
249
+ def name(self, value: str) -> None:
250
+ self._name = value
251
+
252
+ @name.deleter
253
+ def name(self) -> None:
254
+ self._name = UNSET
255
+
225
256
  @property
226
257
  def indentation(self) -> int:
227
258
  """ All notes have an indentation level - the default is 0 for no indent. For lists, indentation gives notes hierarchy - a bulleted list with children is modeled as one note part with indentation 1 followed by note parts with indentation 2, for example. """
@@ -18,6 +18,7 @@ class PlateCreationTableNotePart:
18
18
  _type: Union[Unset, PlateCreationTableNotePartType] = UNSET
19
19
  _api_id: Union[Unset, str] = UNSET
20
20
  _columns: Union[Unset, List[StructuredTableColumnInfo]] = UNSET
21
+ _name: Union[Unset, str] = UNSET
21
22
  _indentation: Union[Unset, int] = 0
22
23
  additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict)
23
24
 
@@ -27,6 +28,7 @@ class PlateCreationTableNotePart:
27
28
  fields.append("type={}".format(repr(self._type)))
28
29
  fields.append("api_id={}".format(repr(self._api_id)))
29
30
  fields.append("columns={}".format(repr(self._columns)))
31
+ fields.append("name={}".format(repr(self._name)))
30
32
  fields.append("indentation={}".format(repr(self._indentation)))
31
33
  fields.append("additional_properties={}".format(repr(self.additional_properties)))
32
34
  return "PlateCreationTableNotePart({})".format(", ".join(fields))
@@ -46,6 +48,7 @@ class PlateCreationTableNotePart:
46
48
 
47
49
  columns.append(columns_item)
48
50
 
51
+ name = self._name
49
52
  indentation = self._indentation
50
53
 
51
54
  field_dict: Dict[str, Any] = {}
@@ -59,6 +62,8 @@ class PlateCreationTableNotePart:
59
62
  field_dict["apiId"] = api_id
60
63
  if columns is not UNSET:
61
64
  field_dict["columns"] = columns
65
+ if name is not UNSET:
66
+ field_dict["name"] = name
62
67
  if indentation is not UNSET:
63
68
  field_dict["indentation"] = indentation
64
69
 
@@ -125,6 +130,17 @@ class PlateCreationTableNotePart:
125
130
  raise
126
131
  columns = cast(Union[Unset, List[StructuredTableColumnInfo]], UNSET)
127
132
 
133
+ def get_name() -> Union[Unset, str]:
134
+ name = d.pop("name")
135
+ return name
136
+
137
+ try:
138
+ name = get_name()
139
+ except KeyError:
140
+ if strict:
141
+ raise
142
+ name = cast(Union[Unset, str], UNSET)
143
+
128
144
  def get_indentation() -> Union[Unset, int]:
129
145
  indentation = d.pop("indentation")
130
146
  return indentation
@@ -141,6 +157,7 @@ class PlateCreationTableNotePart:
141
157
  type=type,
142
158
  api_id=api_id,
143
159
  columns=columns,
160
+ name=name,
144
161
  indentation=indentation,
145
162
  )
146
163
 
@@ -222,6 +239,20 @@ class PlateCreationTableNotePart:
222
239
  def columns(self) -> None:
223
240
  self._columns = UNSET
224
241
 
242
+ @property
243
+ def name(self) -> str:
244
+ if isinstance(self._name, Unset):
245
+ raise NotPresentError(self, "name")
246
+ return self._name
247
+
248
+ @name.setter
249
+ def name(self, value: str) -> None:
250
+ self._name = value
251
+
252
+ @name.deleter
253
+ def name(self) -> None:
254
+ self._name = UNSET
255
+
225
256
  @property
226
257
  def indentation(self) -> int:
227
258
  """ All notes have an indentation level - the default is 0 for no indent. For lists, indentation gives notes hierarchy - a bulleted list with children is modeled as one note part with indentation 1 followed by note parts with indentation 2, for example. """
@@ -18,6 +18,7 @@ class RegistrationTableNotePart:
18
18
  _type: Union[Unset, RegistrationTableNotePartType] = UNSET
19
19
  _api_id: Union[Unset, str] = UNSET
20
20
  _columns: Union[Unset, List[StructuredTableColumnInfo]] = UNSET
21
+ _name: Union[Unset, str] = UNSET
21
22
  _indentation: Union[Unset, int] = 0
22
23
  additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict)
23
24
 
@@ -27,6 +28,7 @@ class RegistrationTableNotePart:
27
28
  fields.append("type={}".format(repr(self._type)))
28
29
  fields.append("api_id={}".format(repr(self._api_id)))
29
30
  fields.append("columns={}".format(repr(self._columns)))
31
+ fields.append("name={}".format(repr(self._name)))
30
32
  fields.append("indentation={}".format(repr(self._indentation)))
31
33
  fields.append("additional_properties={}".format(repr(self.additional_properties)))
32
34
  return "RegistrationTableNotePart({})".format(", ".join(fields))
@@ -46,6 +48,7 @@ class RegistrationTableNotePart:
46
48
 
47
49
  columns.append(columns_item)
48
50
 
51
+ name = self._name
49
52
  indentation = self._indentation
50
53
 
51
54
  field_dict: Dict[str, Any] = {}
@@ -59,6 +62,8 @@ class RegistrationTableNotePart:
59
62
  field_dict["apiId"] = api_id
60
63
  if columns is not UNSET:
61
64
  field_dict["columns"] = columns
65
+ if name is not UNSET:
66
+ field_dict["name"] = name
62
67
  if indentation is not UNSET:
63
68
  field_dict["indentation"] = indentation
64
69
 
@@ -125,6 +130,17 @@ class RegistrationTableNotePart:
125
130
  raise
126
131
  columns = cast(Union[Unset, List[StructuredTableColumnInfo]], UNSET)
127
132
 
133
+ def get_name() -> Union[Unset, str]:
134
+ name = d.pop("name")
135
+ return name
136
+
137
+ try:
138
+ name = get_name()
139
+ except KeyError:
140
+ if strict:
141
+ raise
142
+ name = cast(Union[Unset, str], UNSET)
143
+
128
144
  def get_indentation() -> Union[Unset, int]:
129
145
  indentation = d.pop("indentation")
130
146
  return indentation
@@ -141,6 +157,7 @@ class RegistrationTableNotePart:
141
157
  type=type,
142
158
  api_id=api_id,
143
159
  columns=columns,
160
+ name=name,
144
161
  indentation=indentation,
145
162
  )
146
163
 
@@ -222,6 +239,20 @@ class RegistrationTableNotePart:
222
239
  def columns(self) -> None:
223
240
  self._columns = UNSET
224
241
 
242
+ @property
243
+ def name(self) -> str:
244
+ if isinstance(self._name, Unset):
245
+ raise NotPresentError(self, "name")
246
+ return self._name
247
+
248
+ @name.setter
249
+ def name(self, value: str) -> None:
250
+ self._name = value
251
+
252
+ @name.deleter
253
+ def name(self) -> None:
254
+ self._name = UNSET
255
+
225
256
  @property
226
257
  def indentation(self) -> int:
227
258
  """ All notes have an indentation level - the default is 0 for no indent. For lists, indentation gives notes hierarchy - a bulleted list with children is modeled as one note part with indentation 1 followed by note parts with indentation 2, for example. """