benchling-api-client 2.0.418__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 (52) 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/entry_beta_review_record.py +49 -0
  22. benchling_api_client/v2/beta/models/entry_review_process.py +252 -0
  23. benchling_api_client/v2/beta/models/entry_review_process_completion_status.py +27 -0
  24. benchling_api_client/v2/beta/models/entry_review_process_stages_item.py +211 -0
  25. benchling_api_client/v2/beta/models/entry_review_process_stages_item_action_label.py +27 -0
  26. benchling_api_client/v2/beta/models/entry_review_process_stages_item_reviewers_item.py +195 -0
  27. benchling_api_client/v2/beta/models/entry_review_process_stages_item_reviewers_item_status.py +25 -0
  28. benchling_api_client/v2/beta/models/entry_review_process_type.py +22 -0
  29. benchling_api_client/v2/beta/models/inventory_container_table_note_part.py +31 -0
  30. benchling_api_client/v2/beta/models/inventory_plate_table_note_part.py +31 -0
  31. benchling_api_client/v2/beta/models/lookup_table_note_part.py +32 -0
  32. benchling_api_client/v2/beta/models/mixture_prep_table_note_part.py +31 -0
  33. benchling_api_client/v2/beta/models/plate_creation_table_note_part.py +31 -0
  34. benchling_api_client/v2/beta/models/registration_table_note_part.py +31 -0
  35. benchling_api_client/v2/beta/models/results_table_note_part.py +31 -0
  36. benchling_api_client/v2/beta/models/structured_table_api_identifiers.py +32 -0
  37. benchling_api_client/v2/beta/models/worksheet_review_changes_review_record.py +49 -0
  38. benchling_api_client/v2/beta/openapi.yaml +78 -0
  39. benchling_api_client/v2/stable/models/box_creation_table_note_part.py +31 -0
  40. benchling_api_client/v2/stable/models/inventory_container_table_note_part.py +31 -0
  41. benchling_api_client/v2/stable/models/inventory_plate_table_note_part.py +31 -0
  42. benchling_api_client/v2/stable/models/lookup_table_note_part.py +32 -0
  43. benchling_api_client/v2/stable/models/mixture_prep_table_note_part.py +31 -0
  44. benchling_api_client/v2/stable/models/plate_creation_table_note_part.py +31 -0
  45. benchling_api_client/v2/stable/models/registration_table_note_part.py +31 -0
  46. benchling_api_client/v2/stable/models/results_table_note_part.py +31 -0
  47. benchling_api_client/v2/stable/models/structured_table_api_identifiers.py +32 -0
  48. benchling_api_client/v2/stable/openapi.yaml +2 -0
  49. {benchling_api_client-2.0.418.dist-info → benchling_api_client-2.0.420.dist-info}/METADATA +1 -1
  50. {benchling_api_client-2.0.418.dist-info → benchling_api_client-2.0.420.dist-info}/RECORD +52 -45
  51. {benchling_api_client-2.0.418.dist-info → benchling_api_client-2.0.420.dist-info}/LICENSE +0 -0
  52. {benchling_api_client-2.0.418.dist-info → benchling_api_client-2.0.420.dist-info}/WHEEL +0 -0
@@ -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."""
@@ -18,6 +18,7 @@ class ResultsTableNotePart:
18
18
  _type: Union[Unset, ResultsTableNotePartType] = 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 ResultsTableNotePart:
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 "ResultsTableNotePart({})".format(", ".join(fields))
@@ -46,6 +48,7 @@ class ResultsTableNotePart:
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 ResultsTableNotePart:
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 ResultsTableNotePart:
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 ResultsTableNotePart:
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 ResultsTableNotePart:
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."""
@@ -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
@@ -3,6 +3,7 @@ from typing import Any, cast, Dict, List, Optional, Type, TypeVar, Union
3
3
  import attr
4
4
 
5
5
  from ..extensions import NotPresentError
6
+ from ..models.entry_review_process import EntryReviewProcess
6
7
  from ..models.review_change import ReviewChange
7
8
  from ..models.worksheet_review_changes_review_record_status import WorksheetReviewChangesReviewRecordStatus
8
9
  from ..types import UNSET, Unset
@@ -16,6 +17,7 @@ class WorksheetReviewChangesReviewRecord:
16
17
 
17
18
  _comment: Union[Unset, str] = UNSET
18
19
  _review_changes: Union[Unset, List[ReviewChange]] = UNSET
20
+ _review_processes: Union[Unset, None, List[EntryReviewProcess]] = UNSET
19
21
  _status: Union[Unset, WorksheetReviewChangesReviewRecordStatus] = UNSET
20
22
  additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict)
21
23
 
@@ -23,6 +25,7 @@ class WorksheetReviewChangesReviewRecord:
23
25
  fields = []
24
26
  fields.append("comment={}".format(repr(self._comment)))
25
27
  fields.append("review_changes={}".format(repr(self._review_changes)))
28
+ fields.append("review_processes={}".format(repr(self._review_processes)))
26
29
  fields.append("status={}".format(repr(self._status)))
27
30
  fields.append("additional_properties={}".format(repr(self.additional_properties)))
28
31
  return "WorksheetReviewChangesReviewRecord({})".format(", ".join(fields))
@@ -37,6 +40,17 @@ class WorksheetReviewChangesReviewRecord:
37
40
 
38
41
  review_changes.append(review_changes_item)
39
42
 
43
+ review_processes: Union[Unset, None, List[Any]] = UNSET
44
+ if not isinstance(self._review_processes, Unset):
45
+ if self._review_processes is None:
46
+ review_processes = None
47
+ else:
48
+ review_processes = []
49
+ for review_processes_item_data in self._review_processes:
50
+ review_processes_item = review_processes_item_data.to_dict()
51
+
52
+ review_processes.append(review_processes_item)
53
+
40
54
  status: Union[Unset, int] = UNSET
41
55
  if not isinstance(self._status, Unset):
42
56
  status = self._status.value
@@ -48,6 +62,8 @@ class WorksheetReviewChangesReviewRecord:
48
62
  field_dict["comment"] = comment
49
63
  if review_changes is not UNSET:
50
64
  field_dict["reviewChanges"] = review_changes
65
+ if review_processes is not UNSET:
66
+ field_dict["reviewProcesses"] = review_processes
51
67
  if status is not UNSET:
52
68
  field_dict["status"] = status
53
69
 
@@ -85,6 +101,23 @@ class WorksheetReviewChangesReviewRecord:
85
101
  raise
86
102
  review_changes = cast(Union[Unset, List[ReviewChange]], UNSET)
87
103
 
104
+ def get_review_processes() -> Union[Unset, None, List[EntryReviewProcess]]:
105
+ review_processes = []
106
+ _review_processes = d.pop("reviewProcesses")
107
+ for review_processes_item_data in _review_processes or []:
108
+ review_processes_item = EntryReviewProcess.from_dict(review_processes_item_data, strict=False)
109
+
110
+ review_processes.append(review_processes_item)
111
+
112
+ return review_processes
113
+
114
+ try:
115
+ review_processes = get_review_processes()
116
+ except KeyError:
117
+ if strict:
118
+ raise
119
+ review_processes = cast(Union[Unset, None, List[EntryReviewProcess]], UNSET)
120
+
88
121
  def get_status() -> Union[Unset, WorksheetReviewChangesReviewRecordStatus]:
89
122
  status = UNSET
90
123
  _status = d.pop("status")
@@ -106,6 +139,7 @@ class WorksheetReviewChangesReviewRecord:
106
139
  worksheet_review_changes_review_record = cls(
107
140
  comment=comment,
108
141
  review_changes=review_changes,
142
+ review_processes=review_processes,
109
143
  status=status,
110
144
  )
111
145
 
@@ -161,6 +195,21 @@ class WorksheetReviewChangesReviewRecord:
161
195
  def review_changes(self) -> None:
162
196
  self._review_changes = UNSET
163
197
 
198
+ @property
199
+ def review_processes(self) -> Optional[List[EntryReviewProcess]]:
200
+ """ Review Processes associated with the Worksheet """
201
+ if isinstance(self._review_processes, Unset):
202
+ raise NotPresentError(self, "review_processes")
203
+ return self._review_processes
204
+
205
+ @review_processes.setter
206
+ def review_processes(self, value: Optional[List[EntryReviewProcess]]) -> None:
207
+ self._review_processes = value
208
+
209
+ @review_processes.deleter
210
+ def review_processes(self) -> None:
211
+ self._review_processes = UNSET
212
+
164
213
  @property
165
214
  def status(self) -> WorksheetReviewChangesReviewRecordStatus:
166
215
  """ Review Status of the worksheet """
@@ -5046,6 +5046,12 @@ components:
5046
5046
  items:
5047
5047
  $ref: '#/components/schemas/ReviewChange'
5048
5048
  type: array
5049
+ reviewProcesses:
5050
+ description: Review Processes associated with the Entry
5051
+ items:
5052
+ $ref: '#/components/schemas/EntryReviewProcess'
5053
+ nullable: true
5054
+ type: array
5049
5055
  status:
5050
5056
  description: Review Status of the entry
5051
5057
  enum:
@@ -5185,6 +5191,70 @@ components:
5185
5191
  - $ref: '#/components/schemas/ChartNotePart'
5186
5192
  - $ref: '#/components/schemas/AppCanvasNotePart'
5187
5193
  type: object
5194
+ EntryReviewProcess:
5195
+ properties:
5196
+ completionStatus:
5197
+ description: State of the Entry at the end of the Review Process
5198
+ enum:
5199
+ - APPROVED
5200
+ - COMPLETED
5201
+ - ACCEPTED
5202
+ - REVIEWED
5203
+ - WITNESSED
5204
+ - SELF_REVIEWED
5205
+ type: string
5206
+ id:
5207
+ description: ID of the Review Process
5208
+ type: string
5209
+ name:
5210
+ description: Name of the Review Process
5211
+ type: string
5212
+ stages:
5213
+ description: Array of Stages for the Review Process
5214
+ items:
5215
+ properties:
5216
+ actionLabel:
5217
+ description: Action reviewer is doing during the review
5218
+ enum:
5219
+ - APPROVE
5220
+ - COMPLETE
5221
+ - ACCEPT
5222
+ - REVIEW
5223
+ - WITNESS
5224
+ - SELF_REVIEW
5225
+ type: string
5226
+ id:
5227
+ description: ID of the Review Stage
5228
+ type: string
5229
+ name:
5230
+ description: Name of the Review Stage
5231
+ type: string
5232
+ reviewers:
5233
+ description: Reviewers for the Review Stage
5234
+ items:
5235
+ allOf:
5236
+ - $ref: '#/components/schemas/PartySummary'
5237
+ - properties:
5238
+ status:
5239
+ description: Status of the Reviewer
5240
+ enum:
5241
+ - BLOCKED
5242
+ - PENDING
5243
+ - FINISHED
5244
+ - REJECTED
5245
+ type: string
5246
+ type: object
5247
+ type: array
5248
+ type: object
5249
+ type: array
5250
+ type:
5251
+ description: Type of the Review Process
5252
+ enum:
5253
+ - SELF_REVIEW
5254
+ - SEQUENTIAL
5255
+ - PARALLEL
5256
+ type: string
5257
+ type: object
5188
5258
  EntrySchema:
5189
5259
  description: Entry schema
5190
5260
  properties:
@@ -7310,6 +7380,8 @@ components:
7310
7380
  items:
7311
7381
  $ref: '#/components/schemas/StructuredTableColumnInfo'
7312
7382
  type: array
7383
+ name:
7384
+ type: string
7313
7385
  type: object
7314
7386
  StructuredTableColumnInfo:
7315
7387
  properties:
@@ -7811,6 +7883,12 @@ components:
7811
7883
  items:
7812
7884
  $ref: '#/components/schemas/ReviewChange'
7813
7885
  type: array
7886
+ reviewProcesses:
7887
+ description: Review Processes associated with the Worksheet
7888
+ items:
7889
+ $ref: '#/components/schemas/EntryReviewProcess'
7890
+ nullable: true
7891
+ type: array
7814
7892
  status:
7815
7893
  description: Review Status of the worksheet
7816
7894
  enum:
@@ -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. """