Skip to content

Commit

Permalink
Update spec to 2.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
arteymix committed Jul 31, 2024
1 parent fe79554 commit d19a0fa
Show file tree
Hide file tree
Showing 6 changed files with 203 additions and 173 deletions.
54 changes: 53 additions & 1 deletion gemmapy/sdk/models/contrast_result_value_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ class ContrastResultValueObject(object):
'pvalue': 'float',
'coefficient': 'float',
'log_fold_change': 'float',
'factor_value_id': 'int',
'factor_value': 'FactorValueBasicValueObject',
'second_factor_value_id': 'int',
'second_factor_value': 'FactorValueBasicValueObject',
'tstat': 'float'
}
Expand All @@ -42,18 +44,22 @@ class ContrastResultValueObject(object):
'pvalue': 'pvalue',
'coefficient': 'coefficient',
'log_fold_change': 'logFoldChange',
'factor_value_id': 'factorValueId',
'factor_value': 'factorValue',
'second_factor_value_id': 'secondFactorValueId',
'second_factor_value': 'secondFactorValue',
'tstat': 'tstat'
}

def __init__(self, id=None, pvalue=None, coefficient=None, log_fold_change=None, factor_value=None, second_factor_value=None, tstat=None): # noqa: E501
def __init__(self, id=None, pvalue=None, coefficient=None, log_fold_change=None, factor_value_id=None, factor_value=None, second_factor_value_id=None, second_factor_value=None, tstat=None): # noqa: E501
"""ContrastResultValueObject - a model defined in Swagger""" # noqa: E501
self._id = None
self._pvalue = None
self._coefficient = None
self._log_fold_change = None
self._factor_value_id = None
self._factor_value = None
self._second_factor_value_id = None
self._second_factor_value = None
self._tstat = None
self.discriminator = None
Expand All @@ -65,8 +71,12 @@ def __init__(self, id=None, pvalue=None, coefficient=None, log_fold_change=None,
self.coefficient = coefficient
if log_fold_change is not None:
self.log_fold_change = log_fold_change
if factor_value_id is not None:
self.factor_value_id = factor_value_id
if factor_value is not None:
self.factor_value = factor_value
if second_factor_value_id is not None:
self.second_factor_value_id = second_factor_value_id
if second_factor_value is not None:
self.second_factor_value = second_factor_value
if tstat is not None:
Expand Down Expand Up @@ -156,6 +166,27 @@ def log_fold_change(self, log_fold_change):

self._log_fold_change = log_fold_change

@property
def factor_value_id(self):
"""Gets the factor_value_id of this ContrastResultValueObject. # noqa: E501
:return: The factor_value_id of this ContrastResultValueObject. # noqa: E501
:rtype: int
"""
return self._factor_value_id

@factor_value_id.setter
def factor_value_id(self, factor_value_id):
"""Sets the factor_value_id of this ContrastResultValueObject.
:param factor_value_id: The factor_value_id of this ContrastResultValueObject. # noqa: E501
:type: int
"""

self._factor_value_id = factor_value_id

@property
def factor_value(self):
"""Gets the factor_value of this ContrastResultValueObject. # noqa: E501
Expand All @@ -177,6 +208,27 @@ def factor_value(self, factor_value):

self._factor_value = factor_value

@property
def second_factor_value_id(self):
"""Gets the second_factor_value_id of this ContrastResultValueObject. # noqa: E501
:return: The second_factor_value_id of this ContrastResultValueObject. # noqa: E501
:rtype: int
"""
return self._second_factor_value_id

@second_factor_value_id.setter
def second_factor_value_id(self, second_factor_value_id):
"""Sets the second_factor_value_id of this ContrastResultValueObject.
:param second_factor_value_id: The second_factor_value_id of this ContrastResultValueObject. # noqa: E501
:type: int
"""

self._second_factor_value_id = second_factor_value_id

@property
def second_factor_value(self):
"""Gets the second_factor_value of this ContrastResultValueObject. # noqa: E501
Expand Down
48 changes: 24 additions & 24 deletions gemmapy/sdk/models/expression_experiment_value_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ class ExpressionExperimentValueObject(object):
'short_name': 'str',
'source': 'str',
'technology_type': 'str',
'taxon_id': 'int',
'bio_assay_count': 'int',
'taxon_id': 'int',
'trouble_details': 'str',
'number_of_array_designs': 'int',
'number_of_processed_expression_vectors': 'int',
Expand Down Expand Up @@ -83,15 +83,15 @@ class ExpressionExperimentValueObject(object):
'short_name': 'shortName',
'source': 'source',
'technology_type': 'technologyType',
'taxon_id': 'taxonId',
'bio_assay_count': 'bioAssayCount',
'taxon_id': 'taxonId',
'trouble_details': 'troubleDetails',
'number_of_array_designs': 'numberOfArrayDesigns',
'number_of_processed_expression_vectors': 'numberOfProcessedExpressionVectors',
'taxon': 'taxon'
}

def __init__(self, id=None, last_updated=None, troubled=None, last_troubled_event=None, needs_attention=None, last_needs_attention_event=None, curation_note=None, last_note_update_event=None, number_of_bio_assays=None, description=None, name=None, accession=None, batch_confound=None, batch_effect=None, batch_effect_statistics=None, external_database=None, external_database_uri=None, external_uri=None, geeq=None, metadata=None, short_name=None, source=None, technology_type=None, taxon_id=None, bio_assay_count=None, trouble_details=None, number_of_array_designs=None, number_of_processed_expression_vectors=None, taxon=None): # noqa: E501
def __init__(self, id=None, last_updated=None, troubled=None, last_troubled_event=None, needs_attention=None, last_needs_attention_event=None, curation_note=None, last_note_update_event=None, number_of_bio_assays=None, description=None, name=None, accession=None, batch_confound=None, batch_effect=None, batch_effect_statistics=None, external_database=None, external_database_uri=None, external_uri=None, geeq=None, metadata=None, short_name=None, source=None, technology_type=None, bio_assay_count=None, taxon_id=None, trouble_details=None, number_of_array_designs=None, number_of_processed_expression_vectors=None, taxon=None): # noqa: E501
"""ExpressionExperimentValueObject - a model defined in Swagger""" # noqa: E501
self._id = None
self._last_updated = None
Expand All @@ -116,8 +116,8 @@ def __init__(self, id=None, last_updated=None, troubled=None, last_troubled_even
self._short_name = None
self._source = None
self._technology_type = None
self._taxon_id = None
self._bio_assay_count = None
self._taxon_id = None
self._trouble_details = None
self._number_of_array_designs = None
self._number_of_processed_expression_vectors = None
Expand Down Expand Up @@ -169,10 +169,10 @@ def __init__(self, id=None, last_updated=None, troubled=None, last_troubled_even
self.source = source
if technology_type is not None:
self.technology_type = technology_type
if taxon_id is not None:
self.taxon_id = taxon_id
if bio_assay_count is not None:
self.bio_assay_count = bio_assay_count
if taxon_id is not None:
self.taxon_id = taxon_id
if trouble_details is not None:
self.trouble_details = trouble_details
if number_of_array_designs is not None:
Expand Down Expand Up @@ -672,46 +672,46 @@ def technology_type(self, technology_type):
self._technology_type = technology_type

@property
def taxon_id(self):
"""Gets the taxon_id of this ExpressionExperimentValueObject. # noqa: E501
def bio_assay_count(self):
"""Gets the bio_assay_count of this ExpressionExperimentValueObject. # noqa: E501
:return: The taxon_id of this ExpressionExperimentValueObject. # noqa: E501
:return: The bio_assay_count of this ExpressionExperimentValueObject. # noqa: E501
:rtype: int
"""
return self._taxon_id
return self._bio_assay_count

@taxon_id.setter
def taxon_id(self, taxon_id):
"""Sets the taxon_id of this ExpressionExperimentValueObject.
@bio_assay_count.setter
def bio_assay_count(self, bio_assay_count):
"""Sets the bio_assay_count of this ExpressionExperimentValueObject.
:param taxon_id: The taxon_id of this ExpressionExperimentValueObject. # noqa: E501
:param bio_assay_count: The bio_assay_count of this ExpressionExperimentValueObject. # noqa: E501
:type: int
"""

self._taxon_id = taxon_id
self._bio_assay_count = bio_assay_count

@property
def bio_assay_count(self):
"""Gets the bio_assay_count of this ExpressionExperimentValueObject. # noqa: E501
def taxon_id(self):
"""Gets the taxon_id of this ExpressionExperimentValueObject. # noqa: E501
:return: The bio_assay_count of this ExpressionExperimentValueObject. # noqa: E501
:return: The taxon_id of this ExpressionExperimentValueObject. # noqa: E501
:rtype: int
"""
return self._bio_assay_count
return self._taxon_id

@bio_assay_count.setter
def bio_assay_count(self, bio_assay_count):
"""Sets the bio_assay_count of this ExpressionExperimentValueObject.
@taxon_id.setter
def taxon_id(self, taxon_id):
"""Sets the taxon_id of this ExpressionExperimentValueObject.
:param bio_assay_count: The bio_assay_count of this ExpressionExperimentValueObject. # noqa: E501
:param taxon_id: The taxon_id of this ExpressionExperimentValueObject. # noqa: E501
:type: int
"""

self._bio_assay_count = bio_assay_count
self._taxon_id = taxon_id

@property
def trouble_details(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ class ExpressionExperimentWithSearchResultValueObject(object):
'source': 'str',
'technology_type': 'str',
'search_result': 'SearchResultValueObjectExpressionExperimentValueObject',
'taxon_id': 'int',
'bio_assay_count': 'int',
'taxon_id': 'int',
'trouble_details': 'str',
'number_of_array_designs': 'int',
'number_of_processed_expression_vectors': 'int',
Expand Down Expand Up @@ -85,15 +85,15 @@ class ExpressionExperimentWithSearchResultValueObject(object):
'source': 'source',
'technology_type': 'technologyType',
'search_result': 'searchResult',
'taxon_id': 'taxonId',
'bio_assay_count': 'bioAssayCount',
'taxon_id': 'taxonId',
'trouble_details': 'troubleDetails',
'number_of_array_designs': 'numberOfArrayDesigns',
'number_of_processed_expression_vectors': 'numberOfProcessedExpressionVectors',
'taxon': 'taxon'
}

def __init__(self, id=None, last_updated=None, troubled=None, last_troubled_event=None, needs_attention=None, last_needs_attention_event=None, curation_note=None, last_note_update_event=None, number_of_bio_assays=None, description=None, name=None, accession=None, batch_confound=None, batch_effect=None, batch_effect_statistics=None, external_database=None, external_database_uri=None, external_uri=None, geeq=None, metadata=None, short_name=None, source=None, technology_type=None, search_result=None, taxon_id=None, bio_assay_count=None, trouble_details=None, number_of_array_designs=None, number_of_processed_expression_vectors=None, taxon=None): # noqa: E501
def __init__(self, id=None, last_updated=None, troubled=None, last_troubled_event=None, needs_attention=None, last_needs_attention_event=None, curation_note=None, last_note_update_event=None, number_of_bio_assays=None, description=None, name=None, accession=None, batch_confound=None, batch_effect=None, batch_effect_statistics=None, external_database=None, external_database_uri=None, external_uri=None, geeq=None, metadata=None, short_name=None, source=None, technology_type=None, search_result=None, bio_assay_count=None, taxon_id=None, trouble_details=None, number_of_array_designs=None, number_of_processed_expression_vectors=None, taxon=None): # noqa: E501
"""ExpressionExperimentWithSearchResultValueObject - a model defined in Swagger""" # noqa: E501
self._id = None
self._last_updated = None
Expand All @@ -119,8 +119,8 @@ def __init__(self, id=None, last_updated=None, troubled=None, last_troubled_even
self._source = None
self._technology_type = None
self._search_result = None
self._taxon_id = None
self._bio_assay_count = None
self._taxon_id = None
self._trouble_details = None
self._number_of_array_designs = None
self._number_of_processed_expression_vectors = None
Expand Down Expand Up @@ -174,10 +174,10 @@ def __init__(self, id=None, last_updated=None, troubled=None, last_troubled_even
self.technology_type = technology_type
if search_result is not None:
self.search_result = search_result
if taxon_id is not None:
self.taxon_id = taxon_id
if bio_assay_count is not None:
self.bio_assay_count = bio_assay_count
if taxon_id is not None:
self.taxon_id = taxon_id
if trouble_details is not None:
self.trouble_details = trouble_details
if number_of_array_designs is not None:
Expand Down Expand Up @@ -698,46 +698,46 @@ def search_result(self, search_result):
self._search_result = search_result

@property
def taxon_id(self):
"""Gets the taxon_id of this ExpressionExperimentWithSearchResultValueObject. # noqa: E501
def bio_assay_count(self):
"""Gets the bio_assay_count of this ExpressionExperimentWithSearchResultValueObject. # noqa: E501
:return: The taxon_id of this ExpressionExperimentWithSearchResultValueObject. # noqa: E501
:return: The bio_assay_count of this ExpressionExperimentWithSearchResultValueObject. # noqa: E501
:rtype: int
"""
return self._taxon_id
return self._bio_assay_count

@taxon_id.setter
def taxon_id(self, taxon_id):
"""Sets the taxon_id of this ExpressionExperimentWithSearchResultValueObject.
@bio_assay_count.setter
def bio_assay_count(self, bio_assay_count):
"""Sets the bio_assay_count of this ExpressionExperimentWithSearchResultValueObject.
:param taxon_id: The taxon_id of this ExpressionExperimentWithSearchResultValueObject. # noqa: E501
:param bio_assay_count: The bio_assay_count of this ExpressionExperimentWithSearchResultValueObject. # noqa: E501
:type: int
"""

self._taxon_id = taxon_id
self._bio_assay_count = bio_assay_count

@property
def bio_assay_count(self):
"""Gets the bio_assay_count of this ExpressionExperimentWithSearchResultValueObject. # noqa: E501
def taxon_id(self):
"""Gets the taxon_id of this ExpressionExperimentWithSearchResultValueObject. # noqa: E501
:return: The bio_assay_count of this ExpressionExperimentWithSearchResultValueObject. # noqa: E501
:return: The taxon_id of this ExpressionExperimentWithSearchResultValueObject. # noqa: E501
:rtype: int
"""
return self._bio_assay_count
return self._taxon_id

@bio_assay_count.setter
def bio_assay_count(self, bio_assay_count):
"""Sets the bio_assay_count of this ExpressionExperimentWithSearchResultValueObject.
@taxon_id.setter
def taxon_id(self, taxon_id):
"""Sets the taxon_id of this ExpressionExperimentWithSearchResultValueObject.
:param bio_assay_count: The bio_assay_count of this ExpressionExperimentWithSearchResultValueObject. # noqa: E501
:param taxon_id: The taxon_id of this ExpressionExperimentWithSearchResultValueObject. # noqa: E501
:type: int
"""

self._bio_assay_count = bio_assay_count
self._taxon_id = taxon_id

@property
def trouble_details(self):
Expand Down
Loading

0 comments on commit d19a0fa

Please sign in to comment.