From 2f014b1ee5d7c3c0a94183134532eb1ce2a5dcbf Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 20 Feb 2024 18:47:19 +0000 Subject: [PATCH] 3f87035ad8d8c9f49f28381402694b8b78423bd5 --- docs/AnalysisCommon.md | 2 +- docs/AnalysisRequest.md | 2 +- docs/AnalysisReturn.md | 2 +- neurostore_sdk/models/analysis_common.py | 12 ++++++------ neurostore_sdk/models/analysis_request.py | 12 ++++++------ neurostore_sdk/models/analysis_return.py | 12 ++++++------ 6 files changed, 21 insertions(+), 21 deletions(-) diff --git a/docs/AnalysisCommon.md b/docs/AnalysisCommon.md index 398d9ff..0752705 100644 --- a/docs/AnalysisCommon.md +++ b/docs/AnalysisCommon.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **study** | **str** | | [optional] **entities** | [**List[Entity]**](Entity.md) | | [optional] -**analysis** | **int** | | [optional] +**order** | **int** | | [optional] ## Example diff --git a/docs/AnalysisRequest.md b/docs/AnalysisRequest.md index b8f651f..13d8f34 100644 --- a/docs/AnalysisRequest.md +++ b/docs/AnalysisRequest.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes **id** | **str** | short UUID specifying the location of this resource | [optional] **public** | **bool** | whether the resource is listed in public searches or not | [optional] [default to True] **entities** | [**List[Entity]**](Entity.md) | | [optional] -**analysis** | **int** | | [optional] +**order** | **int** | | [optional] ## Example diff --git a/docs/AnalysisReturn.md b/docs/AnalysisReturn.md index 0434917..d81661d 100644 --- a/docs/AnalysisReturn.md +++ b/docs/AnalysisReturn.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes **points** | [**AnalysisReturnRelationshipsPoints**](AnalysisReturnRelationshipsPoints.md) | | [optional] **conditions** | [**AnalysisReturnRelationshipsConditions**](AnalysisReturnRelationshipsConditions.md) | | [optional] **entities** | [**List[Entity]**](Entity.md) | | [optional] -**analysis** | **int** | | [optional] +**order** | **int** | | [optional] ## Example diff --git a/neurostore_sdk/models/analysis_common.py b/neurostore_sdk/models/analysis_common.py index 06fa72a..3cd3017 100644 --- a/neurostore_sdk/models/analysis_common.py +++ b/neurostore_sdk/models/analysis_common.py @@ -29,8 +29,8 @@ class AnalysisCommon(BaseModel): """ study: Optional[StrictStr] = None entities: Optional[conlist(Entity)] = None - analysis: Optional[StrictInt] = None - __properties = ["study", "entities", "analysis"] + order: Optional[StrictInt] = None + __properties = ["study", "entities", "order"] class Config: """Pydantic configuration""" @@ -63,10 +63,10 @@ def to_dict(self): if _item: _items.append(_item.to_dict()) _dict['entities'] = _items - # set to None if analysis (nullable) is None + # set to None if order (nullable) is None # and __fields_set__ contains the field - if self.analysis is None and "analysis" in self.__fields_set__: - _dict['analysis'] = None + if self.order is None and "order" in self.__fields_set__: + _dict['order'] = None return _dict @@ -82,7 +82,7 @@ def from_dict(cls, obj: dict) -> AnalysisCommon: _obj = AnalysisCommon.parse_obj({ "study": obj.get("study"), "entities": [Entity.from_dict(_item) for _item in obj.get("entities")] if obj.get("entities") is not None else None, - "analysis": obj.get("analysis") + "order": obj.get("order") }) return _obj diff --git a/neurostore_sdk/models/analysis_request.py b/neurostore_sdk/models/analysis_request.py index d9607fc..016e436 100644 --- a/neurostore_sdk/models/analysis_request.py +++ b/neurostore_sdk/models/analysis_request.py @@ -40,8 +40,8 @@ class AnalysisRequest(BaseModel): id: Optional[constr(strict=True, max_length=12, min_length=12)] = Field(None, description="short UUID specifying the location of this resource") public: Optional[StrictBool] = Field(True, description="whether the resource is listed in public searches or not") entities: Optional[conlist(Entity)] = None - analysis: Optional[StrictInt] = None - __properties = ["name", "description", "weights", "study", "images", "points", "conditions", "id", "public", "entities", "analysis"] + order: Optional[StrictInt] = None + __properties = ["name", "description", "weights", "study", "images", "points", "conditions", "id", "public", "entities", "order"] class Config: """Pydantic configuration""" @@ -93,10 +93,10 @@ def to_dict(self): if self.description is None and "description" in self.__fields_set__: _dict['description'] = None - # set to None if analysis (nullable) is None + # set to None if order (nullable) is None # and __fields_set__ contains the field - if self.analysis is None and "analysis" in self.__fields_set__: - _dict['analysis'] = None + if self.order is None and "order" in self.__fields_set__: + _dict['order'] = None return _dict @@ -120,7 +120,7 @@ def from_dict(cls, obj: dict) -> AnalysisRequest: "id": obj.get("id"), "public": obj.get("public") if obj.get("public") is not None else True, "entities": [Entity.from_dict(_item) for _item in obj.get("entities")] if obj.get("entities") is not None else None, - "analysis": obj.get("analysis") + "order": obj.get("order") }) return _obj diff --git a/neurostore_sdk/models/analysis_return.py b/neurostore_sdk/models/analysis_return.py index b601959..116e6d3 100644 --- a/neurostore_sdk/models/analysis_return.py +++ b/neurostore_sdk/models/analysis_return.py @@ -44,8 +44,8 @@ class AnalysisReturn(BaseModel): points: Optional[AnalysisReturnRelationshipsPoints] = None conditions: Optional[AnalysisReturnRelationshipsConditions] = None entities: Optional[conlist(Entity)] = None - analysis: Optional[StrictInt] = None - __properties = ["name", "description", "weights", "created_at", "updated_at", "id", "public", "user", "username", "study", "images", "points", "conditions", "entities", "analysis"] + order: Optional[StrictInt] = None + __properties = ["name", "description", "weights", "created_at", "updated_at", "id", "public", "user", "username", "study", "images", "points", "conditions", "entities", "order"] class Config: """Pydantic configuration""" @@ -115,10 +115,10 @@ def to_dict(self): if self.username is None and "username" in self.__fields_set__: _dict['username'] = None - # set to None if analysis (nullable) is None + # set to None if order (nullable) is None # and __fields_set__ contains the field - if self.analysis is None and "analysis" in self.__fields_set__: - _dict['analysis'] = None + if self.order is None and "order" in self.__fields_set__: + _dict['order'] = None return _dict @@ -146,7 +146,7 @@ def from_dict(cls, obj: dict) -> AnalysisReturn: "points": AnalysisReturnRelationshipsPoints.from_dict(obj.get("points")) if obj.get("points") is not None else None, "conditions": AnalysisReturnRelationshipsConditions.from_dict(obj.get("conditions")) if obj.get("conditions") is not None else None, "entities": [Entity.from_dict(_item) for _item in obj.get("entities")] if obj.get("entities") is not None else None, - "analysis": obj.get("analysis") + "order": obj.get("order") }) return _obj