benchling-api-client 2.0.411__py3-none-any.whl → 2.0.413__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 (49) hide show
  1. benchling_api_client/models/aa_sequence.py +32 -0
  2. benchling_api_client/models/aa_sequence_with_entity_type.py +32 -0
  3. benchling_api_client/models/benchling_app.py +4 -4
  4. benchling_api_client/models/box_schema.py +41 -0
  5. benchling_api_client/models/custom_entity.py +32 -0
  6. benchling_api_client/models/custom_entity_with_entity_type.py +32 -0
  7. benchling_api_client/models/dna_sequence.py +68 -0
  8. benchling_api_client/models/dna_sequence_with_entity_type.py +68 -0
  9. benchling_api_client/models/entry_schema_detailed.py +41 -0
  10. benchling_api_client/models/location_schema.py +41 -0
  11. benchling_api_client/models/monomer.py +32 -0
  12. benchling_api_client/models/plate_schema.py +41 -0
  13. benchling_api_client/models/request_response_samples_item_entity.py +68 -0
  14. benchling_api_client/models/rna_sequence.py +68 -0
  15. benchling_api_client/models/workflow_output.py +40 -0
  16. benchling_api_client/models/workflow_task.py +87 -0
  17. benchling_api_client/models/workflow_task_base.py +40 -0
  18. benchling_api_client/models/workflow_task_group.py +87 -0
  19. benchling_api_client/models/workflow_task_group_base.py +40 -0
  20. benchling_api_client/models/workflow_task_schema.py +41 -0
  21. benchling_api_client/v2/beta/models/aa_sequence.py +32 -0
  22. benchling_api_client/v2/beta/models/custom_entity.py +32 -0
  23. benchling_api_client/v2/beta/models/dna_sequence.py +68 -0
  24. benchling_api_client/v2/beta/openapi.yaml +14 -0
  25. benchling_api_client/v2/stable/models/aa_sequence.py +32 -0
  26. benchling_api_client/v2/stable/models/aa_sequence_with_entity_type.py +32 -0
  27. benchling_api_client/v2/stable/models/benchling_app.py +4 -4
  28. benchling_api_client/v2/stable/models/box_schema.py +41 -0
  29. benchling_api_client/v2/stable/models/custom_entity.py +32 -0
  30. benchling_api_client/v2/stable/models/custom_entity_with_entity_type.py +32 -0
  31. benchling_api_client/v2/stable/models/dna_sequence.py +68 -0
  32. benchling_api_client/v2/stable/models/dna_sequence_with_entity_type.py +68 -0
  33. benchling_api_client/v2/stable/models/entry_schema_detailed.py +41 -0
  34. benchling_api_client/v2/stable/models/location_schema.py +41 -0
  35. benchling_api_client/v2/stable/models/monomer.py +32 -0
  36. benchling_api_client/v2/stable/models/plate_schema.py +41 -0
  37. benchling_api_client/v2/stable/models/request_response_samples_item_entity.py +68 -0
  38. benchling_api_client/v2/stable/models/rna_sequence.py +68 -0
  39. benchling_api_client/v2/stable/models/workflow_output.py +40 -0
  40. benchling_api_client/v2/stable/models/workflow_task.py +87 -0
  41. benchling_api_client/v2/stable/models/workflow_task_base.py +40 -0
  42. benchling_api_client/v2/stable/models/workflow_task_group.py +87 -0
  43. benchling_api_client/v2/stable/models/workflow_task_group_base.py +40 -0
  44. benchling_api_client/v2/stable/models/workflow_task_schema.py +41 -0
  45. benchling_api_client/v2/stable/openapi.yaml +78 -2
  46. {benchling_api_client-2.0.411.dist-info → benchling_api_client-2.0.413.dist-info}/METADATA +1 -1
  47. {benchling_api_client-2.0.411.dist-info → benchling_api_client-2.0.413.dist-info}/RECORD +49 -49
  48. {benchling_api_client-2.0.411.dist-info → benchling_api_client-2.0.413.dist-info}/LICENSE +0 -0
  49. {benchling_api_client-2.0.411.dist-info → benchling_api_client-2.0.413.dist-info}/WHEEL +0 -0
@@ -42,6 +42,7 @@ class AaSequenceWithEntityType:
42
42
  _registration_origin: Union[Unset, None, RegistrationOrigin] = UNSET
43
43
  _registry_id: Union[Unset, None, str] = UNSET
44
44
  _schema: Union[Unset, None, SchemaSummary] = UNSET
45
+ _url: Union[Unset, str] = UNSET
45
46
  _web_url: Union[Unset, str] = UNSET
46
47
  additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict)
47
48
 
@@ -67,6 +68,7 @@ class AaSequenceWithEntityType:
67
68
  fields.append("registration_origin={}".format(repr(self._registration_origin)))
68
69
  fields.append("registry_id={}".format(repr(self._registry_id)))
69
70
  fields.append("schema={}".format(repr(self._schema)))
71
+ fields.append("url={}".format(repr(self._url)))
70
72
  fields.append("web_url={}".format(repr(self._web_url)))
71
73
  fields.append("additional_properties={}".format(repr(self.additional_properties)))
72
74
  return "AaSequenceWithEntityType({})".format(", ".join(fields))
@@ -136,6 +138,7 @@ class AaSequenceWithEntityType:
136
138
  if not isinstance(self._schema, Unset):
137
139
  schema = self._schema.to_dict() if self._schema else None
138
140
 
141
+ url = self._url
139
142
  web_url = self._web_url
140
143
 
141
144
  field_dict: Dict[str, Any] = {}
@@ -181,6 +184,8 @@ class AaSequenceWithEntityType:
181
184
  field_dict["registryId"] = registry_id
182
185
  if schema is not UNSET:
183
186
  field_dict["schema"] = schema
187
+ if url is not UNSET:
188
+ field_dict["url"] = url
184
189
  if web_url is not UNSET:
185
190
  field_dict["webURL"] = web_url
186
191
 
@@ -468,6 +473,17 @@ class AaSequenceWithEntityType:
468
473
  raise
469
474
  schema = cast(Union[Unset, None, SchemaSummary], UNSET)
470
475
 
476
+ def get_url() -> Union[Unset, str]:
477
+ url = d.pop("url")
478
+ return url
479
+
480
+ try:
481
+ url = get_url()
482
+ except KeyError:
483
+ if strict:
484
+ raise
485
+ url = cast(Union[Unset, str], UNSET)
486
+
471
487
  def get_web_url() -> Union[Unset, str]:
472
488
  web_url = d.pop("webURL")
473
489
  return web_url
@@ -500,6 +516,7 @@ class AaSequenceWithEntityType:
500
516
  registration_origin=registration_origin,
501
517
  registry_id=registry_id,
502
518
  schema=schema,
519
+ url=url,
503
520
  web_url=web_url,
504
521
  )
505
522
 
@@ -817,6 +834,21 @@ class AaSequenceWithEntityType:
817
834
  def schema(self) -> None:
818
835
  self._schema = UNSET
819
836
 
837
+ @property
838
+ def url(self) -> str:
839
+ """ The path of the web URL, omitting the tenant domain """
840
+ if isinstance(self._url, Unset):
841
+ raise NotPresentError(self, "url")
842
+ return self._url
843
+
844
+ @url.setter
845
+ def url(self, value: str) -> None:
846
+ self._url = value
847
+
848
+ @url.deleter
849
+ def url(self) -> None:
850
+ self._url = UNSET
851
+
820
852
  @property
821
853
  def web_url(self) -> str:
822
854
  """ URL of the protein. """
@@ -72,7 +72,7 @@ class BenchlingApp:
72
72
  field_dict: Dict[str, Any] = {}
73
73
  # Allow the model to serialize even if it was created outside of the constructor, circumventing validation
74
74
  if api_url is not UNSET:
75
- field_dict["apiUrl"] = api_url
75
+ field_dict["apiURL"] = api_url
76
76
  if app_definition is not UNSET:
77
77
  field_dict["appDefinition"] = app_definition
78
78
  if archive_record is not UNSET:
@@ -86,7 +86,7 @@ class BenchlingApp:
86
86
  if modified_at is not UNSET:
87
87
  field_dict["modifiedAt"] = modified_at
88
88
  if web_url is not UNSET:
89
- field_dict["webUrl"] = web_url
89
+ field_dict["webURL"] = web_url
90
90
  if description is not UNSET:
91
91
  field_dict["description"] = description
92
92
  if name is not UNSET:
@@ -99,7 +99,7 @@ class BenchlingApp:
99
99
  d = src_dict.copy()
100
100
 
101
101
  def get_api_url() -> Union[Unset, str]:
102
- api_url = d.pop("apiUrl")
102
+ api_url = d.pop("apiURL")
103
103
  return api_url
104
104
 
105
105
  try:
@@ -199,7 +199,7 @@ class BenchlingApp:
199
199
  modified_at = cast(Union[Unset, datetime.datetime], UNSET)
200
200
 
201
201
  def get_web_url() -> Union[Unset, str]:
202
- web_url = d.pop("webUrl")
202
+ web_url = d.pop("webURL")
203
203
  return web_url
204
204
 
205
205
  try:
@@ -1,6 +1,8 @@
1
+ import datetime
1
2
  from typing import Any, cast, Dict, List, Optional, Type, TypeVar, Union
2
3
 
3
4
  import attr
5
+ from dateutil.parser import isoparse
4
6
 
5
7
  from ..extensions import NotPresentError, UnknownType
6
8
  from ..models.archive_record import ArchiveRecord
@@ -22,6 +24,7 @@ class BoxSchema:
22
24
 
23
25
  _container_schema: Union[Unset, None, BoxSchemaContainerSchema] = UNSET
24
26
  _height: Union[Unset, float] = UNSET
27
+ _modified_at: Union[Unset, datetime.datetime] = UNSET
25
28
  _type: Union[Unset, BoxSchemaType] = UNSET
26
29
  _width: Union[Unset, float] = UNSET
27
30
  _prefix: Union[Unset, str] = UNSET
@@ -48,6 +51,7 @@ class BoxSchema:
48
51
  fields = []
49
52
  fields.append("container_schema={}".format(repr(self._container_schema)))
50
53
  fields.append("height={}".format(repr(self._height)))
54
+ fields.append("modified_at={}".format(repr(self._modified_at)))
51
55
  fields.append("type={}".format(repr(self._type)))
52
56
  fields.append("width={}".format(repr(self._width)))
53
57
  fields.append("prefix={}".format(repr(self._prefix)))
@@ -65,6 +69,10 @@ class BoxSchema:
65
69
  container_schema = self._container_schema.to_dict() if self._container_schema else None
66
70
 
67
71
  height = self._height
72
+ modified_at: Union[Unset, str] = UNSET
73
+ if not isinstance(self._modified_at, Unset):
74
+ modified_at = self._modified_at.isoformat()
75
+
68
76
  type: Union[Unset, int] = UNSET
69
77
  if not isinstance(self._type, Unset):
70
78
  type = self._type.value
@@ -109,6 +117,8 @@ class BoxSchema:
109
117
  field_dict["containerSchema"] = container_schema
110
118
  if height is not UNSET:
111
119
  field_dict["height"] = height
120
+ if modified_at is not UNSET:
121
+ field_dict["modifiedAt"] = modified_at
112
122
  if type is not UNSET:
113
123
  field_dict["type"] = type
114
124
  if width is not UNSET:
@@ -159,6 +169,21 @@ class BoxSchema:
159
169
  raise
160
170
  height = cast(Union[Unset, float], UNSET)
161
171
 
172
+ def get_modified_at() -> Union[Unset, datetime.datetime]:
173
+ modified_at: Union[Unset, datetime.datetime] = UNSET
174
+ _modified_at = d.pop("modifiedAt")
175
+ if _modified_at is not None and not isinstance(_modified_at, Unset):
176
+ modified_at = isoparse(cast(str, _modified_at))
177
+
178
+ return modified_at
179
+
180
+ try:
181
+ modified_at = get_modified_at()
182
+ except KeyError:
183
+ if strict:
184
+ raise
185
+ modified_at = cast(Union[Unset, datetime.datetime], UNSET)
186
+
162
187
  def get_type() -> Union[Unset, BoxSchemaType]:
163
188
  type = UNSET
164
189
  _type = d.pop("type")
@@ -356,6 +381,7 @@ class BoxSchema:
356
381
  box_schema = cls(
357
382
  container_schema=container_schema,
358
383
  height=height,
384
+ modified_at=modified_at,
359
385
  type=type,
360
386
  width=width,
361
387
  prefix=prefix,
@@ -416,6 +442,21 @@ class BoxSchema:
416
442
  def height(self) -> None:
417
443
  self._height = UNSET
418
444
 
445
+ @property
446
+ def modified_at(self) -> datetime.datetime:
447
+ """ DateTime the Box Schema was last modified """
448
+ if isinstance(self._modified_at, Unset):
449
+ raise NotPresentError(self, "modified_at")
450
+ return self._modified_at
451
+
452
+ @modified_at.setter
453
+ def modified_at(self, value: datetime.datetime) -> None:
454
+ self._modified_at = value
455
+
456
+ @modified_at.deleter
457
+ def modified_at(self) -> None:
458
+ self._modified_at = UNSET
459
+
419
460
  @property
420
461
  def type(self) -> BoxSchemaType:
421
462
  if isinstance(self._type, Unset):
@@ -37,6 +37,7 @@ class CustomEntity:
37
37
  _registration_origin: Union[Unset, None, RegistrationOrigin] = UNSET
38
38
  _registry_id: Union[Unset, None, str] = UNSET
39
39
  _schema: Union[Unset, None, SchemaSummary] = UNSET
40
+ _url: Union[Unset, str] = UNSET
40
41
  _web_url: Union[Unset, str] = UNSET
41
42
  additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict)
42
43
 
@@ -58,6 +59,7 @@ class CustomEntity:
58
59
  fields.append("registration_origin={}".format(repr(self._registration_origin)))
59
60
  fields.append("registry_id={}".format(repr(self._registry_id)))
60
61
  fields.append("schema={}".format(repr(self._schema)))
62
+ fields.append("url={}".format(repr(self._url)))
61
63
  fields.append("web_url={}".format(repr(self._web_url)))
62
64
  fields.append("additional_properties={}".format(repr(self.additional_properties)))
63
65
  return "CustomEntity({})".format(", ".join(fields))
@@ -113,6 +115,7 @@ class CustomEntity:
113
115
  if not isinstance(self._schema, Unset):
114
116
  schema = self._schema.to_dict() if self._schema else None
115
117
 
118
+ url = self._url
116
119
  web_url = self._web_url
117
120
 
118
121
  field_dict: Dict[str, Any] = {}
@@ -150,6 +153,8 @@ class CustomEntity:
150
153
  field_dict["registryId"] = registry_id
151
154
  if schema is not UNSET:
152
155
  field_dict["schema"] = schema
156
+ if url is not UNSET:
157
+ field_dict["url"] = url
153
158
  if web_url is not UNSET:
154
159
  field_dict["webURL"] = web_url
155
160
 
@@ -380,6 +385,17 @@ class CustomEntity:
380
385
  raise
381
386
  schema = cast(Union[Unset, None, SchemaSummary], UNSET)
382
387
 
388
+ def get_url() -> Union[Unset, str]:
389
+ url = d.pop("url")
390
+ return url
391
+
392
+ try:
393
+ url = get_url()
394
+ except KeyError:
395
+ if strict:
396
+ raise
397
+ url = cast(Union[Unset, str], UNSET)
398
+
383
399
  def get_web_url() -> Union[Unset, str]:
384
400
  web_url = d.pop("webURL")
385
401
  return web_url
@@ -408,6 +424,7 @@ class CustomEntity:
408
424
  registration_origin=registration_origin,
409
425
  registry_id=registry_id,
410
426
  schema=schema,
427
+ url=url,
411
428
  web_url=web_url,
412
429
  )
413
430
 
@@ -658,6 +675,21 @@ class CustomEntity:
658
675
  def schema(self) -> None:
659
676
  self._schema = UNSET
660
677
 
678
+ @property
679
+ def url(self) -> str:
680
+ """ The path of the web URL, omitting the tenant domain """
681
+ if isinstance(self._url, Unset):
682
+ raise NotPresentError(self, "url")
683
+ return self._url
684
+
685
+ @url.setter
686
+ def url(self, value: str) -> None:
687
+ self._url = value
688
+
689
+ @url.deleter
690
+ def url(self) -> None:
691
+ self._url = UNSET
692
+
661
693
  @property
662
694
  def web_url(self) -> str:
663
695
  if isinstance(self._web_url, Unset):
@@ -39,6 +39,7 @@ class CustomEntityWithEntityType:
39
39
  _registration_origin: Union[Unset, None, RegistrationOrigin] = UNSET
40
40
  _registry_id: Union[Unset, None, str] = UNSET
41
41
  _schema: Union[Unset, None, SchemaSummary] = UNSET
42
+ _url: Union[Unset, str] = UNSET
42
43
  _web_url: Union[Unset, str] = UNSET
43
44
  additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict)
44
45
 
@@ -61,6 +62,7 @@ class CustomEntityWithEntityType:
61
62
  fields.append("registration_origin={}".format(repr(self._registration_origin)))
62
63
  fields.append("registry_id={}".format(repr(self._registry_id)))
63
64
  fields.append("schema={}".format(repr(self._schema)))
65
+ fields.append("url={}".format(repr(self._url)))
64
66
  fields.append("web_url={}".format(repr(self._web_url)))
65
67
  fields.append("additional_properties={}".format(repr(self.additional_properties)))
66
68
  return "CustomEntityWithEntityType({})".format(", ".join(fields))
@@ -120,6 +122,7 @@ class CustomEntityWithEntityType:
120
122
  if not isinstance(self._schema, Unset):
121
123
  schema = self._schema.to_dict() if self._schema else None
122
124
 
125
+ url = self._url
123
126
  web_url = self._web_url
124
127
 
125
128
  field_dict: Dict[str, Any] = {}
@@ -159,6 +162,8 @@ class CustomEntityWithEntityType:
159
162
  field_dict["registryId"] = registry_id
160
163
  if schema is not UNSET:
161
164
  field_dict["schema"] = schema
165
+ if url is not UNSET:
166
+ field_dict["url"] = url
162
167
  if web_url is not UNSET:
163
168
  field_dict["webURL"] = web_url
164
169
 
@@ -407,6 +412,17 @@ class CustomEntityWithEntityType:
407
412
  raise
408
413
  schema = cast(Union[Unset, None, SchemaSummary], UNSET)
409
414
 
415
+ def get_url() -> Union[Unset, str]:
416
+ url = d.pop("url")
417
+ return url
418
+
419
+ try:
420
+ url = get_url()
421
+ except KeyError:
422
+ if strict:
423
+ raise
424
+ url = cast(Union[Unset, str], UNSET)
425
+
410
426
  def get_web_url() -> Union[Unset, str]:
411
427
  web_url = d.pop("webURL")
412
428
  return web_url
@@ -436,6 +452,7 @@ class CustomEntityWithEntityType:
436
452
  registration_origin=registration_origin,
437
453
  registry_id=registry_id,
438
454
  schema=schema,
455
+ url=url,
439
456
  web_url=web_url,
440
457
  )
441
458
 
@@ -700,6 +717,21 @@ class CustomEntityWithEntityType:
700
717
  def schema(self) -> None:
701
718
  self._schema = UNSET
702
719
 
720
+ @property
721
+ def url(self) -> str:
722
+ """ The path of the web URL, omitting the tenant domain """
723
+ if isinstance(self._url, Unset):
724
+ raise NotPresentError(self, "url")
725
+ return self._url
726
+
727
+ @url.setter
728
+ def url(self, value: str) -> None:
729
+ self._url = value
730
+
731
+ @url.deleter
732
+ def url(self) -> None:
733
+ self._url = UNSET
734
+
703
735
  @property
704
736
  def web_url(self) -> str:
705
737
  if isinstance(self._web_url, Unset):
@@ -34,6 +34,7 @@ class DnaSequence:
34
34
  _created_at: Union[Unset, datetime.datetime] = UNSET
35
35
  _creator: Union[Unset, UserSummary] = UNSET
36
36
  _custom_fields: Union[Unset, CustomFields] = UNSET
37
+ _dna_alignment_ids: Union[Unset, List[str]] = UNSET
37
38
  _entity_registry_id: Union[Unset, None, str] = UNSET
38
39
  _fields: Union[Unset, Fields] = UNSET
39
40
  _folder_id: Union[Unset, None, str] = UNSET
@@ -49,6 +50,7 @@ class DnaSequence:
49
50
  _schema: Union[Unset, None, SchemaSummary] = UNSET
50
51
  _transcriptions: Union[Unset, List[DnaSequenceTranscription]] = UNSET
51
52
  _translations: Union[Unset, List[Translation]] = UNSET
53
+ _url: Union[Unset, str] = UNSET
52
54
  _web_url: Union[Unset, str] = UNSET
53
55
  additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict)
54
56
 
@@ -63,6 +65,7 @@ class DnaSequence:
63
65
  fields.append("created_at={}".format(repr(self._created_at)))
64
66
  fields.append("creator={}".format(repr(self._creator)))
65
67
  fields.append("custom_fields={}".format(repr(self._custom_fields)))
68
+ fields.append("dna_alignment_ids={}".format(repr(self._dna_alignment_ids)))
66
69
  fields.append("entity_registry_id={}".format(repr(self._entity_registry_id)))
67
70
  fields.append("fields={}".format(repr(self._fields)))
68
71
  fields.append("folder_id={}".format(repr(self._folder_id)))
@@ -78,6 +81,7 @@ class DnaSequence:
78
81
  fields.append("schema={}".format(repr(self._schema)))
79
82
  fields.append("transcriptions={}".format(repr(self._transcriptions)))
80
83
  fields.append("translations={}".format(repr(self._translations)))
84
+ fields.append("url={}".format(repr(self._url)))
81
85
  fields.append("web_url={}".format(repr(self._web_url)))
82
86
  fields.append("additional_properties={}".format(repr(self.additional_properties)))
83
87
  return "DnaSequence({})".format(", ".join(fields))
@@ -121,6 +125,10 @@ class DnaSequence:
121
125
  if not isinstance(self._custom_fields, Unset):
122
126
  custom_fields = self._custom_fields.to_dict()
123
127
 
128
+ dna_alignment_ids: Union[Unset, List[Any]] = UNSET
129
+ if not isinstance(self._dna_alignment_ids, Unset):
130
+ dna_alignment_ids = self._dna_alignment_ids
131
+
124
132
  entity_registry_id = self._entity_registry_id
125
133
  fields: Union[Unset, Dict[str, Any]] = UNSET
126
134
  if not isinstance(self._fields, Unset):
@@ -176,6 +184,7 @@ class DnaSequence:
176
184
 
177
185
  translations.append(translations_item)
178
186
 
187
+ url = self._url
179
188
  web_url = self._web_url
180
189
 
181
190
  field_dict: Dict[str, Any] = {}
@@ -199,6 +208,8 @@ class DnaSequence:
199
208
  field_dict["creator"] = creator
200
209
  if custom_fields is not UNSET:
201
210
  field_dict["customFields"] = custom_fields
211
+ if dna_alignment_ids is not UNSET:
212
+ field_dict["dnaAlignmentIds"] = dna_alignment_ids
202
213
  if entity_registry_id is not UNSET:
203
214
  field_dict["entityRegistryId"] = entity_registry_id
204
215
  if fields is not UNSET:
@@ -229,6 +240,8 @@ class DnaSequence:
229
240
  field_dict["transcriptions"] = transcriptions
230
241
  if translations is not UNSET:
231
242
  field_dict["translations"] = translations
243
+ if url is not UNSET:
244
+ field_dict["url"] = url
232
245
  if web_url is not UNSET:
233
246
  field_dict["webURL"] = web_url
234
247
 
@@ -369,6 +382,18 @@ class DnaSequence:
369
382
  raise
370
383
  custom_fields = cast(Union[Unset, CustomFields], UNSET)
371
384
 
385
+ def get_dna_alignment_ids() -> Union[Unset, List[str]]:
386
+ dna_alignment_ids = cast(List[str], d.pop("dnaAlignmentIds"))
387
+
388
+ return dna_alignment_ids
389
+
390
+ try:
391
+ dna_alignment_ids = get_dna_alignment_ids()
392
+ except KeyError:
393
+ if strict:
394
+ raise
395
+ dna_alignment_ids = cast(Union[Unset, List[str]], UNSET)
396
+
372
397
  def get_entity_registry_id() -> Union[Unset, None, str]:
373
398
  entity_registry_id = d.pop("entityRegistryId")
374
399
  return entity_registry_id
@@ -579,6 +604,17 @@ class DnaSequence:
579
604
  raise
580
605
  translations = cast(Union[Unset, List[Translation]], UNSET)
581
606
 
607
+ def get_url() -> Union[Unset, str]:
608
+ url = d.pop("url")
609
+ return url
610
+
611
+ try:
612
+ url = get_url()
613
+ except KeyError:
614
+ if strict:
615
+ raise
616
+ url = cast(Union[Unset, str], UNSET)
617
+
582
618
  def get_web_url() -> Union[Unset, str]:
583
619
  web_url = d.pop("webURL")
584
620
  return web_url
@@ -600,6 +636,7 @@ class DnaSequence:
600
636
  created_at=created_at,
601
637
  creator=creator,
602
638
  custom_fields=custom_fields,
639
+ dna_alignment_ids=dna_alignment_ids,
603
640
  entity_registry_id=entity_registry_id,
604
641
  fields=fields,
605
642
  folder_id=folder_id,
@@ -615,6 +652,7 @@ class DnaSequence:
615
652
  schema=schema,
616
653
  transcriptions=transcriptions,
617
654
  translations=translations,
655
+ url=url,
618
656
  web_url=web_url,
619
657
  )
620
658
 
@@ -767,6 +805,21 @@ class DnaSequence:
767
805
  def custom_fields(self) -> None:
768
806
  self._custom_fields = UNSET
769
807
 
808
+ @property
809
+ def dna_alignment_ids(self) -> List[str]:
810
+ """ API IDs of Nucleotide Alignments involving the RNA sequence """
811
+ if isinstance(self._dna_alignment_ids, Unset):
812
+ raise NotPresentError(self, "dna_alignment_ids")
813
+ return self._dna_alignment_ids
814
+
815
+ @dna_alignment_ids.setter
816
+ def dna_alignment_ids(self, value: List[str]) -> None:
817
+ self._dna_alignment_ids = value
818
+
819
+ @dna_alignment_ids.deleter
820
+ def dna_alignment_ids(self) -> None:
821
+ self._dna_alignment_ids = UNSET
822
+
770
823
  @property
771
824
  def entity_registry_id(self) -> Optional[str]:
772
825
  if isinstance(self._entity_registry_id, Unset):
@@ -977,6 +1030,21 @@ class DnaSequence:
977
1030
  def translations(self) -> None:
978
1031
  self._translations = UNSET
979
1032
 
1033
+ @property
1034
+ def url(self) -> str:
1035
+ """ The path of the web URL, omitting the tenant domain """
1036
+ if isinstance(self._url, Unset):
1037
+ raise NotPresentError(self, "url")
1038
+ return self._url
1039
+
1040
+ @url.setter
1041
+ def url(self, value: str) -> None:
1042
+ self._url = value
1043
+
1044
+ @url.deleter
1045
+ def url(self) -> None:
1046
+ self._url = UNSET
1047
+
980
1048
  @property
981
1049
  def web_url(self) -> str:
982
1050
  if isinstance(self._web_url, Unset):
@@ -36,6 +36,7 @@ class DnaSequenceWithEntityType:
36
36
  _created_at: Union[Unset, datetime.datetime] = UNSET
37
37
  _creator: Union[Unset, UserSummary] = UNSET
38
38
  _custom_fields: Union[Unset, CustomFields] = UNSET
39
+ _dna_alignment_ids: Union[Unset, List[str]] = UNSET
39
40
  _entity_registry_id: Union[Unset, None, str] = UNSET
40
41
  _fields: Union[Unset, Fields] = UNSET
41
42
  _folder_id: Union[Unset, None, str] = UNSET
@@ -51,6 +52,7 @@ class DnaSequenceWithEntityType:
51
52
  _schema: Union[Unset, None, SchemaSummary] = UNSET
52
53
  _transcriptions: Union[Unset, List[DnaSequenceTranscription]] = UNSET
53
54
  _translations: Union[Unset, List[Translation]] = UNSET
55
+ _url: Union[Unset, str] = UNSET
54
56
  _web_url: Union[Unset, str] = UNSET
55
57
  additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict)
56
58
 
@@ -66,6 +68,7 @@ class DnaSequenceWithEntityType:
66
68
  fields.append("created_at={}".format(repr(self._created_at)))
67
69
  fields.append("creator={}".format(repr(self._creator)))
68
70
  fields.append("custom_fields={}".format(repr(self._custom_fields)))
71
+ fields.append("dna_alignment_ids={}".format(repr(self._dna_alignment_ids)))
69
72
  fields.append("entity_registry_id={}".format(repr(self._entity_registry_id)))
70
73
  fields.append("fields={}".format(repr(self._fields)))
71
74
  fields.append("folder_id={}".format(repr(self._folder_id)))
@@ -81,6 +84,7 @@ class DnaSequenceWithEntityType:
81
84
  fields.append("schema={}".format(repr(self._schema)))
82
85
  fields.append("transcriptions={}".format(repr(self._transcriptions)))
83
86
  fields.append("translations={}".format(repr(self._translations)))
87
+ fields.append("url={}".format(repr(self._url)))
84
88
  fields.append("web_url={}".format(repr(self._web_url)))
85
89
  fields.append("additional_properties={}".format(repr(self.additional_properties)))
86
90
  return "DnaSequenceWithEntityType({})".format(", ".join(fields))
@@ -128,6 +132,10 @@ class DnaSequenceWithEntityType:
128
132
  if not isinstance(self._custom_fields, Unset):
129
133
  custom_fields = self._custom_fields.to_dict()
130
134
 
135
+ dna_alignment_ids: Union[Unset, List[Any]] = UNSET
136
+ if not isinstance(self._dna_alignment_ids, Unset):
137
+ dna_alignment_ids = self._dna_alignment_ids
138
+
131
139
  entity_registry_id = self._entity_registry_id
132
140
  fields: Union[Unset, Dict[str, Any]] = UNSET
133
141
  if not isinstance(self._fields, Unset):
@@ -183,6 +191,7 @@ class DnaSequenceWithEntityType:
183
191
 
184
192
  translations.append(translations_item)
185
193
 
194
+ url = self._url
186
195
  web_url = self._web_url
187
196
 
188
197
  field_dict: Dict[str, Any] = {}
@@ -208,6 +217,8 @@ class DnaSequenceWithEntityType:
208
217
  field_dict["creator"] = creator
209
218
  if custom_fields is not UNSET:
210
219
  field_dict["customFields"] = custom_fields
220
+ if dna_alignment_ids is not UNSET:
221
+ field_dict["dnaAlignmentIds"] = dna_alignment_ids
211
222
  if entity_registry_id is not UNSET:
212
223
  field_dict["entityRegistryId"] = entity_registry_id
213
224
  if fields is not UNSET:
@@ -238,6 +249,8 @@ class DnaSequenceWithEntityType:
238
249
  field_dict["transcriptions"] = transcriptions
239
250
  if translations is not UNSET:
240
251
  field_dict["translations"] = translations
252
+ if url is not UNSET:
253
+ field_dict["url"] = url
241
254
  if web_url is not UNSET:
242
255
  field_dict["webURL"] = web_url
243
256
 
@@ -396,6 +409,18 @@ class DnaSequenceWithEntityType:
396
409
  raise
397
410
  custom_fields = cast(Union[Unset, CustomFields], UNSET)
398
411
 
412
+ def get_dna_alignment_ids() -> Union[Unset, List[str]]:
413
+ dna_alignment_ids = cast(List[str], d.pop("dnaAlignmentIds"))
414
+
415
+ return dna_alignment_ids
416
+
417
+ try:
418
+ dna_alignment_ids = get_dna_alignment_ids()
419
+ except KeyError:
420
+ if strict:
421
+ raise
422
+ dna_alignment_ids = cast(Union[Unset, List[str]], UNSET)
423
+
399
424
  def get_entity_registry_id() -> Union[Unset, None, str]:
400
425
  entity_registry_id = d.pop("entityRegistryId")
401
426
  return entity_registry_id
@@ -606,6 +631,17 @@ class DnaSequenceWithEntityType:
606
631
  raise
607
632
  translations = cast(Union[Unset, List[Translation]], UNSET)
608
633
 
634
+ def get_url() -> Union[Unset, str]:
635
+ url = d.pop("url")
636
+ return url
637
+
638
+ try:
639
+ url = get_url()
640
+ except KeyError:
641
+ if strict:
642
+ raise
643
+ url = cast(Union[Unset, str], UNSET)
644
+
609
645
  def get_web_url() -> Union[Unset, str]:
610
646
  web_url = d.pop("webURL")
611
647
  return web_url
@@ -628,6 +664,7 @@ class DnaSequenceWithEntityType:
628
664
  created_at=created_at,
629
665
  creator=creator,
630
666
  custom_fields=custom_fields,
667
+ dna_alignment_ids=dna_alignment_ids,
631
668
  entity_registry_id=entity_registry_id,
632
669
  fields=fields,
633
670
  folder_id=folder_id,
@@ -643,6 +680,7 @@ class DnaSequenceWithEntityType:
643
680
  schema=schema,
644
681
  transcriptions=transcriptions,
645
682
  translations=translations,
683
+ url=url,
646
684
  web_url=web_url,
647
685
  )
648
686
 
@@ -809,6 +847,21 @@ class DnaSequenceWithEntityType:
809
847
  def custom_fields(self) -> None:
810
848
  self._custom_fields = UNSET
811
849
 
850
+ @property
851
+ def dna_alignment_ids(self) -> List[str]:
852
+ """ API IDs of Nucleotide Alignments involving the RNA sequence """
853
+ if isinstance(self._dna_alignment_ids, Unset):
854
+ raise NotPresentError(self, "dna_alignment_ids")
855
+ return self._dna_alignment_ids
856
+
857
+ @dna_alignment_ids.setter
858
+ def dna_alignment_ids(self, value: List[str]) -> None:
859
+ self._dna_alignment_ids = value
860
+
861
+ @dna_alignment_ids.deleter
862
+ def dna_alignment_ids(self) -> None:
863
+ self._dna_alignment_ids = UNSET
864
+
812
865
  @property
813
866
  def entity_registry_id(self) -> Optional[str]:
814
867
  if isinstance(self._entity_registry_id, Unset):
@@ -1019,6 +1072,21 @@ class DnaSequenceWithEntityType:
1019
1072
  def translations(self) -> None:
1020
1073
  self._translations = UNSET
1021
1074
 
1075
+ @property
1076
+ def url(self) -> str:
1077
+ """ The path of the web URL, omitting the tenant domain """
1078
+ if isinstance(self._url, Unset):
1079
+ raise NotPresentError(self, "url")
1080
+ return self._url
1081
+
1082
+ @url.setter
1083
+ def url(self, value: str) -> None:
1084
+ self._url = value
1085
+
1086
+ @url.deleter
1087
+ def url(self) -> None:
1088
+ self._url = UNSET
1089
+
1022
1090
  @property
1023
1091
  def web_url(self) -> str:
1024
1092
  if isinstance(self._web_url, Unset):