Module: ncbi.datasets.openapi.model.v1_gene_metadata

NCBI Datasets API

Module: ncbi.datasets.openapi.model.v1_gene_metadata

NCBI Datasets API

### NCBI Datasets is a resource that lets you easily gather data from NCBI. The Datasets version 1 API is considred stable and will not be subject to breaking changes. However, certain endpoints will be [deprecated](https://0-www-ncbi-nlm-nih-gov.brum.beds.ac.uk/datasets/docs/v1/reference-docs/rest-api/deprecated_apis/), and then sunset as newer versions are published. For some larger downloads, you may want to download a [dehydrated zip archive](https://0-www-ncbi-nlm-nih-gov.brum.beds.ac.uk/datasets/docs/v1/how-tos/genomes/large-download/), 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_gene_metadata.lazy_import()
class ncbi.datasets.openapi.model.v1_gene_metadata.V1GeneMetadata(*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 = {'genes': ([<class 'ncbi.datasets.openapi.model.v1_gene_match.V1GeneMatch'>],), 'messages': ([<class 'ncbi.datasets.openapi.model.v1_message.V1Message'>],), 'total_count': (<class 'int'>,)}
discriminator = None
attribute_map = {'genes': 'genes', 'messages': 'messages', 'total_count': 'total_count'}
read_only_vars = {}
required_properties = {'_check_type', '_configuration', '_data_store', '_path_to_item', '_spec_property_naming', '_visited_composed_classes'}
Generated April 12, 2024