V2BiocollectionsSortField
March 4, 2026 ยท View on GitHub
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| var_field | str | [optional] | |
| direction | V2SortDirection | [optional] [default to V2SortDirection.SORT_DIRECTION_UNSPECIFIED] |
Example
from ncbi.datasets.openapi.models.v2_biocollections_sort_field import V2BiocollectionsSortField
# TODO update the JSON string below
json = "{}"
# create an instance of V2BiocollectionsSortField from a JSON string
v2_biocollections_sort_field_instance = V2BiocollectionsSortField.from_json(json)
# print the JSON string representation of the object
print(V2BiocollectionsSortField.to_json())
# convert the object into a dict
v2_biocollections_sort_field_dict = v2_biocollections_sort_field_instance.to_dict()
# create an instance of V2BiocollectionsSortField from a dict
v2_biocollections_sort_field_from_dict = V2BiocollectionsSortField.from_dict(v2_biocollections_sort_field_dict)