swagger_client.models.sample 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.sample.Sample(name=None, custom=None, species=None, tissue=None, cell_type=None, disease=None, description=None, **kwargs)

Bases: swagger_client.models.indexed_element.IndexedElement

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

Do not edit the class manually.

Sample - a model defined in Swagger

attribute_map = {'cell_type': 'cell_type', 'custom': 'custom', 'description': 'description', 'disease': 'disease', 'name': 'name', 'species': 'species', 'tissue': 'tissue'}
property cell_type

Gets the cell_type of this Sample. # noqa: E501

Biological cell type information on the sample. # noqa: E501

Returns

The cell_type of this Sample. # noqa: E501

Return type

list[Parameter]

property custom

Gets the custom of this Sample. # noqa: E501

Additional user or cv parameters. # noqa: E501

Returns

The custom of this Sample. # noqa: E501

Return type

list[Parameter]

property description

Gets the description of this Sample. # noqa: E501

A free form description of the sample. # noqa: E501

Returns

The description of this Sample. # noqa: E501

Return type

str

property disease

Gets the disease of this Sample. # noqa: E501

Disease information on the sample. # noqa: E501

Returns

The disease of this Sample. # noqa: E501

Return type

list[Parameter]

property name

Gets the name of this Sample. # noqa: E501

The sample’s name. # noqa: E501

Returns

The name of this Sample. # noqa: E501

Return type

str

property species

Gets the species of this Sample. # noqa: E501

Biological species information on the sample. # noqa: E501

Returns

The species of this Sample. # noqa: E501

Return type

list[Parameter]

swagger_types = {'cell_type': 'list[Parameter]', 'custom': 'list[Parameter]', 'description': 'str', 'disease': 'list[Parameter]', 'name': 'str', 'species': 'list[Parameter]', 'tissue': 'list[Parameter]'}
property tissue

Gets the tissue of this Sample. # noqa: E501

Biological tissue information on the sample. # noqa: E501

Returns

The tissue of this Sample. # noqa: E501

Return type

list[Parameter]

to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model