Skip to content

Commit f3aed35

Browse files
Merge pull request #1526 from virtualcell/quarkus-mathmodel-retrieval
Quarkus Mathmodel Endpoints
2 parents 510f5be + 16381cf commit f3aed35

56 files changed

Lines changed: 6321 additions & 207 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

python-restclient/.openapi-generator/FILES

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ docs/HelloWorldMessage.md
2929
docs/HtcJobID.md
3030
docs/ISize.md
3131
docs/Identity.md
32+
docs/MathModelChildSummary.md
33+
docs/MathModelResourceApi.md
34+
docs/MathModelSummary.md
3235
docs/MathType.md
3336
docs/MathmodelRef.md
3437
docs/ModelType.md
@@ -70,6 +73,7 @@ vcell_client/api/admin_resource_api.py
7073
vcell_client/api/bio_model_resource_api.py
7174
vcell_client/api/field_data_resource_api.py
7275
vcell_client/api/hello_world_api.py
76+
vcell_client/api/math_model_resource_api.py
7377
vcell_client/api/publication_resource_api.py
7478
vcell_client/api/simulation_resource_api.py
7579
vcell_client/api/solver_resource_api.py
@@ -103,6 +107,8 @@ vcell_client/models/hello_world_message.py
103107
vcell_client/models/htc_job_id.py
104108
vcell_client/models/i_size.py
105109
vcell_client/models/identity.py
110+
vcell_client/models/math_model_child_summary.py
111+
vcell_client/models/math_model_summary.py
106112
vcell_client/models/math_type.py
107113
vcell_client/models/mathmodel_ref.py
108114
vcell_client/models/model_type.py

python-restclient/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,11 @@ Class | Method | HTTP request | Description
106106
*FieldDataResourceApi* | [**get_shape_from_id**](docs/FieldDataResourceApi.md#get_shape_from_id) | **GET** /api/v1/fieldData/shape/{fieldDataID} | Get the shape of the field data. That is it's size, origin, extent, times, and data identifiers.
107107
*FieldDataResourceApi* | [**save**](docs/FieldDataResourceApi.md#save) | **POST** /api/v1/fieldData/save | Take the generated field data, and save it to the server. User may adjust the analyzed file before uploading to edit defaults.
108108
*HelloWorldApi* | [**get_hello_world**](docs/HelloWorldApi.md#get_hello_world) | **GET** /api/v1/helloworld | Get hello world message.
109+
*MathModelResourceApi* | [**delete_math_model**](docs/MathModelResourceApi.md#delete_math_model) | **DELETE** /api/v1/mathModel/{id} |
110+
*MathModelResourceApi* | [**get_summaries**](docs/MathModelResourceApi.md#get_summaries) | **GET** /api/v1/mathModel/summaries |
111+
*MathModelResourceApi* | [**get_summary**](docs/MathModelResourceApi.md#get_summary) | **GET** /api/v1/mathModel/summary/{id} |
112+
*MathModelResourceApi* | [**get_vcml**](docs/MathModelResourceApi.md#get_vcml) | **GET** /api/v1/mathModel/{id} |
113+
*MathModelResourceApi* | [**save_math_model**](docs/MathModelResourceApi.md#save_math_model) | **POST** /api/v1/mathModel |
109114
*PublicationResourceApi* | [**create_publication**](docs/PublicationResourceApi.md#create_publication) | **POST** /api/v1/publications | Create publication
110115
*PublicationResourceApi* | [**delete_publication**](docs/PublicationResourceApi.md#delete_publication) | **DELETE** /api/v1/publications/{id} | Delete publication
111116
*PublicationResourceApi* | [**get_publication_by_id**](docs/PublicationResourceApi.md#get_publication_by_id) | **GET** /api/v1/publications/{id} | Get publication by ID
@@ -154,6 +159,8 @@ Class | Method | HTTP request | Description
154159
- [HtcJobID](docs/HtcJobID.md)
155160
- [ISize](docs/ISize.md)
156161
- [Identity](docs/Identity.md)
162+
- [MathModelChildSummary](docs/MathModelChildSummary.md)
163+
- [MathModelSummary](docs/MathModelSummary.md)
157164
- [MathType](docs/MathType.md)
158165
- [MathmodelRef](docs/MathmodelRef.md)
159166
- [ModelType](docs/ModelType.md)

python-restclient/docs/BioModelResourceApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ configuration = vcell_client.Configuration(
171171
with vcell_client.ApiClient(configuration) as api_client:
172172
# Create an instance of the API class
173173
api_instance = vcell_client.BioModelResourceApi(api_client)
174-
include_public_and_shared = True # bool | Includes BioModel summaries that are public or shared with requester. (optional)
174+
include_public_and_shared = True # bool | Includes BioModel summaries that are public or shared with requester. Default is true. (optional)
175175

176176
try:
177177
# Return BioModel summaries.
@@ -188,7 +188,7 @@ with vcell_client.ApiClient(configuration) as api_client:
188188

189189
Name | Type | Description | Notes
190190
------------- | ------------- | ------------- | -------------
191-
**include_public_and_shared** | **bool**| Includes BioModel summaries that are public or shared with requester. | [optional]
191+
**include_public_and_shared** | **bool**| Includes BioModel summaries that are public or shared with requester. Default is true. | [optional]
192192

193193
### Return type
194194

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# MathModelChildSummary
2+
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**model_type** | [**MathType**](MathType.md) | | [optional]
8+
**geometry_dimension** | **int** | | [optional]
9+
**geometry_name** | **str** | | [optional]
10+
**simulation_annotations** | **List[str]** | | [optional]
11+
**simulation_names** | **List[str]** | | [optional]
12+
13+
## Example
14+
15+
```python
16+
from vcell_client.models.math_model_child_summary import MathModelChildSummary
17+
18+
# TODO update the JSON string below
19+
json = "{}"
20+
# create an instance of MathModelChildSummary from a JSON string
21+
math_model_child_summary_instance = MathModelChildSummary.from_json(json)
22+
# print the JSON string representation of the object
23+
print MathModelChildSummary.to_json()
24+
25+
# convert the object into a dict
26+
math_model_child_summary_dict = math_model_child_summary_instance.to_dict()
27+
# create an instance of MathModelChildSummary from a dict
28+
math_model_child_summary_form_dict = math_model_child_summary.from_dict(math_model_child_summary_dict)
29+
```
30+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
31+
32+

0 commit comments

Comments
 (0)