Module: ncbi.datasets.openapi.model.v1_error

NCBI Datasets API

Module: ncbi.datasets.openapi.model.v1_error

NCBI Datasets API

### NCBI Datasets is a resource that lets you easily gather data from NCBI. The Datasets API is still in alpha, and we’re updating it often to add new functionality, iron out bugs and enhance usability. For some larger downloads, you may want to download a [dehydrated bag](https://0-www-ncbi-nlm-nih-gov.brum.beds.ac.uk/datasets/docs/rehydrate/), and retrieve the individual data files at a later time. # noqa: E501

The version of the OpenAPI document: v1 Generated by: https://openapi-generator.tech

ncbi.datasets.openapi.model.v1_error.lazy_import()
class ncbi.datasets.openapi.model.v1_error.V1Error(*args, **kwargs)

Bases: ncbi.datasets.openapi.model_utils.ModelNormal

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

allowed_values

The key is the tuple path to the attribute and the for var_name this is (var_name,). The value is a dict with a capitalized key describing the allowed value and an allowed value. These dicts store the allowed enum values.

Type

dict

attribute_map

The key is attribute name and the value is json key in definition.

Type

dict

discriminator_value_class_map

A dict to go from the discriminator variable value to the discriminator class name.

Type

dict

validations

The key is the tuple path to the attribute and the for var_name this is (var_name,). The value is a dict that stores validations for max_length, min_length, max_items, min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, inclusive_minimum, and regex.

Type

dict

additional_properties_type

A tuple of classes accepted as additional properties values.

Type

tuple

allowed_values = {}
validations = {}
additional_properties_type = (<class 'bool'>, <class 'datetime.date'>, <class 'datetime.datetime'>, <class 'dict'>, <class 'float'>, <class 'int'>, <class 'list'>, <class 'str'>, <class 'NoneType'>)
openapi_types = {'assembly_error_code': (<class 'ncbi.datasets.openapi.model.v1_error_assembly_error_code.V1ErrorAssemblyErrorCode'>,), 'gene_error_code': (<class 'ncbi.datasets.openapi.model.v1_error_gene_error_code.V1ErrorGeneErrorCode'>,), 'invalid_identifiers': ([<class 'str'>],), 'message': (<class 'str'>,), 'reason': (<class 'str'>,), 'valid_identifiers': ([<class 'str'>],), 'virus_error_code': (<class 'ncbi.datasets.openapi.model.v1_error_virus_error_code.V1ErrorVirusErrorCode'>,)}
discriminator = None
attribute_map = {'assembly_error_code': 'assembly_error_code', 'gene_error_code': 'gene_error_code', 'invalid_identifiers': 'invalid_identifiers', 'message': 'message', 'reason': 'reason', 'valid_identifiers': 'valid_identifiers', 'virus_error_code': 'virus_error_code'}
read_only_vars = {}
required_properties = {'_check_type', '_configuration', '_data_store', '_path_to_item', '_spec_property_naming', '_visited_composed_classes'}
Generated November 19, 2021