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.
- benchling_api_client/models/box_creation_table_note_part.py +31 -0
- benchling_api_client/models/inventory_container_table_note_part.py +31 -0
- benchling_api_client/models/inventory_plate_table_note_part.py +31 -0
- benchling_api_client/models/lookup_table_note_part.py +32 -0
- benchling_api_client/models/mixture_prep_table_note_part.py +31 -0
- benchling_api_client/models/plate_creation_table_note_part.py +31 -0
- benchling_api_client/models/registration_table_note_part.py +31 -0
- benchling_api_client/models/results_table_note_part.py +31 -0
- benchling_api_client/models/structured_table_api_identifiers.py +32 -0
- benchling_api_client/v2/alpha/models/box_creation_table_note_part.py +31 -0
- benchling_api_client/v2/alpha/models/inventory_container_table_note_part.py +31 -0
- benchling_api_client/v2/alpha/models/inventory_plate_table_note_part.py +31 -0
- benchling_api_client/v2/alpha/models/lookup_table_note_part.py +32 -0
- benchling_api_client/v2/alpha/models/mixture_prep_table_note_part.py +31 -0
- benchling_api_client/v2/alpha/models/plate_creation_table_note_part.py +31 -0
- benchling_api_client/v2/alpha/models/registration_table_note_part.py +31 -0
- benchling_api_client/v2/alpha/models/results_table_note_part.py +31 -0
- benchling_api_client/v2/alpha/models/structured_table_api_identifiers.py +32 -0
- benchling_api_client/v2/alpha/openapi.yaml +2 -0
- benchling_api_client/v2/beta/models/box_creation_table_note_part.py +31 -0
- benchling_api_client/v2/beta/models/entry_beta_review_record.py +49 -0
- benchling_api_client/v2/beta/models/entry_review_process.py +252 -0
- benchling_api_client/v2/beta/models/entry_review_process_completion_status.py +27 -0
- benchling_api_client/v2/beta/models/entry_review_process_stages_item.py +211 -0
- benchling_api_client/v2/beta/models/entry_review_process_stages_item_action_label.py +27 -0
- benchling_api_client/v2/beta/models/entry_review_process_stages_item_reviewers_item.py +195 -0
- benchling_api_client/v2/beta/models/entry_review_process_stages_item_reviewers_item_status.py +25 -0
- benchling_api_client/v2/beta/models/entry_review_process_type.py +22 -0
- benchling_api_client/v2/beta/models/inventory_container_table_note_part.py +31 -0
- benchling_api_client/v2/beta/models/inventory_plate_table_note_part.py +31 -0
- benchling_api_client/v2/beta/models/lookup_table_note_part.py +32 -0
- benchling_api_client/v2/beta/models/mixture_prep_table_note_part.py +31 -0
- benchling_api_client/v2/beta/models/plate_creation_table_note_part.py +31 -0
- benchling_api_client/v2/beta/models/registration_table_note_part.py +31 -0
- benchling_api_client/v2/beta/models/results_table_note_part.py +31 -0
- benchling_api_client/v2/beta/models/structured_table_api_identifiers.py +32 -0
- benchling_api_client/v2/beta/models/worksheet_review_changes_review_record.py +49 -0
- benchling_api_client/v2/beta/openapi.yaml +78 -0
- benchling_api_client/v2/stable/models/box_creation_table_note_part.py +31 -0
- benchling_api_client/v2/stable/models/inventory_container_table_note_part.py +31 -0
- benchling_api_client/v2/stable/models/inventory_plate_table_note_part.py +31 -0
- benchling_api_client/v2/stable/models/lookup_table_note_part.py +32 -0
- benchling_api_client/v2/stable/models/mixture_prep_table_note_part.py +31 -0
- benchling_api_client/v2/stable/models/plate_creation_table_note_part.py +31 -0
- benchling_api_client/v2/stable/models/registration_table_note_part.py +31 -0
- benchling_api_client/v2/stable/models/results_table_note_part.py +31 -0
- benchling_api_client/v2/stable/models/structured_table_api_identifiers.py +32 -0
- benchling_api_client/v2/stable/openapi.yaml +2 -0
- {benchling_api_client-2.0.418.dist-info → benchling_api_client-2.0.420.dist-info}/METADATA +1 -1
- {benchling_api_client-2.0.418.dist-info → benchling_api_client-2.0.420.dist-info}/RECORD +52 -45
- {benchling_api_client-2.0.418.dist-info → benchling_api_client-2.0.420.dist-info}/LICENSE +0 -0
- {benchling_api_client-2.0.418.dist-info → benchling_api_client-2.0.420.dist-info}/WHEEL +0 -0
|
@@ -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. """
|
|
@@ -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
|
|
@@ -33684,6 +33684,8 @@ components:
|
|
|
33684
33684
|
items:
|
|
33685
33685
|
$ref: '#/components/schemas/StructuredTableColumnInfo'
|
|
33686
33686
|
type: array
|
|
33687
|
+
name:
|
|
33688
|
+
type: string
|
|
33687
33689
|
type: object
|
|
33688
33690
|
StructuredTableColumnInfo:
|
|
33689
33691
|
properties:
|