V2Sars2ProteinDatasetRequest
December 6, 2025 ยท View on GitHub
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| proteins | List[str] | [optional] | |
| refseq_only | bool | [optional] | |
| annotated_only | bool | [optional] | |
| released_since | datetime | [optional] | |
| updated_since | datetime | [optional] | |
| host | str | [optional] | |
| pangolin_classification | str | [optional] | |
| geo_location | str | [optional] | |
| usa_state | str | [optional] | |
| complete_only | bool | [optional] | |
| table_fields | List[V2VirusTableField] | [optional] | |
| include_sequence | List[V2ViralSequenceType] | [optional] | |
| aux_report | List[V2VirusDatasetReportType] | [optional] | |
| format | V2TableFormat | [optional] [default to V2TableFormat.TSV] |
Example
from ncbi.datasets.openapi.models.v2_sars2_protein_dataset_request import V2Sars2ProteinDatasetRequest
# TODO update the JSON string below
json = "{}"
# create an instance of V2Sars2ProteinDatasetRequest from a JSON string
v2_sars2_protein_dataset_request_instance = V2Sars2ProteinDatasetRequest.from_json(json)
# print the JSON string representation of the object
print(V2Sars2ProteinDatasetRequest.to_json())
# convert the object into a dict
v2_sars2_protein_dataset_request_dict = v2_sars2_protein_dataset_request_instance.to_dict()
# create an instance of V2Sars2ProteinDatasetRequest from a dict
v2_sars2_protein_dataset_request_from_dict = V2Sars2ProteinDatasetRequest.from_dict(v2_sars2_protein_dataset_request_dict)