swagger_client.models.indexed_element module

mzTab-M reference implementation and validation API.

This is the mzTab-M reference implementation and validation API service. # noqa: E501

OpenAPI spec version: 2.0.0 Contact: nils.hoffmann@isas.de Generated by: https://github.com/swagger-api/swagger-codegen.git

class swagger_client.models.indexed_element.IndexedElement(id=None, element_type='element_type')

Bases: object

NOTE: This class is auto generated by the swagger code generator program.

Do not edit the class manually.

IndexedElement - a model defined in Swagger

attribute_map = {'element_type': 'elementType', 'id': 'id'}
discriminator_value_class_map = {'Assay': 'Assay', 'CV': 'CV', 'Contact': 'Contact', 'Database': 'Database', 'Instrument': 'Instrument', 'MsRun': 'MsRun', 'Parameter': 'Parameter', 'Publication': 'Publication', 'Sample': 'Sample', 'SampleProcessing': 'SampleProcessing', 'Software': 'Software', 'StudyVariable': 'StudyVariable', 'Uri': 'Uri'}
property element_type

Gets the element_type of this IndexedElement. # noqa: E501

Returns

The element_type of this IndexedElement. # noqa: E501

Return type

str

get_real_child_model(data)

Returns the real base class specified by the discriminator

property id

Gets the id of this IndexedElement. # noqa: E501

Returns

The id of this IndexedElement. # noqa: E501

Return type

int

swagger_types = {'element_type': 'str', 'id': 'int'}
to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model