diff --git a/python-restclient/docs/AccessTokenRepresentation.md b/python-restclient/docs/AccessTokenRepresentation.md deleted file mode 100644 index 40fb2223b5..0000000000 --- a/python-restclient/docs/AccessTokenRepresentation.md +++ /dev/null @@ -1,32 +0,0 @@ -# AccessTokenRepresentation - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**token** | **str** | | [optional] -**creation_date_seconds** | **int** | | [optional] -**expire_date_seconds** | **int** | | [optional] -**user_id** | **str** | | [optional] -**user_key** | **str** | | [optional] - -## Example - -```python -from vcell_client.models.access_token_representation import AccessTokenRepresentation - -# TODO update the JSON string below -json = "{}" -# create an instance of AccessTokenRepresentation from a JSON string -access_token_representation_instance = AccessTokenRepresentation.from_json(json) -# print the JSON string representation of the object -print AccessTokenRepresentation.to_json() - -# convert the object into a dict -access_token_representation_dict = access_token_representation_instance.to_dict() -# create an instance of AccessTokenRepresentation from a dict -access_token_representation_form_dict = access_token_representation.from_dict(access_token_representation_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-restclient/docs/CartesianMesh.md b/python-restclient/docs/CartesianMesh.md deleted file mode 100644 index f3dfb9052f..0000000000 --- a/python-restclient/docs/CartesianMesh.md +++ /dev/null @@ -1,43 +0,0 @@ -# CartesianMesh - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**compressed_bytes** | **bytearray** | | [optional] -**u_cd_info** | [**UCDInfo**](UCDInfo.md) | | [optional] -**geometry_dimension** | **int** | | [optional] -**volume_region_map_subvolume** | **Dict[str, int]** | | [optional] -**membrane_region_map_subvolumes_in_out** | **Dict[str, object]** | | [optional] -**num_membrane_elements** | **int** | | [optional] -**num_membrane_regions** | **int** | | [optional] -**num_volume_elements** | **int** | | [optional] -**num_volume_regions** | **int** | | [optional] -**i_size** | [**ISize**](ISize.md) | | [optional] -**size_x** | **int** | | [optional] -**size_y** | **int** | | [optional] -**size_z** | **int** | | [optional] -**membrane_connectivity_ok** | **bool** | | [optional] -**output_fields** | **List[object]** | | [optional] -**chombo_mesh** | **bool** | | [optional] - -## Example - -```python -from vcell_client.models.cartesian_mesh import CartesianMesh - -# TODO update the JSON string below -json = "{}" -# create an instance of CartesianMesh from a JSON string -cartesian_mesh_instance = CartesianMesh.from_json(json) -# print the JSON string representation of the object -print CartesianMesh.to_json() - -# convert the object into a dict -cartesian_mesh_dict = cartesian_mesh_instance.to_dict() -# create an instance of CartesianMesh from a dict -cartesian_mesh_form_dict = cartesian_mesh.from_dict(cartesian_mesh_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-restclient/docs/Coordinate.md b/python-restclient/docs/Coordinate.md deleted file mode 100644 index c5c51eb0f7..0000000000 --- a/python-restclient/docs/Coordinate.md +++ /dev/null @@ -1,30 +0,0 @@ -# Coordinate - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**x** | **float** | | [optional] -**y** | **float** | | [optional] -**z** | **float** | | [optional] - -## Example - -```python -from vcell_client.models.coordinate import Coordinate - -# TODO update the JSON string below -json = "{}" -# create an instance of Coordinate from a JSON string -coordinate_instance = Coordinate.from_json(json) -# print the JSON string representation of the object -print Coordinate.to_json() - -# convert the object into a dict -coordinate_dict = coordinate_instance.to_dict() -# create an instance of Coordinate from a dict -coordinate_form_dict = coordinate.from_dict(coordinate_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-restclient/docs/FieldDataDBOperationSpec.md b/python-restclient/docs/FieldDataDBOperationSpec.md deleted file mode 100644 index 7a63c0ef01..0000000000 --- a/python-restclient/docs/FieldDataDBOperationSpec.md +++ /dev/null @@ -1,35 +0,0 @@ -# FieldDataDBOperationSpec - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**op_type** | **int** | | [optional] -**spec_edi** | [**ExternalDataIdentifier**](ExternalDataIdentifier.md) | | [optional] -**owner** | [**User**](User.md) | | [optional] -**new_ext_data_id_name** | **str** | | [optional] -**annotation** | **str** | | [optional] -**source_names** | **List[str]** | | [optional] -**source_owner** | [**VersionableTypeVersion**](VersionableTypeVersion.md) | | [optional] -**b_include_sim_refs** | **bool** | | [optional] - -## Example - -```python -from vcell_client.models.field_data_db_operation_spec import FieldDataDBOperationSpec - -# TODO update the JSON string below -json = "{}" -# create an instance of FieldDataDBOperationSpec from a JSON string -field_data_db_operation_spec_instance = FieldDataDBOperationSpec.from_json(json) -# print the JSON string representation of the object -print FieldDataDBOperationSpec.to_json() - -# convert the object into a dict -field_data_db_operation_spec_dict = field_data_db_operation_spec_instance.to_dict() -# create an instance of FieldDataDBOperationSpec from a dict -field_data_db_operation_spec_form_dict = field_data_db_operation_spec.from_dict(field_data_db_operation_spec_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-restclient/docs/FieldDataExternalDataIDs.md b/python-restclient/docs/FieldDataExternalDataIDs.md deleted file mode 100644 index bfb424c0ef..0000000000 --- a/python-restclient/docs/FieldDataExternalDataIDs.md +++ /dev/null @@ -1,30 +0,0 @@ -# FieldDataExternalDataIDs - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**external_data_identifiers** | [**List[ExternalDataIdentifier]**](ExternalDataIdentifier.md) | | [optional] -**external_data_annotations** | **List[str]** | | [optional] -**external_data_id_sim_refs** | **Dict[str, List[KeyValue]]** | | [optional] - -## Example - -```python -from vcell_client.models.field_data_external_data_ids import FieldDataExternalDataIDs - -# TODO update the JSON string below -json = "{}" -# create an instance of FieldDataExternalDataIDs from a JSON string -field_data_external_data_ids_instance = FieldDataExternalDataIDs.from_json(json) -# print the JSON string representation of the object -print FieldDataExternalDataIDs.to_json() - -# convert the object into a dict -field_data_external_data_ids_dict = field_data_external_data_ids_instance.to_dict() -# create an instance of FieldDataExternalDataIDs from a dict -field_data_external_data_ids_form_dict = field_data_external_data_ids.from_dict(field_data_external_data_ids_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-restclient/docs/FieldDataFileOperationResults.md b/python-restclient/docs/FieldDataFileOperationResults.md deleted file mode 100644 index 52799c6fe2..0000000000 --- a/python-restclient/docs/FieldDataFileOperationResults.md +++ /dev/null @@ -1,34 +0,0 @@ -# FieldDataFileOperationResults - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data_identifier_arr** | [**List[DataIdentifier]**](DataIdentifier.md) | | [optional] -**external_data_identifier** | [**ExternalDataIdentifier**](ExternalDataIdentifier.md) | | [optional] -**i_size** | [**ISize**](ISize.md) | | [optional] -**origin** | [**Origin**](Origin.md) | | [optional] -**extent** | [**Extent**](Extent.md) | | [optional] -**times** | **List[float]** | | [optional] -**dependant_function_info** | [**List[FieldDataReferenceInfo]**](FieldDataReferenceInfo.md) | | [optional] - -## Example - -```python -from vcell_client.models.field_data_file_operation_results import FieldDataFileOperationResults - -# TODO update the JSON string below -json = "{}" -# create an instance of FieldDataFileOperationResults from a JSON string -field_data_file_operation_results_instance = FieldDataFileOperationResults.from_json(json) -# print the JSON string representation of the object -print FieldDataFileOperationResults.to_json() - -# convert the object into a dict -field_data_file_operation_results_dict = field_data_file_operation_results_instance.to_dict() -# create an instance of FieldDataFileOperationResults from a dict -field_data_file_operation_results_form_dict = field_data_file_operation_results.from_dict(field_data_file_operation_results_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-restclient/docs/FieldDataFileOperationSpec.md b/python-restclient/docs/FieldDataFileOperationSpec.md deleted file mode 100644 index d224b948b7..0000000000 --- a/python-restclient/docs/FieldDataFileOperationSpec.md +++ /dev/null @@ -1,44 +0,0 @@ -# FieldDataFileOperationSpec - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**op_type** | **int** | | [optional] -**short_spec_data** | **List[List[List[int]]]** | | [optional] -**double_spec_data** | **List[List[List[float]]]** | | [optional] -**cartesian_mesh** | [**CartesianMesh**](CartesianMesh.md) | | [optional] -**spec_edi** | [**ExternalDataIdentifier**](ExternalDataIdentifier.md) | | [optional] -**var_names** | **List[str]** | | [optional] -**variable_types** | [**List[VariableType]**](VariableType.md) | | [optional] -**times** | **List[float]** | | [optional] -**owner** | [**User**](User.md) | | [optional] -**origin** | [**Origin**](Origin.md) | | [optional] -**extent** | [**Extent**](Extent.md) | | [optional] -**isize** | [**ISize**](ISize.md) | | [optional] -**annotation** | **str** | | [optional] -**source_sim_param_scan_job_index** | **int** | | [optional] -**source_sim_data_key** | [**KeyValue**](KeyValue.md) | | [optional] -**source_owner** | [**User**](User.md) | | [optional] -**field_data_name** | **str** | | [optional] - -## Example - -```python -from vcell_client.models.field_data_file_operation_spec import FieldDataFileOperationSpec - -# TODO update the JSON string below -json = "{}" -# create an instance of FieldDataFileOperationSpec from a JSON string -field_data_file_operation_spec_instance = FieldDataFileOperationSpec.from_json(json) -# print the JSON string representation of the object -print FieldDataFileOperationSpec.to_json() - -# convert the object into a dict -field_data_file_operation_spec_dict = field_data_file_operation_spec_instance.to_dict() -# create an instance of FieldDataFileOperationSpec from a dict -field_data_file_operation_spec_form_dict = field_data_file_operation_spec.from_dict(field_data_file_operation_spec_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-restclient/docs/FieldDataInfo.md b/python-restclient/docs/FieldDataInfo.md deleted file mode 100644 index 8f30ce2a0b..0000000000 --- a/python-restclient/docs/FieldDataInfo.md +++ /dev/null @@ -1,32 +0,0 @@ -# FieldDataInfo - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**extent** | [**Extent**](Extent.md) | | [optional] -**origin** | [**Origin**](Origin.md) | | [optional] -**isize** | [**ISize**](ISize.md) | | [optional] -**data_identifier** | [**List[DataIdentifier]**](DataIdentifier.md) | | [optional] -**times** | **List[float]** | | [optional] - -## Example - -```python -from vcell_client.models.field_data_info import FieldDataInfo - -# TODO update the JSON string below -json = "{}" -# create an instance of FieldDataInfo from a JSON string -field_data_info_instance = FieldDataInfo.from_json(json) -# print the JSON string representation of the object -print FieldDataInfo.to_json() - -# convert the object into a dict -field_data_info_dict = field_data_info_instance.to_dict() -# create an instance of FieldDataInfo from a dict -field_data_info_form_dict = field_data_info.from_dict(field_data_info_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-restclient/docs/FieldDataNoCopyConflict.md b/python-restclient/docs/FieldDataNoCopyConflict.md deleted file mode 100644 index c7cdd6b4b0..0000000000 --- a/python-restclient/docs/FieldDataNoCopyConflict.md +++ /dev/null @@ -1,29 +0,0 @@ -# FieldDataNoCopyConflict - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**old_name_new_id_hash** | [**Dict[str, ExternalDataIdentifier]**](ExternalDataIdentifier.md) | | [optional] -**old_name_old_ext_data_id_key_hash** | [**Dict[str, KeyValue]**](KeyValue.md) | | [optional] - -## Example - -```python -from vcell_client.models.field_data_no_copy_conflict import FieldDataNoCopyConflict - -# TODO update the JSON string below -json = "{}" -# create an instance of FieldDataNoCopyConflict from a JSON string -field_data_no_copy_conflict_instance = FieldDataNoCopyConflict.from_json(json) -# print the JSON string representation of the object -print FieldDataNoCopyConflict.to_json() - -# convert the object into a dict -field_data_no_copy_conflict_dict = field_data_no_copy_conflict_instance.to_dict() -# create an instance of FieldDataNoCopyConflict from a dict -field_data_no_copy_conflict_form_dict = field_data_no_copy_conflict.from_dict(field_data_no_copy_conflict_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-restclient/docs/FieldDataReferenceInfo.md b/python-restclient/docs/FieldDataReferenceInfo.md deleted file mode 100644 index 1cd60a9042..0000000000 --- a/python-restclient/docs/FieldDataReferenceInfo.md +++ /dev/null @@ -1,34 +0,0 @@ -# FieldDataReferenceInfo - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**reference_source_type** | **str** | | [optional] -**reference_source_name** | **str** | | [optional] -**application_name** | **str** | | [optional] -**simulation_name** | **str** | | [optional] -**ref_source_version_date** | **str** | | [optional] -**func_names** | **List[str]** | | [optional] -**ref_source_version_key** | [**KeyValue**](KeyValue.md) | | [optional] - -## Example - -```python -from vcell_client.models.field_data_reference_info import FieldDataReferenceInfo - -# TODO update the JSON string below -json = "{}" -# create an instance of FieldDataReferenceInfo from a JSON string -field_data_reference_info_instance = FieldDataReferenceInfo.from_json(json) -# print the JSON string representation of the object -print FieldDataReferenceInfo.to_json() - -# convert the object into a dict -field_data_reference_info_dict = field_data_reference_info_instance.to_dict() -# create an instance of FieldDataReferenceInfo from a dict -field_data_reference_info_form_dict = field_data_reference_info.from_dict(field_data_reference_info_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-restclient/docs/FieldDataReferences.md b/python-restclient/docs/FieldDataReferences.md deleted file mode 100644 index 4d540b6cb4..0000000000 --- a/python-restclient/docs/FieldDataReferences.md +++ /dev/null @@ -1,30 +0,0 @@ -# FieldDataReferences - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**external_data_identifiers** | [**List[ExternalDataIdentifier]**](ExternalDataIdentifier.md) | | [optional] -**external_data_annotations** | **List[str]** | | [optional] -**external_data_id_sim_refs** | **Dict[str, List[KeyValue]]** | | [optional] - -## Example - -```python -from vcell_client.models.field_data_references import FieldDataReferences - -# TODO update the JSON string below -json = "{}" -# create an instance of FieldDataReferences from a JSON string -field_data_references_instance = FieldDataReferences.from_json(json) -# print the JSON string representation of the object -print FieldDataReferences.to_json() - -# convert the object into a dict -field_data_references_dict = field_data_references_instance.to_dict() -# create an instance of FieldDataReferences from a dict -field_data_references_form_dict = field_data_references.from_dict(field_data_references_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-restclient/docs/GroupAccess.md b/python-restclient/docs/GroupAccess.md deleted file mode 100644 index 69f9dc09f9..0000000000 --- a/python-restclient/docs/GroupAccess.md +++ /dev/null @@ -1,29 +0,0 @@ -# GroupAccess - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**groupid** | **float** | | [optional] -**description** | **str** | | [optional] - -## Example - -```python -from vcell_client.models.group_access import GroupAccess - -# TODO update the JSON string below -json = "{}" -# create an instance of GroupAccess from a JSON string -group_access_instance = GroupAccess.from_json(json) -# print the JSON string representation of the object -print GroupAccess.to_json() - -# convert the object into a dict -group_access_dict = group_access_instance.to_dict() -# create an instance of GroupAccess from a dict -group_access_form_dict = group_access.from_dict(group_access_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-restclient/docs/IdentityProvider.md b/python-restclient/docs/IdentityProvider.md deleted file mode 100644 index 15580c3542..0000000000 --- a/python-restclient/docs/IdentityProvider.md +++ /dev/null @@ -1,10 +0,0 @@ -# IdentityProvider - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-restclient/docs/MapUser.md b/python-restclient/docs/MapUser.md deleted file mode 100644 index 8145afae0b..0000000000 --- a/python-restclient/docs/MapUser.md +++ /dev/null @@ -1,29 +0,0 @@ -# MapUser - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**user_id** | **str** | | [optional] -**password** | **str** | | [optional] - -## Example - -```python -from vcell_client.models.map_user import MapUser - -# TODO update the JSON string below -json = "{}" -# create an instance of MapUser from a JSON string -map_user_instance = MapUser.from_json(json) -# print the JSON string representation of the object -print MapUser.to_json() - -# convert the object into a dict -map_user_dict = map_user_instance.to_dict() -# create an instance of MapUser from a dict -map_user_form_dict = map_user.from_dict(map_user_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-restclient/docs/OverrideRepresentation.md b/python-restclient/docs/OverrideRepresentation.md deleted file mode 100644 index 6864eddf9b..0000000000 --- a/python-restclient/docs/OverrideRepresentation.md +++ /dev/null @@ -1,32 +0,0 @@ -# OverrideRepresentation - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | [optional] -**type** | **str** | | [optional] -**expression** | **str** | | [optional] -**values** | **List[str]** | | [optional] -**cardinality** | **int** | | [optional] - -## Example - -```python -from vcell_client.models.override_representation import OverrideRepresentation - -# TODO update the JSON string below -json = "{}" -# create an instance of OverrideRepresentation from a JSON string -override_representation_instance = OverrideRepresentation.from_json(json) -# print the JSON string representation of the object -print OverrideRepresentation.to_json() - -# convert the object into a dict -override_representation_dict = override_representation_instance.to_dict() -# create an instance of OverrideRepresentation from a dict -override_representation_form_dict = override_representation.from_dict(override_representation_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-restclient/docs/SaveFieldDataFromFile.md b/python-restclient/docs/SaveFieldDataFromFile.md deleted file mode 100644 index f1562adfcb..0000000000 --- a/python-restclient/docs/SaveFieldDataFromFile.md +++ /dev/null @@ -1,35 +0,0 @@ -# SaveFieldDataFromFile - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**short_spec_data** | **List[List[List[int]]]** | | [optional] -**var_names** | **List[str]** | | [optional] -**times** | **List[float]** | | [optional] -**origin** | [**Origin**](Origin.md) | | [optional] -**extent** | [**Extent**](Extent.md) | | [optional] -**isize** | [**ISize**](ISize.md) | | [optional] -**annotation** | **str** | | [optional] -**name** | **str** | | [optional] - -## Example - -```python -from vcell_client.models.save_field_data_from_file import SaveFieldDataFromFile - -# TODO update the JSON string below -json = "{}" -# create an instance of SaveFieldDataFromFile from a JSON string -save_field_data_from_file_instance = SaveFieldDataFromFile.from_json(json) -# print the JSON string representation of the object -print SaveFieldDataFromFile.to_json() - -# convert the object into a dict -save_field_data_from_file_dict = save_field_data_from_file_instance.to_dict() -# create an instance of SaveFieldDataFromFile from a dict -save_field_data_from_file_form_dict = save_field_data_from_file.from_dict(save_field_data_from_file_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-restclient/docs/Simulation.md b/python-restclient/docs/Simulation.md deleted file mode 100644 index 0d1753ab86..0000000000 --- a/python-restclient/docs/Simulation.md +++ /dev/null @@ -1,28 +0,0 @@ -# Simulation - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | [optional] - -## Example - -```python -from vcell_client.models.simulation import Simulation - -# TODO update the JSON string below -json = "{}" -# create an instance of Simulation from a JSON string -simulation_instance = Simulation.from_json(json) -# print the JSON string representation of the object -print Simulation.to_json() - -# convert the object into a dict -simulation_dict = simulation_instance.to_dict() -# create an instance of Simulation from a dict -simulation_form_dict = simulation.from_dict(simulation_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-restclient/docs/SimulationExecutionStatus.md b/python-restclient/docs/SimulationExecutionStatus.md deleted file mode 100644 index d664fc0592..0000000000 --- a/python-restclient/docs/SimulationExecutionStatus.md +++ /dev/null @@ -1,38 +0,0 @@ -# SimulationExecutionStatus - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**field_start_date** | **date** | | [optional] -**field_latest_update_date** | **date** | | [optional] -**field_end_date** | **date** | | [optional] -**field_compute_host** | **str** | | [optional] -**field_has_data** | **bool** | | [optional] -**field_htc_job_id** | [**HtcJobID**](HtcJobID.md) | | [optional] -**compute_host** | **str** | | [optional] -**end_date** | **date** | | [optional] -**latest_update_date** | **date** | | [optional] -**start_date** | **date** | | [optional] -**htc_job_id** | [**HtcJobID**](HtcJobID.md) | | [optional] - -## Example - -```python -from vcell_client.models.simulation_execution_status import SimulationExecutionStatus - -# TODO update the JSON string below -json = "{}" -# create an instance of SimulationExecutionStatus from a JSON string -simulation_execution_status_instance = SimulationExecutionStatus.from_json(json) -# print the JSON string representation of the object -print SimulationExecutionStatus.to_json() - -# convert the object into a dict -simulation_execution_status_dict = simulation_execution_status_instance.to_dict() -# create an instance of SimulationExecutionStatus from a dict -simulation_execution_status_form_dict = simulation_execution_status.from_dict(simulation_execution_status_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-restclient/docs/SimulationJobStatus.md b/python-restclient/docs/SimulationJobStatus.md deleted file mode 100644 index 25fa022403..0000000000 --- a/python-restclient/docs/SimulationJobStatus.md +++ /dev/null @@ -1,50 +0,0 @@ -# SimulationJobStatus - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**field_time_date_stamp** | **date** | | [optional] -**field_vc_sim_id** | [**VCSimulationIdentifier**](VCSimulationIdentifier.md) | | [optional] -**field_submit_date** | **date** | | [optional] -**field_scheduler_status** | [**SchedulerStatus**](SchedulerStatus.md) | | [optional] -**field_task_id** | **int** | | [optional] -**field_simulation_message** | [**SimulationMessage**](SimulationMessage.md) | | [optional] -**field_server_id** | [**VCellServerID**](VCellServerID.md) | | [optional] -**field_job_index** | **int** | | [optional] -**field_simulation_queue_entry_status** | [**SimulationQueueEntryStatus**](SimulationQueueEntryStatus.md) | | [optional] -**field_simulation_execution_status** | [**SimulationExecutionStatus**](SimulationExecutionStatus.md) | | [optional] -**compute_host** | **str** | | [optional] -**end_date** | **date** | | [optional] -**job_index** | **int** | | [optional] -**scheduler_status** | [**SchedulerStatus**](SchedulerStatus.md) | | [optional] -**server_id** | [**VCellServerID**](VCellServerID.md) | | [optional] -**simulation_execution_status** | [**SimulationExecutionStatus**](SimulationExecutionStatus.md) | | [optional] -**simulation_queue_entry_status** | [**SimulationQueueEntryStatus**](SimulationQueueEntryStatus.md) | | [optional] -**start_date** | **date** | | [optional] -**simulation_message** | [**SimulationMessage**](SimulationMessage.md) | | [optional] -**submit_date** | **date** | | [optional] -**task_id** | **int** | | [optional] -**time_date_stamp** | **date** | | [optional] -**v_c_simulation_identifier** | [**VCSimulationIdentifier**](VCSimulationIdentifier.md) | | [optional] - -## Example - -```python -from vcell_client.models.simulation_job_status import SimulationJobStatus - -# TODO update the JSON string below -json = "{}" -# create an instance of SimulationJobStatus from a JSON string -simulation_job_status_instance = SimulationJobStatus.from_json(json) -# print the JSON string representation of the object -print SimulationJobStatus.to_json() - -# convert the object into a dict -simulation_job_status_dict = simulation_job_status_instance.to_dict() -# create an instance of SimulationJobStatus from a dict -simulation_job_status_form_dict = simulation_job_status.from_dict(simulation_job_status_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-restclient/docs/SimulationQueueEntryStatus.md b/python-restclient/docs/SimulationQueueEntryStatus.md deleted file mode 100644 index 28b15d948e..0000000000 --- a/python-restclient/docs/SimulationQueueEntryStatus.md +++ /dev/null @@ -1,33 +0,0 @@ -# SimulationQueueEntryStatus - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**field_queue_priority** | **int** | | [optional] -**field_queue_date** | **date** | | [optional] -**field_queue_id** | [**SimulationQueueID**](SimulationQueueID.md) | | [optional] -**queue_date** | **date** | | [optional] -**queue_id** | [**SimulationQueueID**](SimulationQueueID.md) | | [optional] -**queue_priority** | **int** | | [optional] - -## Example - -```python -from vcell_client.models.simulation_queue_entry_status import SimulationQueueEntryStatus - -# TODO update the JSON string below -json = "{}" -# create an instance of SimulationQueueEntryStatus from a JSON string -simulation_queue_entry_status_instance = SimulationQueueEntryStatus.from_json(json) -# print the JSON string representation of the object -print SimulationQueueEntryStatus.to_json() - -# convert the object into a dict -simulation_queue_entry_status_dict = simulation_queue_entry_status_instance.to_dict() -# create an instance of SimulationQueueEntryStatus from a dict -simulation_queue_entry_status_form_dict = simulation_queue_entry_status.from_dict(simulation_queue_entry_status_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-restclient/docs/UCDInfo.md b/python-restclient/docs/UCDInfo.md deleted file mode 100644 index 9e958d8e97..0000000000 --- a/python-restclient/docs/UCDInfo.md +++ /dev/null @@ -1,39 +0,0 @@ -# UCDInfo - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ucd_grid_nodes** | **List[List[List[Coordinate]]]** | | [optional] -**ucd_membrane_quads** | **List[List[int]]** | | [optional] -**reduced_ucd_grid_nodes_v** | [**List[Coordinate]**](Coordinate.md) | | [optional] -**u_cd_grid_nodes** | **List[List[List[Coordinate]]]** | | [optional] -**u_cd_membrane_quads** | **List[List[int]]** | | [optional] -**num_volume_nodes_x** | **int** | | [optional] -**num_volume_nodes_y** | **int** | | [optional] -**num_volume_nodes_z** | **int** | | [optional] -**num_points_xyz** | **int** | | [optional] -**num_volume_nodes_xy** | **int** | | [optional] -**num_volume_cells** | **int** | | [optional] -**num_membrane_cells** | **int** | | [optional] - -## Example - -```python -from vcell_client.models.ucd_info import UCDInfo - -# TODO update the JSON string below -json = "{}" -# create an instance of UCDInfo from a JSON string -ucd_info_instance = UCDInfo.from_json(json) -# print the JSON string representation of the object -print UCDInfo.to_json() - -# convert the object into a dict -ucd_info_dict = ucd_info_instance.to_dict() -# create an instance of UCDInfo from a dict -ucd_info_form_dict = ucd_info.from_dict(ucd_info_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-restclient/docs/User1.md b/python-restclient/docs/User1.md deleted file mode 100644 index 6645ab4fe7..0000000000 --- a/python-restclient/docs/User1.md +++ /dev/null @@ -1,33 +0,0 @@ -# User1 - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**user_name** | **str** | | [optional] -**key** | [**KeyValue**](KeyValue.md) | | [optional] -**i_d** | [**KeyValue**](KeyValue.md) | | [optional] -**name** | **str** | | [optional] -**publisher** | **bool** | | [optional] -**test_account** | **bool** | | [optional] - -## Example - -```python -from vcell_client.models.user1 import User1 - -# TODO update the JSON string below -json = "{}" -# create an instance of User1 from a JSON string -user1_instance = User1.from_json(json) -# print the JSON string representation of the object -print User1.to_json() - -# convert the object into a dict -user1_dict = user1_instance.to_dict() -# create an instance of User1 from a dict -user1_form_dict = user1.from_dict(user1_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-restclient/docs/UserIdentity.md b/python-restclient/docs/UserIdentity.md deleted file mode 100644 index 067b0609ba..0000000000 --- a/python-restclient/docs/UserIdentity.md +++ /dev/null @@ -1,31 +0,0 @@ -# UserIdentity - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **float** | | [optional] -**user_name** | **str** | | [optional] -**subject** | **str** | | [optional] -**insert_date** | **datetime** | | [optional] - -## Example - -```python -from vcell_client.models.user_identity import UserIdentity - -# TODO update the JSON string below -json = "{}" -# create an instance of UserIdentity from a JSON string -user_identity_instance = UserIdentity.from_json(json) -# print the JSON string representation of the object -print UserIdentity.to_json() - -# convert the object into a dict -user_identity_dict = user_identity_instance.to_dict() -# create an instance of UserIdentity from a dict -user_identity_form_dict = user_identity.from_dict(user_identity_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-restclient/docs/VCellServerID.md b/python-restclient/docs/VCellServerID.md deleted file mode 100644 index c1c3d8636d..0000000000 --- a/python-restclient/docs/VCellServerID.md +++ /dev/null @@ -1,28 +0,0 @@ -# VCellServerID - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**server_id** | **str** | | [optional] - -## Example - -```python -from vcell_client.models.v_cell_server_id import VCellServerID - -# TODO update the JSON string below -json = "{}" -# create an instance of VCellServerID from a JSON string -v_cell_server_id_instance = VCellServerID.from_json(json) -# print the JSON string representation of the object -print VCellServerID.to_json() - -# convert the object into a dict -v_cell_server_id_dict = v_cell_server_id_instance.to_dict() -# create an instance of VCellServerID from a dict -v_cell_server_id_form_dict = v_cell_server_id.from_dict(v_cell_server_id_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-restclient/docs/Version.md b/python-restclient/docs/Version.md deleted file mode 100644 index 455ffd1372..0000000000 --- a/python-restclient/docs/Version.md +++ /dev/null @@ -1,44 +0,0 @@ -# Version - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**version_key** | [**KeyValue**](KeyValue.md) | | [optional] -**version_name** | **str** | | [optional] -**version_owner** | [**User**](User.md) | | [optional] -**version_group_access** | [**GroupAccess**](GroupAccess.md) | | [optional] -**version_branch_point_ref** | [**KeyValue**](KeyValue.md) | | [optional] -**version_branch_id** | **float** | | [optional] -**version_date** | **date** | | [optional] -**version_flag** | [**VersionFlag**](VersionFlag.md) | | [optional] -**version_annot** | **str** | | [optional] -**annot** | **str** | | [optional] -**branch_id** | **float** | | [optional] -**branch_point_ref_key** | [**KeyValue**](KeyValue.md) | | [optional] -**var_date** | **date** | | [optional] -**flag** | [**VersionFlag**](VersionFlag.md) | | [optional] -**group_access** | [**GroupAccess**](GroupAccess.md) | | [optional] -**name** | **str** | | [optional] -**owner** | [**User**](User.md) | | [optional] - -## Example - -```python -from vcell_client.models.version import Version - -# TODO update the JSON string below -json = "{}" -# create an instance of Version from a JSON string -version_instance = Version.from_json(json) -# print the JSON string representation of the object -print Version.to_json() - -# convert the object into a dict -version_dict = version_instance.to_dict() -# create an instance of Version from a dict -version_form_dict = version.from_dict(version_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-restclient/docs/VersionFlag.md b/python-restclient/docs/VersionFlag.md deleted file mode 100644 index ae72813eb1..0000000000 --- a/python-restclient/docs/VersionFlag.md +++ /dev/null @@ -1,32 +0,0 @@ -# VersionFlag - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**version_flag** | **int** | | [optional] -**int_value** | **int** | | [optional] -**archived** | **bool** | | [optional] -**current** | **bool** | | [optional] -**published** | **bool** | | [optional] - -## Example - -```python -from vcell_client.models.version_flag import VersionFlag - -# TODO update the JSON string below -json = "{}" -# create an instance of VersionFlag from a JSON string -version_flag_instance = VersionFlag.from_json(json) -# print the JSON string representation of the object -print VersionFlag.to_json() - -# convert the object into a dict -version_flag_dict = version_flag_instance.to_dict() -# create an instance of VersionFlag from a dict -version_flag_form_dict = version_flag.from_dict(version_flag_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-restclient/docs/VersionableType.md b/python-restclient/docs/VersionableType.md deleted file mode 100644 index d2908a7354..0000000000 --- a/python-restclient/docs/VersionableType.md +++ /dev/null @@ -1,35 +0,0 @@ -# VersionableType - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**v_type** | **int** | | [optional] -**name** | **str** | | [optional] -**v_class** | **object** | | [optional] -**b_top_level** | **bool** | | [optional] -**code** | **int** | | [optional] -**is_top_level** | **bool** | | [optional] -**type_name** | **str** | | [optional] -**version_class** | **object** | | [optional] - -## Example - -```python -from vcell_client.models.versionable_type import VersionableType - -# TODO update the JSON string below -json = "{}" -# create an instance of VersionableType from a JSON string -versionable_type_instance = VersionableType.from_json(json) -# print the JSON string representation of the object -print VersionableType.to_json() - -# convert the object into a dict -versionable_type_dict = versionable_type_instance.to_dict() -# create an instance of VersionableType from a dict -versionable_type_form_dict = versionable_type.from_dict(versionable_type_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-restclient/docs/VersionableTypeVersion.md b/python-restclient/docs/VersionableTypeVersion.md deleted file mode 100644 index 1efb639535..0000000000 --- a/python-restclient/docs/VersionableTypeVersion.md +++ /dev/null @@ -1,29 +0,0 @@ -# VersionableTypeVersion - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**v_type** | [**VersionableType**](VersionableType.md) | | [optional] -**version** | [**Version**](Version.md) | | [optional] - -## Example - -```python -from vcell_client.models.versionable_type_version import VersionableTypeVersion - -# TODO update the JSON string below -json = "{}" -# create an instance of VersionableTypeVersion from a JSON string -versionable_type_version_instance = VersionableTypeVersion.from_json(json) -# print the JSON string representation of the object -print VersionableTypeVersion.to_json() - -# convert the object into a dict -versionable_type_version_dict = versionable_type_version_instance.to_dict() -# create an instance of VersionableTypeVersion from a dict -versionable_type_version_form_dict = versionable_type_version.from_dict(versionable_type_version_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-restclient/pyproject.toml b/python-restclient/pyproject.toml index 6af8dcc9dd..ec8675c605 100644 --- a/python-restclient/pyproject.toml +++ b/python-restclient/pyproject.toml @@ -10,15 +10,12 @@ keywords = ["OpenAPI", "OpenAPI-Generator", "VCell API"] include = ["vcell_client/py.typed"] [tool.poetry.dependencies] -python = "3.10.*" +python = "^3.7" urllib3 = ">= 1.25.3" python-dateutil = ">=2.8.2" -pydantic = ">=2.10.4" -typing-extensions = ">=4.6.0" -pandas = ">=2" -jupyter = "^1.1.1" -requests_oauth2client = ">=1.6.0" +pydantic = ">=2" +typing-extensions = ">=4.7.1" [tool.poetry.dev-dependencies] pytest = ">=7.2.1" diff --git a/python-restclient/test/test_access_token_representation.py b/python-restclient/test/test_access_token_representation.py deleted file mode 100644 index 990a8cf968..0000000000 --- a/python-restclient/test/test_access_token_representation.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from vcell_client.models.access_token_representation import AccessTokenRepresentation - -class TestAccessTokenRepresentation(unittest.TestCase): - """AccessTokenRepresentation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AccessTokenRepresentation: - """Test AccessTokenRepresentation - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AccessTokenRepresentation` - """ - model = AccessTokenRepresentation() - if include_optional: - return AccessTokenRepresentation( - token = '', - creation_date_seconds = 56, - expire_date_seconds = 56, - user_id = '', - user_key = '' - ) - else: - return AccessTokenRepresentation( - ) - """ - - def testAccessTokenRepresentation(self): - """Test AccessTokenRepresentation""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/python-restclient/test/test_analyzed_results_from_field_data.py b/python-restclient/test/test_analyzed_results_from_field_data.py index 785f9b9781..1d6a48aec4 100644 --- a/python-restclient/test/test_analyzed_results_from_field_data.py +++ b/python-restclient/test/test_analyzed_results_from_field_data.py @@ -61,8 +61,7 @@ def make_instance(self, include_optional) -> AnalyzedResultsFromFieldData: isize = vcell_client.models.i_size.ISize( x = 56, y = 56, - z = 56, - x_yz = 56, ), + z = 56, ), annotation = '', name = '' ) diff --git a/python-restclient/test/test_bio_model.py b/python-restclient/test/test_bio_model.py index 1e99c4c553..5232c011f8 100644 --- a/python-restclient/test/test_bio_model.py +++ b/python-restclient/test/test_bio_model.py @@ -46,12 +46,12 @@ def make_instance(self, include_optional) -> BioModel: saved_date = 56, annot = '', branch_id = '', - model_key = '', + phys_model_key = '', owner_name = '', owner_key = '', - simulations = [ - vcell_client.models.simulation.Simulation( - name = '', ) + simulation_key_list = [ + vcell_client.models.key_value.KeyValue( + value = 1.337, ) ], applications = [ vcell_client.models.application.Application() diff --git a/python-restclient/test/test_bio_model_resource_api.py b/python-restclient/test/test_bio_model_resource_api.py index d1aa4c6bb7..fea6ab89d1 100644 --- a/python-restclient/test/test_bio_model_resource_api.py +++ b/python-restclient/test/test_bio_model_resource_api.py @@ -34,41 +34,6 @@ def test_delete_bio_model(self) -> None: """ pass - def test_get_bio_model_bngl(self) -> None: - """Test case for get_bio_model_bngl - - Get the BioModel in BNGL format. - """ - pass - - def test_get_bio_model_diagram(self) -> None: - """Test case for get_bio_model_diagram - - Get the BioModels diagram. - """ - pass - - def test_get_bio_model_omex(self) -> None: - """Test case for get_bio_model_omex - - Get the BioModel in OMEX format. - """ - pass - - def test_get_bio_model_sbml(self) -> None: - """Test case for get_bio_model_sbml - - Get the BioModel in SBML format. - """ - pass - - def test_get_bio_model_vcml(self) -> None: - """Test case for get_bio_model_vcml - - Get the BioModel in VCML format. - """ - pass - def test_get_biomodel_by_id(self) -> None: """Test case for get_biomodel_by_id diff --git a/python-restclient/test/test_biomodel_ref.py b/python-restclient/test/test_biomodel_ref.py index 6488da0a94..26a1cc76e6 100644 --- a/python-restclient/test/test_biomodel_ref.py +++ b/python-restclient/test/test_biomodel_ref.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - VCell API (development) + VCell API VCell API diff --git a/python-restclient/test/test_cartesian_mesh.py b/python-restclient/test/test_cartesian_mesh.py deleted file mode 100644 index fe355830b1..0000000000 --- a/python-restclient/test/test_cartesian_mesh.py +++ /dev/null @@ -1,118 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from vcell_client.models.cartesian_mesh import CartesianMesh - -class TestCartesianMesh(unittest.TestCase): - """CartesianMesh unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CartesianMesh: - """Test CartesianMesh - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CartesianMesh` - """ - model = CartesianMesh() - if include_optional: - return CartesianMesh( - compressed_bytes = bytes(b'blah'), - u_cd_info = vcell_client.models.ucd_info.UCDInfo( - ucd_grid_nodes = [ - [ - [ - vcell_client.models.coordinate.Coordinate( - x = 1.337, - y = 1.337, - z = 1.337, ) - ] - ] - ], - ucd_membrane_quads = [ - [ - 56 - ] - ], - reduced_ucd_grid_nodes_v = [ - vcell_client.models.coordinate.Coordinate( - x = 1.337, - y = 1.337, - z = 1.337, ) - ], - u_cd_grid_nodes = [ - [ - [ - - ] - ] - ], - u_cd_membrane_quads = [ - [ - 56 - ] - ], - num_volume_nodes_x = 56, - num_volume_nodes_y = 56, - num_volume_nodes_z = 56, - num_points_xyz = 56, - num_volume_nodes_xy = 56, - num_volume_cells = 56, - num_membrane_cells = 56, ), - geometry_dimension = 56, - volume_region_map_subvolume = { - 'key' : 56 - }, - membrane_region_map_subvolumes_in_out = { - 'key' : null - }, - num_membrane_elements = 56, - num_membrane_regions = 56, - num_volume_elements = 56, - num_volume_regions = 56, - i_size = vcell_client.models.i_size.ISize( - x = 56, - y = 56, - z = 56, - x_yz = 56, ), - size_x = 56, - size_y = 56, - size_z = 56, - membrane_connectivity_ok = True, - output_fields = [ - null - ], - chombo_mesh = True - ) - else: - return CartesianMesh( - ) - """ - - def testCartesianMesh(self): - """Test CartesianMesh""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/python-restclient/test/test_coordinate.py b/python-restclient/test/test_coordinate.py deleted file mode 100644 index a489a4e76c..0000000000 --- a/python-restclient/test/test_coordinate.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from vcell_client.models.coordinate import Coordinate - -class TestCoordinate(unittest.TestCase): - """Coordinate unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Coordinate: - """Test Coordinate - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `Coordinate` - """ - model = Coordinate() - if include_optional: - return Coordinate( - x = 1.337, - y = 1.337, - z = 1.337 - ) - else: - return Coordinate( - ) - """ - - def testCoordinate(self): - """Test Coordinate""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/python-restclient/test/test_external_data_identifier.py b/python-restclient/test/test_external_data_identifier.py index ff3a9136fe..b6f749ab0d 100644 --- a/python-restclient/test/test_external_data_identifier.py +++ b/python-restclient/test/test_external_data_identifier.py @@ -43,12 +43,9 @@ def make_instance(self, include_optional) -> ExternalDataIdentifier: user_name = '', key = vcell_client.models.key_value.KeyValue( value = 1.337, ), - i_d = vcell_client.models.key_value.KeyValue( - value = 1.337, ), name = '', test_account = True, ), name = '', - i_d = '', job_index = 56, simulation_key = vcell_client.models.key_value.KeyValue( value = 1.337, ), diff --git a/python-restclient/test/test_field_data_db_operation_spec.py b/python-restclient/test/test_field_data_db_operation_spec.py deleted file mode 100644 index e2d11e9eed..0000000000 --- a/python-restclient/test/test_field_data_db_operation_spec.py +++ /dev/null @@ -1,131 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from vcell_client.models.field_data_db_operation_spec import FieldDataDBOperationSpec - -class TestFieldDataDBOperationSpec(unittest.TestCase): - """FieldDataDBOperationSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FieldDataDBOperationSpec: - """Test FieldDataDBOperationSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FieldDataDBOperationSpec` - """ - model = FieldDataDBOperationSpec() - if include_optional: - return FieldDataDBOperationSpec( - op_type = 56, - spec_edi = vcell_client.models.external_data_identifier.ExternalDataIdentifier( - key = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - owner = vcell_client.models.user.User( - user_name = '', - i_d = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - name = '', - test_account = True, ), - name = '', - i_d = '', - job_index = 56, - simulation_key = , - parameter_scan_type = True, - data_key = , ), - owner = vcell_client.models.user.User( - user_name = '', - key = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - i_d = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - name = '', - test_account = True, ), - new_ext_data_id_name = '', - annotation = '', - source_names = [ - '' - ], - source_owner = vcell_client.models.versionable_type_version.VersionableTypeVersion( - v_type = vcell_client.models.versionable_type.VersionableType( - name = '', - v_class = vcell_client.models.v_class.vClass(), - b_top_level = True, - code = 56, - is_top_level = True, - type_name = '', - version_class = vcell_client.models.version_class.versionClass(), ), - version = vcell_client.models.version.Version( - version_key = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - version_name = '', - version_owner = vcell_client.models.user.User( - user_name = '', - key = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - i_d = , - name = '', - test_account = True, ), - version_group_access = vcell_client.models.group_access.GroupAccess( - groupid = 1.337, - description = '', ), - version_branch_point_ref = , - version_branch_id = 1.337, - version_date = 'Thu Mar 10 00:00:00 UTC 2022', - version_flag = vcell_client.models.version_flag.VersionFlag( - int_value = 56, - archived = True, - current = True, - published = True, ), - version_annot = '', - annot = '', - branch_id = 1.337, - branch_point_ref_key = , - date = 'Thu Mar 10 00:00:00 UTC 2022', - flag = vcell_client.models.version_flag.VersionFlag( - int_value = 56, - archived = True, - current = True, - published = True, ), - group_access = vcell_client.models.group_access.GroupAccess( - groupid = 1.337, - description = '', ), - name = '', - owner = vcell_client.models.user.User( - user_name = '', - name = '', - test_account = True, ), ), ), - b_include_sim_refs = True - ) - else: - return FieldDataDBOperationSpec( - ) - """ - - def testFieldDataDBOperationSpec(self): - """Test FieldDataDBOperationSpec""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/python-restclient/test/test_field_data_external_data_ids.py b/python-restclient/test/test_field_data_external_data_ids.py deleted file mode 100644 index 5bf523de21..0000000000 --- a/python-restclient/test/test_field_data_external_data_ids.py +++ /dev/null @@ -1,78 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from vcell_client.models.field_data_external_data_ids import FieldDataExternalDataIDs - -class TestFieldDataExternalDataIDs(unittest.TestCase): - """FieldDataExternalDataIDs unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FieldDataExternalDataIDs: - """Test FieldDataExternalDataIDs - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FieldDataExternalDataIDs` - """ - model = FieldDataExternalDataIDs() - if include_optional: - return FieldDataExternalDataIDs( - external_data_identifiers = [ - vcell_client.models.external_data_identifier.ExternalDataIdentifier( - key = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - owner = vcell_client.models.user.User( - user_name = '', - i_d = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - name = '', - test_account = True, ), - name = '', - i_d = '', - job_index = 56, - simulation_key = , - parameter_scan_type = True, - data_key = , ) - ], - external_data_annotations = [ - '' - ], - external_data_id_sim_refs = { - 'key' : [ - vcell_client.models.key_value.KeyValue( - value = 1.337, ) - ] - } - ) - else: - return FieldDataExternalDataIDs( - ) - """ - - def testFieldDataExternalDataIDs(self): - """Test FieldDataExternalDataIDs""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/python-restclient/test/test_field_data_file_operation_results.py b/python-restclient/test/test_field_data_file_operation_results.py deleted file mode 100644 index 70d9dbaad7..0000000000 --- a/python-restclient/test/test_field_data_file_operation_results.py +++ /dev/null @@ -1,101 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from vcell_client.models.field_data_file_operation_results import FieldDataFileOperationResults - -class TestFieldDataFileOperationResults(unittest.TestCase): - """FieldDataFileOperationResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FieldDataFileOperationResults: - """Test FieldDataFileOperationResults - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FieldDataFileOperationResults` - """ - model = FieldDataFileOperationResults() - if include_optional: - return FieldDataFileOperationResults( - data_identifier_arr = [ - vcell_client.models.data_identifier.DataIdentifier( - name = '', - display_name = '', - variable_type = vcell_client.models.variable_type.VariableType( - type = 56, - variable_domain = 'VARIABLEDOMAIN_POSTPROCESSING', - name = '', - units = '', - label = '', - legacy_warn = True, - default_label = '', - default_units = '', - type_name = '', ), - domain = vcell_client.models.domain.Domain( - name = '', ), - b_function = True, - function = True, - visible = True, ) - ], - i_size = vcell_client.models.i_size.ISize( - x = 56, - y = 56, - z = 56, - x_yz = 56, ), - origin = vcell_client.models.origin.Origin( - x = 1.337, - y = 1.337, - z = 1.337, ), - extent = vcell_client.models.extent.Extent( - x = 1.337, - y = 1.337, - z = 1.337, ), - times = [ - 1.337 - ], - dependant_function_info = [ - vcell_client.models.field_data_reference_info.FieldDataReferenceInfo( - reference_source_type = '', - reference_source_name = '', - application_name = '', - simulation_name = '', - ref_source_version_date = '', - func_names = [ - '' - ], - ref_source_version_key = vcell_client.models.key_value.KeyValue( - value = 1.337, ), ) - ] - ) - else: - return FieldDataFileOperationResults( - ) - """ - - def testFieldDataFileOperationResults(self): - """Test FieldDataFileOperationResults""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/python-restclient/test/test_field_data_file_operation_spec.py b/python-restclient/test/test_field_data_file_operation_spec.py deleted file mode 100644 index 058ba9b590..0000000000 --- a/python-restclient/test/test_field_data_file_operation_spec.py +++ /dev/null @@ -1,200 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from vcell_client.models.field_data_file_operation_spec import FieldDataFileOperationSpec - -class TestFieldDataFileOperationSpec(unittest.TestCase): - """FieldDataFileOperationSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FieldDataFileOperationSpec: - """Test FieldDataFileOperationSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FieldDataFileOperationSpec` - """ - model = FieldDataFileOperationSpec() - if include_optional: - return FieldDataFileOperationSpec( - op_type = 56, - short_spec_data = [ - [ - [ - 56 - ] - ] - ], - double_spec_data = [ - [ - [ - 1.337 - ] - ] - ], - cartesian_mesh = vcell_client.models.cartesian_mesh.CartesianMesh( - compressed_bytes = bytes(b'blah'), - u_cd_info = vcell_client.models.ucd_info.UCDInfo( - ucd_grid_nodes = [ - [ - [ - vcell_client.models.coordinate.Coordinate( - x = 1.337, - y = 1.337, - z = 1.337, ) - ] - ] - ], - ucd_membrane_quads = [ - [ - 56 - ] - ], - reduced_ucd_grid_nodes_v = [ - vcell_client.models.coordinate.Coordinate( - x = 1.337, - y = 1.337, - z = 1.337, ) - ], - u_cd_grid_nodes = [ - [ - [ - - ] - ] - ], - u_cd_membrane_quads = [ - [ - 56 - ] - ], - num_volume_nodes_x = 56, - num_volume_nodes_y = 56, - num_volume_nodes_z = 56, - num_points_xyz = 56, - num_volume_nodes_xy = 56, - num_volume_cells = 56, - num_membrane_cells = 56, ), - geometry_dimension = 56, - volume_region_map_subvolume = { - 'key' : 56 - }, - membrane_region_map_subvolumes_in_out = { - 'key' : null - }, - num_membrane_elements = 56, - num_membrane_regions = 56, - num_volume_elements = 56, - num_volume_regions = 56, - i_size = vcell_client.models.i_size.ISize( - x = 56, - y = 56, - z = 56, - x_yz = 56, ), - size_x = 56, - size_y = 56, - size_z = 56, - membrane_connectivity_ok = True, - output_fields = [ - null - ], - chombo_mesh = True, ), - spec_edi = vcell_client.models.external_data_identifier.ExternalDataIdentifier( - key = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - owner = vcell_client.models.user.User( - user_name = '', - i_d = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - name = '', - test_account = True, ), - name = '', - i_d = '', - job_index = 56, - simulation_key = , - parameter_scan_type = True, - data_key = , ), - var_names = [ - '' - ], - variable_types = [ - vcell_client.models.variable_type.VariableType( - type = 56, - variable_domain = 'VARIABLEDOMAIN_POSTPROCESSING', - name = '', - units = '', - label = '', - legacy_warn = True, - default_label = '', - default_units = '', - type_name = '', ) - ], - times = [ - 1.337 - ], - owner = vcell_client.models.user.User( - user_name = '', - key = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - i_d = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - name = '', - test_account = True, ), - origin = vcell_client.models.origin.Origin( - x = 1.337, - y = 1.337, - z = 1.337, ), - extent = vcell_client.models.extent.Extent( - x = 1.337, - y = 1.337, - z = 1.337, ), - isize = vcell_client.models.i_size.ISize( - x = 56, - y = 56, - z = 56, - x_yz = 56, ), - annotation = '', - source_sim_param_scan_job_index = 56, - source_sim_data_key = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - source_owner = vcell_client.models.user.User( - user_name = '', - key = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - i_d = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - name = '', - test_account = True, ) - ) - else: - return FieldDataFileOperationSpec( - ) - """ - - def testFieldDataFileOperationSpec(self): - """Test FieldDataFileOperationSpec""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/python-restclient/test/test_field_data_info.py b/python-restclient/test/test_field_data_info.py deleted file mode 100644 index 54c81da783..0000000000 --- a/python-restclient/test/test_field_data_info.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from vcell_client.models.field_data_info import FieldDataInfo - -class TestFieldDataInfo(unittest.TestCase): - """FieldDataInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FieldDataInfo: - """Test FieldDataInfo - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FieldDataInfo` - """ - model = FieldDataInfo() - if include_optional: - return FieldDataInfo( - extent = vcell_client.models.extent.Extent( - x = 1.337, - y = 1.337, - z = 1.337, ), - origin = vcell_client.models.origin.Origin( - x = 1.337, - y = 1.337, - z = 1.337, ), - isize = vcell_client.models.i_size.ISize( - x = 56, - y = 56, - z = 56, - x_yz = 56, ), - times = [ - 1.337 - ] - ) - else: - return FieldDataInfo( - ) - """ - - def testFieldDataInfo(self): - """Test FieldDataInfo""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/python-restclient/test/test_field_data_no_copy_conflict.py b/python-restclient/test/test_field_data_no_copy_conflict.py deleted file mode 100644 index 559aa101cd..0000000000 --- a/python-restclient/test/test_field_data_no_copy_conflict.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from vcell_client.models.field_data_no_copy_conflict import FieldDataNoCopyConflict - -class TestFieldDataNoCopyConflict(unittest.TestCase): - """FieldDataNoCopyConflict unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FieldDataNoCopyConflict: - """Test FieldDataNoCopyConflict - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FieldDataNoCopyConflict` - """ - model = FieldDataNoCopyConflict() - if include_optional: - return FieldDataNoCopyConflict( - old_name_new_id_hash = { - 'key' : vcell_client.models.external_data_identifier.ExternalDataIdentifier( - key = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - owner = vcell_client.models.user.User( - user_name = '', - i_d = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - name = '', - test_account = True, ), - name = '', - i_d = '', - job_index = 56, - simulation_key = , - parameter_scan_type = True, - data_key = , ) - }, - old_name_old_ext_data_id_key_hash = { - 'key' : vcell_client.models.key_value.KeyValue( - value = 1.337, ) - } - ) - else: - return FieldDataNoCopyConflict( - ) - """ - - def testFieldDataNoCopyConflict(self): - """Test FieldDataNoCopyConflict""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/python-restclient/test/test_field_data_reference.py b/python-restclient/test/test_field_data_reference.py index 714789fb37..a2db444a9a 100644 --- a/python-restclient/test/test_field_data_reference.py +++ b/python-restclient/test/test_field_data_reference.py @@ -42,14 +42,12 @@ def make_instance(self, include_optional) -> FieldDataReference: value = 1.337, ), owner = vcell_client.models.user.User( user_name = '', - i_d = vcell_client.models.key_value.KeyValue( - value = 1.337, ), name = '', test_account = True, ), name = '', - i_d = '', job_index = 56, - simulation_key = , + simulation_key = vcell_client.models.key_value.KeyValue( + value = 1.337, ), parameter_scan_type = True, data_key = , ), external_data_annotation = '', diff --git a/python-restclient/test/test_field_data_reference_info.py b/python-restclient/test/test_field_data_reference_info.py deleted file mode 100644 index aca9a76da3..0000000000 --- a/python-restclient/test/test_field_data_reference_info.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from vcell_client.models.field_data_reference_info import FieldDataReferenceInfo - -class TestFieldDataReferenceInfo(unittest.TestCase): - """FieldDataReferenceInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FieldDataReferenceInfo: - """Test FieldDataReferenceInfo - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FieldDataReferenceInfo` - """ - model = FieldDataReferenceInfo() - if include_optional: - return FieldDataReferenceInfo( - reference_source_type = '', - reference_source_name = '', - application_name = '', - simulation_name = '', - ref_source_version_date = '', - func_names = [ - '' - ], - ref_source_version_key = vcell_client.models.key_value.KeyValue( - value = 1.337, ) - ) - else: - return FieldDataReferenceInfo( - ) - """ - - def testFieldDataReferenceInfo(self): - """Test FieldDataReferenceInfo""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/python-restclient/test/test_field_data_references.py b/python-restclient/test/test_field_data_references.py deleted file mode 100644 index 9d3009a591..0000000000 --- a/python-restclient/test/test_field_data_references.py +++ /dev/null @@ -1,78 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from vcell_client.models.field_data_references import FieldDataReferences - -class TestFieldDataReferences(unittest.TestCase): - """FieldDataReferences unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FieldDataReferences: - """Test FieldDataReferences - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FieldDataReferences` - """ - model = FieldDataReferences() - if include_optional: - return FieldDataReferences( - external_data_identifiers = [ - vcell_client.models.external_data_identifier.ExternalDataIdentifier( - key = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - owner = vcell_client.models.user.User( - user_name = '', - i_d = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - name = '', - test_account = True, ), - name = '', - i_d = '', - job_index = 56, - simulation_key = , - parameter_scan_type = True, - data_key = , ) - ], - external_data_annotations = [ - '' - ], - external_data_id_sim_refs = { - 'key' : [ - vcell_client.models.key_value.KeyValue( - value = 1.337, ) - ] - } - ) - else: - return FieldDataReferences( - ) - """ - - def testFieldDataReferences(self): - """Test FieldDataReferences""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/python-restclient/test/test_field_data_resource_api.py b/python-restclient/test/test_field_data_resource_api.py index 37d45bfae6..223c7efcba 100644 --- a/python-restclient/test/test_field_data_resource_api.py +++ b/python-restclient/test/test_field_data_resource_api.py @@ -27,37 +27,38 @@ def setUp(self) -> None: def tearDown(self) -> None: pass - def test_copy_field_data(self) -> None: - """Test case for copy_field_data + def test_analyze_field_data_file(self) -> None: + """Test case for analyze_field_data_file - Copy an existing field data entry. + Analyze the field data from the uploaded file. Filenames must be lowercase alphanumeric, and can contain underscores. """ pass - def test_create_new_field_data_file(self) -> None: - """Test case for create_new_field_data_file + def test_create_field_data_from_analyzed_file(self) -> None: + """Test case for create_field_data_from_analyzed_file + Take the analyzed results of the field data, modify it to your liking, then save it on the server. """ pass - def test_create_new_field_data_from_simulation(self) -> None: - """Test case for create_new_field_data_from_simulation + def test_delete_field_data(self) -> None: + """Test case for delete_field_data - Create new field data from a simulation. + Delete the selected field data. """ pass - def test_delete_field_data(self) -> None: - """Test case for delete_field_data + def test_get_all_field_data_ids(self) -> None: + """Test case for get_all_field_data_ids - Delete the selected field data. + Get all of the ids used to identify, and retrieve field data. """ pass - def test_get_all_field_data(self) -> None: - """Test case for get_all_field_data + def test_get_field_data_shape_from_id(self) -> None: + """Test case for get_field_data_shape_from_id - Get all of the field data for that user. + Get the shape of the field data. That is it's size, origin, extent, and data identifiers. """ pass diff --git a/python-restclient/test/test_group_access.py b/python-restclient/test/test_group_access.py deleted file mode 100644 index 164ba10d93..0000000000 --- a/python-restclient/test/test_group_access.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from vcell_client.models.group_access import GroupAccess - -class TestGroupAccess(unittest.TestCase): - """GroupAccess unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> GroupAccess: - """Test GroupAccess - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `GroupAccess` - """ - model = GroupAccess() - if include_optional: - return GroupAccess( - groupid = 1.337, - description = '' - ) - else: - return GroupAccess( - ) - """ - - def testGroupAccess(self): - """Test GroupAccess""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/python-restclient/test/test_hello_world_api.py b/python-restclient/test/test_hello_world_api.py index 0392ac752e..d1ce89f48f 100644 --- a/python-restclient/test/test_hello_world_api.py +++ b/python-restclient/test/test_hello_world_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - VCell API (test) + VCell API VCell API diff --git a/python-restclient/test/test_hello_world_message.py b/python-restclient/test/test_hello_world_message.py index 6dcfd79b5e..7bb6da06ae 100644 --- a/python-restclient/test/test_hello_world_message.py +++ b/python-restclient/test/test_hello_world_message.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - VCell API (test) + VCell API VCell API diff --git a/python-restclient/test/test_i_size.py b/python-restclient/test/test_i_size.py index c280acad52..58fc58840f 100644 --- a/python-restclient/test/test_i_size.py +++ b/python-restclient/test/test_i_size.py @@ -39,8 +39,7 @@ def make_instance(self, include_optional) -> ISize: return ISize( x = 56, y = 56, - z = 56, - x_yz = 56 + z = 56 ) else: return ISize( diff --git a/python-restclient/test/test_identity_provider.py b/python-restclient/test/test_identity_provider.py deleted file mode 100644 index c7ebb2e59c..0000000000 --- a/python-restclient/test/test_identity_provider.py +++ /dev/null @@ -1,35 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from vcell_client.models.identity_provider import IdentityProvider - -class TestIdentityProvider(unittest.TestCase): - """IdentityProvider unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testIdentityProvider(self): - """Test IdentityProvider""" - # inst = IdentityProvider() - -if __name__ == '__main__': - unittest.main() diff --git a/python-restclient/test/test_map_user.py b/python-restclient/test/test_map_user.py deleted file mode 100644 index 61a79fb348..0000000000 --- a/python-restclient/test/test_map_user.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - VCell API (development) - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from vcell_client.models.map_user import MapUser - -class TestMapUser(unittest.TestCase): - """MapUser unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> MapUser: - """Test MapUser - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `MapUser` - """ - model = MapUser() - if include_optional: - return MapUser( - user_id = '', - password = '' - ) - else: - return MapUser( - ) - """ - - def testMapUser(self): - """Test MapUser""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/python-restclient/test/test_mathmodel_ref.py b/python-restclient/test/test_mathmodel_ref.py index be7d704a15..4234b69e78 100644 --- a/python-restclient/test/test_mathmodel_ref.py +++ b/python-restclient/test/test_mathmodel_ref.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - VCell API (development) + VCell API VCell API diff --git a/python-restclient/test/test_override_representation.py b/python-restclient/test/test_override_representation.py deleted file mode 100644 index 658bb49e34..0000000000 --- a/python-restclient/test/test_override_representation.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from vcell_client.models.override_representation import OverrideRepresentation - -class TestOverrideRepresentation(unittest.TestCase): - """OverrideRepresentation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> OverrideRepresentation: - """Test OverrideRepresentation - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `OverrideRepresentation` - """ - model = OverrideRepresentation() - if include_optional: - return OverrideRepresentation( - name = '', - type = '', - expression = '', - values = [ - '' - ], - cardinality = 56 - ) - else: - return OverrideRepresentation( - ) - """ - - def testOverrideRepresentation(self): - """Test OverrideRepresentation""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/python-restclient/test/test_publication.py b/python-restclient/test/test_publication.py index 540df5e5c9..ea68d991ac 100644 --- a/python-restclient/test/test_publication.py +++ b/python-restclient/test/test_publication.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - VCell API (development) + VCell API VCell API diff --git a/python-restclient/test/test_publication_resource_api.py b/python-restclient/test/test_publication_resource_api.py index cf6bef21d3..1cb44ec008 100644 --- a/python-restclient/test/test_publication_resource_api.py +++ b/python-restclient/test/test_publication_resource_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - VCell API (development) + VCell API VCell API @@ -27,21 +27,38 @@ def setUp(self) -> None: def tearDown(self) -> None: pass - def test_api_publications_delete(self) -> None: - """Test case for api_publications_delete + def test_create_publication(self) -> None: + """Test case for create_publication + + Create publication + """ + pass + + def test_delete_publication(self) -> None: + """Test case for delete_publication + + Delete publication + """ + pass + + def test_get_publication_by_id(self) -> None: + """Test case for get_publication_by_id + Get publication by ID """ pass - def test_api_publications_get(self) -> None: - """Test case for api_publications_get + def test_get_publications(self) -> None: + """Test case for get_publications + Get all publications """ pass - def test_api_publications_post(self) -> None: - """Test case for api_publications_post + def test_update_publication(self) -> None: + """Test case for update_publication + Create publication """ pass diff --git a/python-restclient/test/test_save_field_data_from_file.py b/python-restclient/test/test_save_field_data_from_file.py deleted file mode 100644 index c6e752dc36..0000000000 --- a/python-restclient/test/test_save_field_data_from_file.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from vcell_client.models.save_field_data_from_file import SaveFieldDataFromFile - -class TestSaveFieldDataFromFile(unittest.TestCase): - """SaveFieldDataFromFile unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SaveFieldDataFromFile: - """Test SaveFieldDataFromFile - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SaveFieldDataFromFile` - """ - model = SaveFieldDataFromFile() - if include_optional: - return SaveFieldDataFromFile( - short_spec_data = [ - [ - [ - 56 - ] - ] - ], - spec_edi = vcell_client.models.external_data_identifier.ExternalDataIdentifier( - key = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - owner = vcell_client.models.user.User( - user_name = '', - i_d = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - name = '', - test_account = True, ), - name = '', - i_d = '', - job_index = 56, - simulation_key = , - parameter_scan_type = True, - data_key = , ), - var_names = [ - '' - ], - variable_types = [ - vcell_client.models.variable_type.VariableType( - type = 56, - variable_domain = 'VARIABLEDOMAIN_POSTPROCESSING', - name = '', - units = '', - label = '', - legacy_warn = True, - default_label = '', - default_units = '', - type_name = '', ) - ], - times = [ - 1.337 - ], - origin = vcell_client.models.origin.Origin( - x = 1.337, - y = 1.337, - z = 1.337, ), - extent = vcell_client.models.extent.Extent( - x = 1.337, - y = 1.337, - z = 1.337, ), - isize = vcell_client.models.i_size.ISize( - x = 56, - y = 56, - z = 56, - x_yz = 56, ), - annotation = '' - ) - else: - return SaveFieldDataFromFile( - ) - """ - - def testSaveFieldDataFromFile(self): - """Test SaveFieldDataFromFile""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/python-restclient/test/test_simulation.py b/python-restclient/test/test_simulation.py deleted file mode 100644 index 38c11e8030..0000000000 --- a/python-restclient/test/test_simulation.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from vcell_client.models.simulation import Simulation - -class TestSimulation(unittest.TestCase): - """Simulation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Simulation: - """Test Simulation - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `Simulation` - """ - model = Simulation() - if include_optional: - return Simulation( - name = '' - ) - else: - return Simulation( - ) - """ - - def testSimulation(self): - """Test Simulation""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/python-restclient/test/test_simulation_execution_status.py b/python-restclient/test/test_simulation_execution_status.py deleted file mode 100644 index 22b72b774d..0000000000 --- a/python-restclient/test/test_simulation_execution_status.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from vcell_client.models.simulation_execution_status import SimulationExecutionStatus - -class TestSimulationExecutionStatus(unittest.TestCase): - """SimulationExecutionStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SimulationExecutionStatus: - """Test SimulationExecutionStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SimulationExecutionStatus` - """ - model = SimulationExecutionStatus() - if include_optional: - return SimulationExecutionStatus( - field_start_date = 'Thu Mar 10 00:00:00 UTC 2022', - field_latest_update_date = 'Thu Mar 10 00:00:00 UTC 2022', - field_end_date = 'Thu Mar 10 00:00:00 UTC 2022', - field_compute_host = '', - field_has_data = True, - field_htc_job_id = vcell_client.models.htc_job_id.HtcJobID( - job_number = 56, - server = '', - batch_system_type = 'PBS', ), - compute_host = '', - end_date = 'Thu Mar 10 00:00:00 UTC 2022', - latest_update_date = 'Thu Mar 10 00:00:00 UTC 2022', - start_date = 'Thu Mar 10 00:00:00 UTC 2022', - htc_job_id = vcell_client.models.htc_job_id.HtcJobID( - job_number = 56, - server = '', - batch_system_type = 'PBS', ) - ) - else: - return SimulationExecutionStatus( - ) - """ - - def testSimulationExecutionStatus(self): - """Test SimulationExecutionStatus""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/python-restclient/test/test_simulation_job_status.py b/python-restclient/test/test_simulation_job_status.py deleted file mode 100644 index 052963b8ff..0000000000 --- a/python-restclient/test/test_simulation_job_status.py +++ /dev/null @@ -1,155 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from vcell_client.models.simulation_job_status import SimulationJobStatus - -class TestSimulationJobStatus(unittest.TestCase): - """SimulationJobStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SimulationJobStatus: - """Test SimulationJobStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SimulationJobStatus` - """ - model = SimulationJobStatus() - if include_optional: - return SimulationJobStatus( - field_time_date_stamp = 'Thu Mar 10 00:00:00 UTC 2022', - field_vc_sim_id = vcell_client.models.vc_simulation_identifier.VCSimulationIdentifier( - simulation_key = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - owner = vcell_client.models.user.User( - user_name = '', - key = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - i_d = , - name = '', - test_account = True, ), - i_d = '', ), - field_submit_date = 'Thu Mar 10 00:00:00 UTC 2022', - field_scheduler_status = 'WAITING', - field_task_id = 56, - field_simulation_message = vcell_client.models.simulation_message.SimulationMessage( - detailed_state = 'UNKNOWN', - message = '', - htc_job_id = vcell_client.models.htc_job_id.HtcJobID( - job_number = 56, - server = '', - batch_system_type = 'PBS', ), - display_message = '', ), - field_server_id = vcell_client.models.v_cell_server_id.VCellServerID( - server_id = '', ), - field_job_index = 56, - field_simulation_queue_entry_status = vcell_client.models.simulation_queue_entry_status.SimulationQueueEntryStatus( - field_queue_priority = 56, - field_queue_date = 'Thu Mar 10 00:00:00 UTC 2022', - field_queue_id = 'QUEUE_ID_WAITING', - queue_date = 'Thu Mar 10 00:00:00 UTC 2022', - queue_id = 'QUEUE_ID_WAITING', - queue_priority = 56, ), - field_simulation_execution_status = vcell_client.models.simulation_execution_status.SimulationExecutionStatus( - field_start_date = 'Thu Mar 10 00:00:00 UTC 2022', - field_latest_update_date = 'Thu Mar 10 00:00:00 UTC 2022', - field_end_date = 'Thu Mar 10 00:00:00 UTC 2022', - field_compute_host = '', - field_has_data = True, - field_htc_job_id = vcell_client.models.htc_job_id.HtcJobID( - job_number = 56, - server = '', - batch_system_type = 'PBS', ), - compute_host = '', - end_date = 'Thu Mar 10 00:00:00 UTC 2022', - latest_update_date = 'Thu Mar 10 00:00:00 UTC 2022', - start_date = 'Thu Mar 10 00:00:00 UTC 2022', - htc_job_id = vcell_client.models.htc_job_id.HtcJobID( - job_number = 56, - server = '', ), ), - compute_host = '', - end_date = 'Thu Mar 10 00:00:00 UTC 2022', - job_index = 56, - scheduler_status = 'WAITING', - server_id = vcell_client.models.v_cell_server_id.VCellServerID( - server_id = '', ), - simulation_execution_status = vcell_client.models.simulation_execution_status.SimulationExecutionStatus( - field_start_date = 'Thu Mar 10 00:00:00 UTC 2022', - field_latest_update_date = 'Thu Mar 10 00:00:00 UTC 2022', - field_end_date = 'Thu Mar 10 00:00:00 UTC 2022', - field_compute_host = '', - field_has_data = True, - field_htc_job_id = vcell_client.models.htc_job_id.HtcJobID( - job_number = 56, - server = '', - batch_system_type = 'PBS', ), - compute_host = '', - end_date = 'Thu Mar 10 00:00:00 UTC 2022', - latest_update_date = 'Thu Mar 10 00:00:00 UTC 2022', - start_date = 'Thu Mar 10 00:00:00 UTC 2022', - htc_job_id = vcell_client.models.htc_job_id.HtcJobID( - job_number = 56, - server = '', ), ), - simulation_queue_entry_status = vcell_client.models.simulation_queue_entry_status.SimulationQueueEntryStatus( - field_queue_priority = 56, - field_queue_date = 'Thu Mar 10 00:00:00 UTC 2022', - field_queue_id = 'QUEUE_ID_WAITING', - queue_date = 'Thu Mar 10 00:00:00 UTC 2022', - queue_id = 'QUEUE_ID_WAITING', - queue_priority = 56, ), - start_date = 'Thu Mar 10 00:00:00 UTC 2022', - simulation_message = vcell_client.models.simulation_message.SimulationMessage( - detailed_state = 'UNKNOWN', - message = '', - htc_job_id = vcell_client.models.htc_job_id.HtcJobID( - job_number = 56, - server = '', - batch_system_type = 'PBS', ), - display_message = '', ), - submit_date = 'Thu Mar 10 00:00:00 UTC 2022', - task_id = 56, - time_date_stamp = 'Thu Mar 10 00:00:00 UTC 2022', - v_c_simulation_identifier = vcell_client.models.vc_simulation_identifier.VCSimulationIdentifier( - simulation_key = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - owner = vcell_client.models.user.User( - user_name = '', - key = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - i_d = , - name = '', - test_account = True, ), - i_d = '', ) - ) - else: - return SimulationJobStatus( - ) - """ - - def testSimulationJobStatus(self): - """Test SimulationJobStatus""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/python-restclient/test/test_simulation_job_status_record.py b/python-restclient/test/test_simulation_job_status_record.py index 0a638b01f7..b1d727596e 100644 --- a/python-restclient/test/test_simulation_job_status_record.py +++ b/python-restclient/test/test_simulation_job_status_record.py @@ -37,7 +37,7 @@ def make_instance(self, include_optional) -> SimulationJobStatusRecord: model = SimulationJobStatusRecord() if include_optional: return SimulationJobStatusRecord( - field_time_data_stamp = 'Thu Mar 10 00:00:00 UTC 2022', + field_time_data_stamp = '2022-03-10T16:15:50Z', field_vc_sim_id = vcell_client.models.vc_simulation_identifier.VCSimulationIdentifier( simulation_key = vcell_client.models.key_value.KeyValue( value = 1.337, ), @@ -45,11 +45,10 @@ def make_instance(self, include_optional) -> SimulationJobStatusRecord: user_name = '', key = vcell_client.models.key_value.KeyValue( value = 1.337, ), - i_d = , name = '', test_account = True, ), i_d = '', ), - field_submit_date = 'Thu Mar 10 00:00:00 UTC 2022', + field_submit_date = '2022-03-10T16:15:50Z', field_scheduler_status = 'WAITING', field_simulation_message = vcell_client.models.simulation_message.SimulationMessage( detailed_state = 'UNKNOWN', @@ -62,30 +61,20 @@ def make_instance(self, include_optional) -> SimulationJobStatusRecord: field_task_id = 56, field_server_id = '', field_job_index = 56, - field_simulation_execution_status = vcell_client.models.simulation_execution_status.SimulationExecutionStatus( - field_start_date = 'Thu Mar 10 00:00:00 UTC 2022', - field_latest_update_date = 'Thu Mar 10 00:00:00 UTC 2022', - field_end_date = 'Thu Mar 10 00:00:00 UTC 2022', + field_simulation_execution_status = vcell_client.models.simulation_execution_status_record.SimulationExecutionStatusRecord( + field_start_date = '2022-03-10T16:15:50Z', + field_latest_update_date = '2022-03-10T16:15:50Z', + field_end_date = '2022-03-10T16:15:50Z', field_compute_host = '', field_has_data = True, field_htc_job_id = vcell_client.models.htc_job_id.HtcJobID( job_number = 56, server = '', - batch_system_type = 'PBS', ), - compute_host = '', - end_date = 'Thu Mar 10 00:00:00 UTC 2022', - latest_update_date = 'Thu Mar 10 00:00:00 UTC 2022', - start_date = 'Thu Mar 10 00:00:00 UTC 2022', - htc_job_id = vcell_client.models.htc_job_id.HtcJobID( - job_number = 56, - server = '', ), ), - field_simulation_queue_entry_status = vcell_client.models.simulation_queue_entry_status.SimulationQueueEntryStatus( + batch_system_type = 'PBS', ), ), + field_simulation_queue_entry_status = vcell_client.models.simulation_queue_entry_status_record.SimulationQueueEntryStatusRecord( field_queue_priority = 56, - field_queue_date = 'Thu Mar 10 00:00:00 UTC 2022', - field_queue_id = 'QUEUE_ID_WAITING', - queue_date = 'Thu Mar 10 00:00:00 UTC 2022', - queue_id = 'QUEUE_ID_WAITING', - queue_priority = 56, ) + field_queue_date = '2022-03-10T16:15:50Z', + field_queue_id = 'QUEUE_ID_WAITING', ) ) else: return SimulationJobStatusRecord( diff --git a/python-restclient/test/test_simulation_queue_entry_status.py b/python-restclient/test/test_simulation_queue_entry_status.py deleted file mode 100644 index 81f36c8d92..0000000000 --- a/python-restclient/test/test_simulation_queue_entry_status.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from vcell_client.models.simulation_queue_entry_status import SimulationQueueEntryStatus - -class TestSimulationQueueEntryStatus(unittest.TestCase): - """SimulationQueueEntryStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SimulationQueueEntryStatus: - """Test SimulationQueueEntryStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SimulationQueueEntryStatus` - """ - model = SimulationQueueEntryStatus() - if include_optional: - return SimulationQueueEntryStatus( - field_queue_priority = 56, - field_queue_date = 'Thu Mar 10 00:00:00 UTC 2022', - field_queue_id = 'QUEUE_ID_WAITING', - queue_date = 'Thu Mar 10 00:00:00 UTC 2022', - queue_id = 'QUEUE_ID_WAITING', - queue_priority = 56 - ) - else: - return SimulationQueueEntryStatus( - ) - """ - - def testSimulationQueueEntryStatus(self): - """Test SimulationQueueEntryStatus""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/python-restclient/test/test_simulation_resource_api.py b/python-restclient/test/test_simulation_resource_api.py index aa62ff7aaa..cdbb07462e 100644 --- a/python-restclient/test/test_simulation_resource_api.py +++ b/python-restclient/test/test_simulation_resource_api.py @@ -27,10 +27,10 @@ def setUp(self) -> None: def tearDown(self) -> None: pass - def test_save_simulation(self) -> None: - """Test case for save_simulation + def test_get_simulation_status(self) -> None: + """Test case for get_simulation_status - Save a simulation. + Get the status of simulation running """ pass diff --git a/python-restclient/test/test_simulation_status_persistent_record.py b/python-restclient/test/test_simulation_status_persistent_record.py index 2fe9f6005d..6fe3582d8e 100644 --- a/python-restclient/test/test_simulation_status_persistent_record.py +++ b/python-restclient/test/test_simulation_status_persistent_record.py @@ -38,9 +38,6 @@ def make_instance(self, include_optional) -> SimulationStatusPersistentRecord: if include_optional: return SimulationStatusPersistentRecord( status = 'UNKNOWN', - progress_hash = { - 'key' : 1.337 - }, details = '', has_data = True ) diff --git a/python-restclient/test/test_status_message.py b/python-restclient/test/test_status_message.py index 4d6264786d..48f6fa991a 100644 --- a/python-restclient/test/test_status_message.py +++ b/python-restclient/test/test_status_message.py @@ -37,8 +37,8 @@ def make_instance(self, include_optional) -> StatusMessage: model = StatusMessage() if include_optional: return StatusMessage( - job_status = vcell_client.models.simulation_job_status.SimulationJobStatus( - field_time_date_stamp = 'Thu Mar 10 00:00:00 UTC 2022', + job_status = vcell_client.models.simulation_job_status_record.SimulationJobStatusRecord( + field_time_data_stamp = '2022-03-10T16:15:50Z', field_vc_sim_id = vcell_client.models.vc_simulation_identifier.VCSimulationIdentifier( simulation_key = vcell_client.models.key_value.KeyValue( value = 1.337, ), @@ -46,13 +46,11 @@ def make_instance(self, include_optional) -> StatusMessage: user_name = '', key = vcell_client.models.key_value.KeyValue( value = 1.337, ), - i_d = , name = '', test_account = True, ), i_d = '', ), - field_submit_date = 'Thu Mar 10 00:00:00 UTC 2022', + field_submit_date = '2022-03-10T16:15:50Z', field_scheduler_status = 'WAITING', - field_task_id = 56, field_simulation_message = vcell_client.models.simulation_message.SimulationMessage( detailed_state = 'UNKNOWN', message = '', @@ -61,58 +59,22 @@ def make_instance(self, include_optional) -> StatusMessage: server = '', batch_system_type = 'PBS', ), display_message = '', ), - field_server_id = vcell_client.models.v_cell_server_id.VCellServerID( - server_id = '', ), + field_task_id = 56, + field_server_id = '', field_job_index = 56, - field_simulation_queue_entry_status = vcell_client.models.simulation_queue_entry_status.SimulationQueueEntryStatus( - field_queue_priority = 56, - field_queue_date = 'Thu Mar 10 00:00:00 UTC 2022', - field_queue_id = 'QUEUE_ID_WAITING', - queue_date = 'Thu Mar 10 00:00:00 UTC 2022', - queue_id = 'QUEUE_ID_WAITING', - queue_priority = 56, ), - field_simulation_execution_status = vcell_client.models.simulation_execution_status.SimulationExecutionStatus( - field_start_date = 'Thu Mar 10 00:00:00 UTC 2022', - field_latest_update_date = 'Thu Mar 10 00:00:00 UTC 2022', - field_end_date = 'Thu Mar 10 00:00:00 UTC 2022', + field_simulation_execution_status = vcell_client.models.simulation_execution_status_record.SimulationExecutionStatusRecord( + field_start_date = '2022-03-10T16:15:50Z', + field_latest_update_date = '2022-03-10T16:15:50Z', + field_end_date = '2022-03-10T16:15:50Z', field_compute_host = '', field_has_data = True, field_htc_job_id = vcell_client.models.htc_job_id.HtcJobID( job_number = 56, - server = '', ), - compute_host = '', - end_date = 'Thu Mar 10 00:00:00 UTC 2022', - latest_update_date = 'Thu Mar 10 00:00:00 UTC 2022', - start_date = 'Thu Mar 10 00:00:00 UTC 2022', - htc_job_id = , ), - compute_host = '', - end_date = 'Thu Mar 10 00:00:00 UTC 2022', - job_index = 56, - scheduler_status = 'WAITING', - server_id = vcell_client.models.v_cell_server_id.VCellServerID(), - simulation_execution_status = vcell_client.models.simulation_execution_status.SimulationExecutionStatus( - field_start_date = 'Thu Mar 10 00:00:00 UTC 2022', - field_latest_update_date = 'Thu Mar 10 00:00:00 UTC 2022', - field_end_date = 'Thu Mar 10 00:00:00 UTC 2022', - field_compute_host = '', - field_has_data = True, - compute_host = '', - end_date = 'Thu Mar 10 00:00:00 UTC 2022', - latest_update_date = 'Thu Mar 10 00:00:00 UTC 2022', - start_date = 'Thu Mar 10 00:00:00 UTC 2022', ), - simulation_queue_entry_status = vcell_client.models.simulation_queue_entry_status.SimulationQueueEntryStatus( + server = '', ), ), + field_simulation_queue_entry_status = vcell_client.models.simulation_queue_entry_status_record.SimulationQueueEntryStatusRecord( field_queue_priority = 56, - field_queue_date = 'Thu Mar 10 00:00:00 UTC 2022', - queue_date = 'Thu Mar 10 00:00:00 UTC 2022', - queue_priority = 56, ), - start_date = 'Thu Mar 10 00:00:00 UTC 2022', - simulation_message = vcell_client.models.simulation_message.SimulationMessage( - message = '', - display_message = '', ), - submit_date = 'Thu Mar 10 00:00:00 UTC 2022', - task_id = 56, - time_date_stamp = 'Thu Mar 10 00:00:00 UTC 2022', - v_c_simulation_identifier = vcell_client.models.vc_simulation_identifier.VCSimulationIdentifier(), ), + field_queue_date = '2022-03-10T16:15:50Z', + field_queue_id = 'QUEUE_ID_WAITING', ), ), user_name = '', progress = 1.337, timepoint = 1.337 diff --git a/python-restclient/test/test_ucd_info.py b/python-restclient/test/test_ucd_info.py deleted file mode 100644 index b90f1f0253..0000000000 --- a/python-restclient/test/test_ucd_info.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from vcell_client.models.ucd_info import UCDInfo - -class TestUCDInfo(unittest.TestCase): - """UCDInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UCDInfo: - """Test UCDInfo - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `UCDInfo` - """ - model = UCDInfo() - if include_optional: - return UCDInfo( - ucd_grid_nodes = [ - [ - [ - vcell_client.models.coordinate.Coordinate( - x = 1.337, - y = 1.337, - z = 1.337, ) - ] - ] - ], - ucd_membrane_quads = [ - [ - 56 - ] - ], - reduced_ucd_grid_nodes_v = [ - vcell_client.models.coordinate.Coordinate( - x = 1.337, - y = 1.337, - z = 1.337, ) - ], - u_cd_grid_nodes = [ - [ - [ - vcell_client.models.coordinate.Coordinate( - x = 1.337, - y = 1.337, - z = 1.337, ) - ] - ] - ], - u_cd_membrane_quads = [ - [ - 56 - ] - ], - num_volume_nodes_x = 56, - num_volume_nodes_y = 56, - num_volume_nodes_z = 56, - num_points_xyz = 56, - num_volume_nodes_xy = 56, - num_volume_cells = 56, - num_membrane_cells = 56 - ) - else: - return UCDInfo( - ) - """ - - def testUCDInfo(self): - """Test UCDInfo""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/python-restclient/test/test_user.py b/python-restclient/test/test_user.py index c6eda582ed..1dada307ad 100644 --- a/python-restclient/test/test_user.py +++ b/python-restclient/test/test_user.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - VCell API (development) + VCell API VCell API @@ -37,7 +37,11 @@ def make_instance(self, include_optional) -> User: model = User() if include_optional: return User( - user_name = '' + user_name = '', + key = vcell_client.models.key_value.KeyValue( + value = 1.337, ), + name = '', + test_account = True ) else: return User( diff --git a/python-restclient/test/test_user1.py b/python-restclient/test/test_user1.py deleted file mode 100644 index 5c83f48788..0000000000 --- a/python-restclient/test/test_user1.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from vcell_client.models.user1 import User1 - -class TestUser1(unittest.TestCase): - """User1 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> User1: - """Test User1 - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `User1` - """ - model = User1() - if include_optional: - return User1( - user_name = '', - key = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - i_d = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - name = '', - publisher = True, - test_account = True - ) - else: - return User1( - ) - """ - - def testUser1(self): - """Test User1""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/python-restclient/test/test_user_identity.py b/python-restclient/test/test_user_identity.py deleted file mode 100644 index a535d3343b..0000000000 --- a/python-restclient/test/test_user_identity.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from vcell_client.models.user_identity import UserIdentity - -class TestUserIdentity(unittest.TestCase): - """UserIdentity unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UserIdentity: - """Test UserIdentity - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `UserIdentity` - """ - model = UserIdentity() - if include_optional: - return UserIdentity( - id = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - user = vcell_client.models.user1.User1( - user_name = '', - key = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - i_d = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - name = '', - publisher = True, - test_account = True, ), - subject = '', - insert_date = 'Thu Mar 10 00:00:00 UTC 2022' - ) - else: - return UserIdentity( - ) - """ - - def testUserIdentity(self): - """Test UserIdentity""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/python-restclient/test/test_user_identity_json_safe.py b/python-restclient/test/test_user_identity_json_safe.py index 7b29c333d3..954a230afa 100644 --- a/python-restclient/test/test_user_identity_json_safe.py +++ b/python-restclient/test/test_user_identity_json_safe.py @@ -37,6 +37,7 @@ def make_instance(self, include_optional) -> UserIdentityJSONSafe: model = UserIdentityJSONSafe() if include_optional: return UserIdentityJSONSafe( + mapped = True, user_name = '', id = 1.337, subject = '', diff --git a/python-restclient/test/test_user_login_info_for_mapping.py b/python-restclient/test/test_user_login_info_for_mapping.py index 7f1d797470..0c41d647d6 100644 --- a/python-restclient/test/test_user_login_info_for_mapping.py +++ b/python-restclient/test/test_user_login_info_for_mapping.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - VCell API (development) + VCell API VCell API @@ -38,7 +38,7 @@ def make_instance(self, include_optional) -> UserLoginInfoForMapping: if include_optional: return UserLoginInfoForMapping( user_id = '', - digested_password = '' + password = '' ) else: return UserLoginInfoForMapping( diff --git a/python-restclient/test/test_users_resource_api.py b/python-restclient/test/test_users_resource_api.py index 6476fa4b56..4d0831fada 100644 --- a/python-restclient/test/test_users_resource_api.py +++ b/python-restclient/test/test_users_resource_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - VCell API (development) + VCell API VCell API @@ -27,9 +27,73 @@ def setUp(self) -> None: def tearDown(self) -> None: pass - def test_api_users_me_get(self) -> None: - """Test case for api_users_me_get + def test_forgot_legacy_password(self) -> None: + """Test case for forgot_legacy_password + + The end user has forgotten the legacy password they used for VCell, so they will be emailed it. + """ + pass + + def test_get_guest_legacy_api_token(self) -> None: + """Test case for get_guest_legacy_api_token + + Method to get legacy tokens for guest users + """ + pass + + def test_get_legacy_api_token(self) -> None: + """Test case for get_legacy_api_token + + Get token for legacy API + """ + pass + + def test_get_mapped_user(self) -> None: + """Test case for get_mapped_user + + Get mapped VCell identity + """ + pass + + def test_get_me(self) -> None: + """Test case for get_me + + Get current user + """ + pass + + def test_map_new_user(self) -> None: + """Test case for map_new_user + + create vcell user + """ + pass + + def test_map_user(self) -> None: + """Test case for map_user + + map vcell user + """ + pass + + def test_process_magic_link(self) -> None: + """Test case for process_magic_link + + Process the magic link and map the user + """ + pass + + def test_request_recovery_email(self) -> None: + """Test case for request_recovery_email + + request a recovery email to link a VCell account. + """ + pass + + def test_unmap_user(self) -> None: + """Test case for unmap_user + remove vcell identity mapping """ pass diff --git a/python-restclient/test/test_v_cell_server_id.py b/python-restclient/test/test_v_cell_server_id.py deleted file mode 100644 index e0bea7b3dc..0000000000 --- a/python-restclient/test/test_v_cell_server_id.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from vcell_client.models.v_cell_server_id import VCellServerID - -class TestVCellServerID(unittest.TestCase): - """VCellServerID unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> VCellServerID: - """Test VCellServerID - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `VCellServerID` - """ - model = VCellServerID() - if include_optional: - return VCellServerID( - server_id = '' - ) - else: - return VCellServerID( - ) - """ - - def testVCellServerID(self): - """Test VCellServerID""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/python-restclient/test/test_vc_simulation_identifier.py b/python-restclient/test/test_vc_simulation_identifier.py index e7e6f7900a..095ebdc859 100644 --- a/python-restclient/test/test_vc_simulation_identifier.py +++ b/python-restclient/test/test_vc_simulation_identifier.py @@ -43,8 +43,6 @@ def make_instance(self, include_optional) -> VCSimulationIdentifier: user_name = '', key = vcell_client.models.key_value.KeyValue( value = 1.337, ), - i_d = vcell_client.models.key_value.KeyValue( - value = 1.337, ), name = '', test_account = True, ), i_d = '' diff --git a/python-restclient/test/test_version.py b/python-restclient/test/test_version.py deleted file mode 100644 index 8a8ce72015..0000000000 --- a/python-restclient/test/test_version.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from vcell_client.models.version import Version - -class TestVersion(unittest.TestCase): - """Version unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Version: - """Test Version - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `Version` - """ - model = Version() - if include_optional: - return Version( - version_key = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - version_name = '', - version_owner = vcell_client.models.user.User( - user_name = '', - key = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - i_d = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - name = '', - test_account = True, ), - version_group_access = vcell_client.models.group_access.GroupAccess( - groupid = 1.337, - description = '', ), - version_branch_point_ref = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - version_branch_id = 1.337, - version_date = 'Thu Mar 10 00:00:00 UTC 2022', - version_flag = vcell_client.models.version_flag.VersionFlag( - int_value = 56, - archived = True, - current = True, - published = True, ), - version_annot = '', - annot = '', - branch_id = 1.337, - branch_point_ref_key = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - var_date = 'Thu Mar 10 00:00:00 UTC 2022', - flag = vcell_client.models.version_flag.VersionFlag( - version_flag = 56, - int_value = 56, - archived = True, - current = True, - published = True, ), - group_access = vcell_client.models.group_access.GroupAccess( - groupid = 1.337, - description = '', ), - name = '', - owner = vcell_client.models.user.User( - user_name = '', - key = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - i_d = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - name = '', - test_account = True, ) - ) - else: - return Version( - ) - """ - - def testVersion(self): - """Test Version""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/python-restclient/test/test_version_flag.py b/python-restclient/test/test_version_flag.py deleted file mode 100644 index e35efa4a9c..0000000000 --- a/python-restclient/test/test_version_flag.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from vcell_client.models.version_flag import VersionFlag - -class TestVersionFlag(unittest.TestCase): - """VersionFlag unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> VersionFlag: - """Test VersionFlag - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `VersionFlag` - """ - model = VersionFlag() - if include_optional: - return VersionFlag( - version_flag = 56, - int_value = 56, - archived = True, - current = True, - published = True - ) - else: - return VersionFlag( - ) - """ - - def testVersionFlag(self): - """Test VersionFlag""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/python-restclient/test/test_versionable_type.py b/python-restclient/test/test_versionable_type.py deleted file mode 100644 index 3ae22afa60..0000000000 --- a/python-restclient/test/test_versionable_type.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from vcell_client.models.versionable_type import VersionableType - -class TestVersionableType(unittest.TestCase): - """VersionableType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> VersionableType: - """Test VersionableType - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `VersionableType` - """ - model = VersionableType() - if include_optional: - return VersionableType( - v_type = 56, - name = '', - v_class = vcell_client.models.v_class.vClass(), - b_top_level = True, - code = 56, - is_top_level = True, - type_name = '', - version_class = vcell_client.models.version_class.versionClass() - ) - else: - return VersionableType( - ) - """ - - def testVersionableType(self): - """Test VersionableType""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/python-restclient/test/test_versionable_type_version.py b/python-restclient/test/test_versionable_type_version.py deleted file mode 100644 index a2add5cef5..0000000000 --- a/python-restclient/test/test_versionable_type_version.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from vcell_client.models.versionable_type_version import VersionableTypeVersion - -class TestVersionableTypeVersion(unittest.TestCase): - """VersionableTypeVersion unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> VersionableTypeVersion: - """Test VersionableTypeVersion - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `VersionableTypeVersion` - """ - model = VersionableTypeVersion() - if include_optional: - return VersionableTypeVersion( - v_type = vcell_client.models.versionable_type.VersionableType( - name = '', - v_class = vcell_client.models.v_class.vClass(), - b_top_level = True, - code = 56, - is_top_level = True, - type_name = '', - version_class = vcell_client.models.version_class.versionClass(), ), - version = vcell_client.models.version.Version( - version_key = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - version_name = '', - version_owner = vcell_client.models.user.User( - user_name = '', - key = vcell_client.models.key_value.KeyValue( - value = 1.337, ), - i_d = , - name = '', - test_account = True, ), - version_group_access = vcell_client.models.group_access.GroupAccess( - groupid = 1.337, - description = '', ), - version_branch_point_ref = , - version_branch_id = 1.337, - version_date = 'Thu Mar 10 00:00:00 UTC 2022', - version_flag = vcell_client.models.version_flag.VersionFlag( - int_value = 56, - archived = True, - current = True, - published = True, ), - version_annot = '', - annot = '', - branch_id = 1.337, - branch_point_ref_key = , - date = 'Thu Mar 10 00:00:00 UTC 2022', - flag = vcell_client.models.version_flag.VersionFlag( - int_value = 56, - archived = True, - current = True, - published = True, ), - group_access = vcell_client.models.group_access.GroupAccess( - groupid = 1.337, - description = '', ), - name = '', - owner = vcell_client.models.user.User( - user_name = '', - name = '', - test_account = True, ), ) - ) - else: - return VersionableTypeVersion( - ) - """ - - def testVersionableTypeVersion(self): - """Test VersionableTypeVersion""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/python-restclient/vcell_client/models/access_token_representation.py b/python-restclient/vcell_client/models/access_token_representation.py deleted file mode 100644 index 4a5556fc5f..0000000000 --- a/python-restclient/vcell_client/models/access_token_representation.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Any, ClassVar, Dict, List, Optional -from pydantic import BaseModel, StrictInt, StrictStr -from pydantic import Field -try: - from typing import Self -except ImportError: - from typing_extensions import Self - -class AccessTokenRepresentation(BaseModel): - """ - AccessTokenRepresentation - """ # noqa: E501 - token: Optional[StrictStr] = None - creation_date_seconds: Optional[StrictInt] = Field(default=None, alias="creationDateSeconds") - expire_date_seconds: Optional[StrictInt] = Field(default=None, alias="expireDateSeconds") - user_id: Optional[StrictStr] = Field(default=None, alias="userId") - user_key: Optional[StrictStr] = Field(default=None, alias="userKey") - __properties: ClassVar[List[str]] = ["token", "creationDateSeconds", "expireDateSeconds", "userId", "userKey"] - - model_config = { - "populate_by_name": True, - "validate_assignment": True - } - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of AccessTokenRepresentation from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - _dict = self.model_dump( - by_alias=True, - exclude={ - }, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Dict) -> Self: - """Create an instance of AccessTokenRepresentation from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - # raise errors for additional fields in the input - for _key in obj.keys(): - if _key not in cls.__properties: - raise ValueError("Error due to additional fields (not defined in AccessTokenRepresentation) in the input: " + _key) - - _obj = cls.model_validate({ - "token": obj.get("token"), - "creationDateSeconds": obj.get("creationDateSeconds"), - "expireDateSeconds": obj.get("expireDateSeconds"), - "userId": obj.get("userId"), - "userKey": obj.get("userKey") - }) - return _obj - - diff --git a/python-restclient/vcell_client/models/cartesian_mesh.py b/python-restclient/vcell_client/models/cartesian_mesh.py deleted file mode 100644 index 95a66356b0..0000000000 --- a/python-restclient/vcell_client/models/cartesian_mesh.py +++ /dev/null @@ -1,132 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Any, ClassVar, Dict, List, Optional, Union -from pydantic import BaseModel, StrictBool, StrictBytes, StrictInt, StrictStr -from pydantic import Field -from vcell_client.models.i_size import ISize -from vcell_client.models.ucd_info import UCDInfo -try: - from typing import Self -except ImportError: - from typing_extensions import Self - -class CartesianMesh(BaseModel): - """ - CartesianMesh - """ # noqa: E501 - compressed_bytes: Optional[Union[StrictBytes, StrictStr]] = Field(default=None, alias="compressedBytes") - u_cd_info: Optional[UCDInfo] = Field(default=None, alias="uCDInfo") - geometry_dimension: Optional[StrictInt] = Field(default=None, alias="geometryDimension") - volume_region_map_subvolume: Optional[Dict[str, StrictInt]] = Field(default=None, alias="volumeRegionMapSubvolume") - membrane_region_map_subvolumes_in_out: Optional[Dict[str, Any]] = Field(default=None, alias="membraneRegionMapSubvolumesInOut") - num_membrane_elements: Optional[StrictInt] = Field(default=None, alias="numMembraneElements") - num_membrane_regions: Optional[StrictInt] = Field(default=None, alias="numMembraneRegions") - num_volume_elements: Optional[StrictInt] = Field(default=None, alias="numVolumeElements") - num_volume_regions: Optional[StrictInt] = Field(default=None, alias="numVolumeRegions") - i_size: Optional[ISize] = Field(default=None, alias="iSize") - size_x: Optional[StrictInt] = Field(default=None, alias="sizeX") - size_y: Optional[StrictInt] = Field(default=None, alias="sizeY") - size_z: Optional[StrictInt] = Field(default=None, alias="sizeZ") - membrane_connectivity_ok: Optional[StrictBool] = Field(default=None, alias="membraneConnectivityOK") - output_fields: Optional[List[Any]] = Field(default=None, alias="outputFields") - chombo_mesh: Optional[StrictBool] = Field(default=None, alias="chomboMesh") - __properties: ClassVar[List[str]] = ["compressedBytes", "uCDInfo", "geometryDimension", "volumeRegionMapSubvolume", "membraneRegionMapSubvolumesInOut", "numMembraneElements", "numMembraneRegions", "numVolumeElements", "numVolumeRegions", "iSize", "sizeX", "sizeY", "sizeZ", "membraneConnectivityOK", "outputFields", "chomboMesh"] - - model_config = { - "populate_by_name": True, - "validate_assignment": True - } - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of CartesianMesh from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - _dict = self.model_dump( - by_alias=True, - exclude={ - }, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of u_cd_info - if self.u_cd_info: - _dict['uCDInfo'] = self.u_cd_info.to_dict() - # override the default output from pydantic by calling `to_dict()` of i_size - if self.i_size: - _dict['iSize'] = self.i_size.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Dict) -> Self: - """Create an instance of CartesianMesh from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - # raise errors for additional fields in the input - for _key in obj.keys(): - if _key not in cls.__properties: - raise ValueError("Error due to additional fields (not defined in CartesianMesh) in the input: " + _key) - - _obj = cls.model_validate({ - "compressedBytes": obj.get("compressedBytes"), - "uCDInfo": UCDInfo.from_dict(obj.get("uCDInfo")) if obj.get("uCDInfo") is not None else None, - "geometryDimension": obj.get("geometryDimension"), - "volumeRegionMapSubvolume": obj.get("volumeRegionMapSubvolume"), - "membraneRegionMapSubvolumesInOut": obj.get("membraneRegionMapSubvolumesInOut"), - "numMembraneElements": obj.get("numMembraneElements"), - "numMembraneRegions": obj.get("numMembraneRegions"), - "numVolumeElements": obj.get("numVolumeElements"), - "numVolumeRegions": obj.get("numVolumeRegions"), - "iSize": ISize.from_dict(obj.get("iSize")) if obj.get("iSize") is not None else None, - "sizeX": obj.get("sizeX"), - "sizeY": obj.get("sizeY"), - "sizeZ": obj.get("sizeZ"), - "membraneConnectivityOK": obj.get("membraneConnectivityOK"), - "outputFields": obj.get("outputFields"), - "chomboMesh": obj.get("chomboMesh") - }) - return _obj - - diff --git a/python-restclient/vcell_client/models/coordinate.py b/python-restclient/vcell_client/models/coordinate.py deleted file mode 100644 index d621ca545c..0000000000 --- a/python-restclient/vcell_client/models/coordinate.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Any, ClassVar, Dict, List, Optional, Union -from pydantic import BaseModel, StrictFloat, StrictInt -try: - from typing import Self -except ImportError: - from typing_extensions import Self - -class Coordinate(BaseModel): - """ - Coordinate - """ # noqa: E501 - x: Optional[Union[StrictFloat, StrictInt]] = None - y: Optional[Union[StrictFloat, StrictInt]] = None - z: Optional[Union[StrictFloat, StrictInt]] = None - __properties: ClassVar[List[str]] = ["x", "y", "z"] - - model_config = { - "populate_by_name": True, - "validate_assignment": True - } - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of Coordinate from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - _dict = self.model_dump( - by_alias=True, - exclude={ - }, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Dict) -> Self: - """Create an instance of Coordinate from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - # raise errors for additional fields in the input - for _key in obj.keys(): - if _key not in cls.__properties: - raise ValueError("Error due to additional fields (not defined in Coordinate) in the input: " + _key) - - _obj = cls.model_validate({ - "x": obj.get("x"), - "y": obj.get("y"), - "z": obj.get("z") - }) - return _obj - - diff --git a/python-restclient/vcell_client/models/field_data_db_operation_spec.py b/python-restclient/vcell_client/models/field_data_db_operation_spec.py deleted file mode 100644 index 28bd4e6a1a..0000000000 --- a/python-restclient/vcell_client/models/field_data_db_operation_spec.py +++ /dev/null @@ -1,120 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Any, ClassVar, Dict, List, Optional -from pydantic import BaseModel, StrictBool, StrictInt, StrictStr -from pydantic import Field -from vcell_client.models.external_data_identifier import ExternalDataIdentifier -from vcell_client.models.user import User -from vcell_client.models.versionable_type_version import VersionableTypeVersion -try: - from typing import Self -except ImportError: - from typing_extensions import Self - -class FieldDataDBOperationSpec(BaseModel): - """ - FieldDataDBOperationSpec - """ # noqa: E501 - op_type: Optional[StrictInt] = Field(default=None, alias="opType") - spec_edi: Optional[ExternalDataIdentifier] = Field(default=None, alias="specEDI") - owner: Optional[User] = None - new_ext_data_id_name: Optional[StrictStr] = Field(default=None, alias="newExtDataIDName") - annotation: Optional[StrictStr] = None - source_names: Optional[List[StrictStr]] = Field(default=None, alias="sourceNames") - source_owner: Optional[VersionableTypeVersion] = Field(default=None, alias="sourceOwner") - b_include_sim_refs: Optional[StrictBool] = Field(default=None, alias="bIncludeSimRefs") - __properties: ClassVar[List[str]] = ["opType", "specEDI", "owner", "newExtDataIDName", "annotation", "sourceNames", "sourceOwner", "bIncludeSimRefs"] - - model_config = { - "populate_by_name": True, - "validate_assignment": True - } - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of FieldDataDBOperationSpec from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - _dict = self.model_dump( - by_alias=True, - exclude={ - }, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of spec_edi - if self.spec_edi: - _dict['specEDI'] = self.spec_edi.to_dict() - # override the default output from pydantic by calling `to_dict()` of owner - if self.owner: - _dict['owner'] = self.owner.to_dict() - # override the default output from pydantic by calling `to_dict()` of source_owner - if self.source_owner: - _dict['sourceOwner'] = self.source_owner.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Dict) -> Self: - """Create an instance of FieldDataDBOperationSpec from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - # raise errors for additional fields in the input - for _key in obj.keys(): - if _key not in cls.__properties: - raise ValueError("Error due to additional fields (not defined in FieldDataDBOperationSpec) in the input: " + _key) - - _obj = cls.model_validate({ - "opType": obj.get("opType"), - "specEDI": ExternalDataIdentifier.from_dict(obj.get("specEDI")) if obj.get("specEDI") is not None else None, - "owner": User.from_dict(obj.get("owner")) if obj.get("owner") is not None else None, - "newExtDataIDName": obj.get("newExtDataIDName"), - "annotation": obj.get("annotation"), - "sourceNames": obj.get("sourceNames"), - "sourceOwner": VersionableTypeVersion.from_dict(obj.get("sourceOwner")) if obj.get("sourceOwner") is not None else None, - "bIncludeSimRefs": obj.get("bIncludeSimRefs") - }) - return _obj - - diff --git a/python-restclient/vcell_client/models/field_data_external_data_ids.py b/python-restclient/vcell_client/models/field_data_external_data_ids.py deleted file mode 100644 index aca7a3df98..0000000000 --- a/python-restclient/vcell_client/models/field_data_external_data_ids.py +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Any, ClassVar, Dict, List, Optional -from pydantic import BaseModel, StrictStr -from pydantic import Field -from vcell_client.models.external_data_identifier import ExternalDataIdentifier -from vcell_client.models.key_value import KeyValue -try: - from typing import Self -except ImportError: - from typing_extensions import Self - -class FieldDataExternalDataIDs(BaseModel): - """ - FieldDataExternalDataIDs - """ # noqa: E501 - external_data_identifiers: Optional[List[ExternalDataIdentifier]] = Field(default=None, alias="externalDataIdentifiers") - external_data_annotations: Optional[List[StrictStr]] = Field(default=None, alias="externalDataAnnotations") - external_data_id_sim_refs: Optional[Dict[str, List[KeyValue]]] = Field(default=None, alias="externalDataIDSimRefs") - __properties: ClassVar[List[str]] = ["externalDataIdentifiers", "externalDataAnnotations", "externalDataIDSimRefs"] - - model_config = { - "populate_by_name": True, - "validate_assignment": True - } - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of FieldDataExternalDataIDs from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - _dict = self.model_dump( - by_alias=True, - exclude={ - }, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in external_data_identifiers (list) - _items = [] - if self.external_data_identifiers: - for _item in self.external_data_identifiers: - if _item: - _items.append(_item.to_dict()) - _dict['externalDataIdentifiers'] = _items - # override the default output from pydantic by calling `to_dict()` of each value in external_data_id_sim_refs (dict of array) - _field_dict_of_array = {} - if self.external_data_id_sim_refs: - for _key in self.external_data_id_sim_refs: - if self.external_data_id_sim_refs[_key] is not None: - _field_dict_of_array[_key] = [ - _item.to_dict() for _item in self.external_data_id_sim_refs[_key] - ] - _dict['externalDataIDSimRefs'] = _field_dict_of_array - return _dict - - @classmethod - def from_dict(cls, obj: Dict) -> Self: - """Create an instance of FieldDataExternalDataIDs from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - # raise errors for additional fields in the input - for _key in obj.keys(): - if _key not in cls.__properties: - raise ValueError("Error due to additional fields (not defined in FieldDataExternalDataIDs) in the input: " + _key) - - _obj = cls.model_validate({ - "externalDataIdentifiers": [ExternalDataIdentifier.from_dict(_item) for _item in obj.get("externalDataIdentifiers")] if obj.get("externalDataIdentifiers") is not None else None, - "externalDataAnnotations": obj.get("externalDataAnnotations"), - "externalDataIDSimRefs": dict( - (_k, - [KeyValue.from_dict(_item) for _item in _v] - if _v is not None - else None - ) - for _k, _v in obj.get("externalDataIDSimRefs").items() - ) - }) - return _obj - - diff --git a/python-restclient/vcell_client/models/field_data_file_operation_results.py b/python-restclient/vcell_client/models/field_data_file_operation_results.py deleted file mode 100644 index c0395c993c..0000000000 --- a/python-restclient/vcell_client/models/field_data_file_operation_results.py +++ /dev/null @@ -1,138 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Any, ClassVar, Dict, List, Optional, Union -from pydantic import BaseModel, StrictFloat, StrictInt -from pydantic import Field -from vcell_client.models.data_identifier import DataIdentifier -from vcell_client.models.extent import Extent -from vcell_client.models.external_data_identifier import ExternalDataIdentifier -from vcell_client.models.field_data_reference_info import FieldDataReferenceInfo -from vcell_client.models.i_size import ISize -from vcell_client.models.origin import Origin -try: - from typing import Self -except ImportError: - from typing_extensions import Self - -class FieldDataFileOperationResults(BaseModel): - """ - FieldDataFileOperationResults - """ # noqa: E501 - data_identifier_arr: Optional[List[DataIdentifier]] = Field(default=None, alias="dataIdentifierArr") - external_data_identifier: Optional[ExternalDataIdentifier] = Field(default=None, alias="externalDataIdentifier") - i_size: Optional[ISize] = Field(default=None, alias="iSize") - origin: Optional[Origin] = None - extent: Optional[Extent] = None - times: Optional[List[Union[StrictFloat, StrictInt]]] = None - dependant_function_info: Optional[List[FieldDataReferenceInfo]] = Field(default=None, alias="dependantFunctionInfo") - __properties: ClassVar[List[str]] = ["dataIdentifierArr", "externalDataIdentifier", "iSize", "origin", "extent", "times", "dependantFunctionInfo"] - - model_config = { - "populate_by_name": True, - "validate_assignment": True - } - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of FieldDataFileOperationResults from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - _dict = self.model_dump( - by_alias=True, - exclude={ - }, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in data_identifier_arr (list) - _items = [] - if self.data_identifier_arr: - for _item in self.data_identifier_arr: - if _item: - _items.append(_item.to_dict()) - _dict['dataIdentifierArr'] = _items - # override the default output from pydantic by calling `to_dict()` of external_data_identifier - if self.external_data_identifier: - _dict['externalDataIdentifier'] = self.external_data_identifier.to_dict() - # override the default output from pydantic by calling `to_dict()` of i_size - if self.i_size: - _dict['iSize'] = self.i_size.to_dict() - # override the default output from pydantic by calling `to_dict()` of origin - if self.origin: - _dict['origin'] = self.origin.to_dict() - # override the default output from pydantic by calling `to_dict()` of extent - if self.extent: - _dict['extent'] = self.extent.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in dependant_function_info (list) - _items = [] - if self.dependant_function_info: - for _item in self.dependant_function_info: - if _item: - _items.append(_item.to_dict()) - _dict['dependantFunctionInfo'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Dict) -> Self: - """Create an instance of FieldDataFileOperationResults from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - # raise errors for additional fields in the input - for _key in obj.keys(): - if _key not in cls.__properties: - raise ValueError("Error due to additional fields (not defined in FieldDataFileOperationResults) in the input: " + _key) - - _obj = cls.model_validate({ - "dataIdentifierArr": [DataIdentifier.from_dict(_item) for _item in obj.get("dataIdentifierArr")] if obj.get("dataIdentifierArr") is not None else None, - "externalDataIdentifier": ExternalDataIdentifier.from_dict(obj.get("externalDataIdentifier")) if obj.get("externalDataIdentifier") is not None else None, - "iSize": ISize.from_dict(obj.get("iSize")) if obj.get("iSize") is not None else None, - "origin": Origin.from_dict(obj.get("origin")) if obj.get("origin") is not None else None, - "extent": Extent.from_dict(obj.get("extent")) if obj.get("extent") is not None else None, - "times": obj.get("times"), - "dependantFunctionInfo": [FieldDataReferenceInfo.from_dict(_item) for _item in obj.get("dependantFunctionInfo")] if obj.get("dependantFunctionInfo") is not None else None - }) - return _obj - - diff --git a/python-restclient/vcell_client/models/field_data_file_operation_spec.py b/python-restclient/vcell_client/models/field_data_file_operation_spec.py deleted file mode 100644 index c9a1e8774b..0000000000 --- a/python-restclient/vcell_client/models/field_data_file_operation_spec.py +++ /dev/null @@ -1,165 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Any, ClassVar, Dict, List, Optional, Union -from pydantic import BaseModel, StrictFloat, StrictInt, StrictStr -from pydantic import Field -from vcell_client.models.cartesian_mesh import CartesianMesh -from vcell_client.models.extent import Extent -from vcell_client.models.external_data_identifier import ExternalDataIdentifier -from vcell_client.models.i_size import ISize -from vcell_client.models.key_value import KeyValue -from vcell_client.models.origin import Origin -from vcell_client.models.user import User -from vcell_client.models.variable_type import VariableType -try: - from typing import Self -except ImportError: - from typing_extensions import Self - -class FieldDataFileOperationSpec(BaseModel): - """ - FieldDataFileOperationSpec - """ # noqa: E501 - op_type: Optional[StrictInt] = Field(default=None, alias="opType") - short_spec_data: Optional[List[List[List[StrictInt]]]] = Field(default=None, alias="shortSpecData") - double_spec_data: Optional[List[List[List[Union[StrictFloat, StrictInt]]]]] = Field(default=None, alias="doubleSpecData") - cartesian_mesh: Optional[CartesianMesh] = Field(default=None, alias="cartesianMesh") - spec_edi: Optional[ExternalDataIdentifier] = Field(default=None, alias="specEDI") - var_names: Optional[List[StrictStr]] = Field(default=None, alias="varNames") - variable_types: Optional[List[VariableType]] = Field(default=None, alias="variableTypes") - times: Optional[List[Union[StrictFloat, StrictInt]]] = None - owner: Optional[User] = None - origin: Optional[Origin] = None - extent: Optional[Extent] = None - isize: Optional[ISize] = None - annotation: Optional[StrictStr] = None - source_sim_param_scan_job_index: Optional[StrictInt] = Field(default=None, alias="sourceSimParamScanJobIndex") - source_sim_data_key: Optional[KeyValue] = Field(default=None, alias="sourceSimDataKey") - source_owner: Optional[User] = Field(default=None, alias="sourceOwner") - field_data_name: Optional[StrictStr] = Field(default=None, alias="fieldDataName") - __properties: ClassVar[List[str]] = ["opType", "shortSpecData", "doubleSpecData", "cartesianMesh", "specEDI", "varNames", "variableTypes", "times", "owner", "origin", "extent", "isize", "annotation", "sourceSimParamScanJobIndex", "sourceSimDataKey", "sourceOwner", "fieldDataName"] - - model_config = { - "populate_by_name": True, - "validate_assignment": True - } - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of FieldDataFileOperationSpec from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - _dict = self.model_dump( - by_alias=True, - exclude={ - }, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of cartesian_mesh - if self.cartesian_mesh: - _dict['cartesianMesh'] = self.cartesian_mesh.to_dict() - # override the default output from pydantic by calling `to_dict()` of spec_edi - if self.spec_edi: - _dict['specEDI'] = self.spec_edi.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in variable_types (list) - _items = [] - if self.variable_types: - for _item in self.variable_types: - if _item: - _items.append(_item.to_dict()) - _dict['variableTypes'] = _items - # override the default output from pydantic by calling `to_dict()` of owner - if self.owner: - _dict['owner'] = self.owner.to_dict() - # override the default output from pydantic by calling `to_dict()` of origin - if self.origin: - _dict['origin'] = self.origin.to_dict() - # override the default output from pydantic by calling `to_dict()` of extent - if self.extent: - _dict['extent'] = self.extent.to_dict() - # override the default output from pydantic by calling `to_dict()` of isize - if self.isize: - _dict['isize'] = self.isize.to_dict() - # override the default output from pydantic by calling `to_dict()` of source_sim_data_key - if self.source_sim_data_key: - _dict['sourceSimDataKey'] = self.source_sim_data_key.to_dict() - # override the default output from pydantic by calling `to_dict()` of source_owner - if self.source_owner: - _dict['sourceOwner'] = self.source_owner.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Dict) -> Self: - """Create an instance of FieldDataFileOperationSpec from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - # raise errors for additional fields in the input - for _key in obj.keys(): - if _key not in cls.__properties: - raise ValueError("Error due to additional fields (not defined in FieldDataFileOperationSpec) in the input: " + _key) - - _obj = cls.model_validate({ - "opType": obj.get("opType"), - "shortSpecData": obj.get("shortSpecData"), - "doubleSpecData": obj.get("doubleSpecData"), - "cartesianMesh": CartesianMesh.from_dict(obj.get("cartesianMesh")) if obj.get("cartesianMesh") is not None else None, - "specEDI": ExternalDataIdentifier.from_dict(obj.get("specEDI")) if obj.get("specEDI") is not None else None, - "varNames": obj.get("varNames"), - "variableTypes": [VariableType.from_dict(_item) for _item in obj.get("variableTypes")] if obj.get("variableTypes") is not None else None, - "times": obj.get("times"), - "owner": User.from_dict(obj.get("owner")) if obj.get("owner") is not None else None, - "origin": Origin.from_dict(obj.get("origin")) if obj.get("origin") is not None else None, - "extent": Extent.from_dict(obj.get("extent")) if obj.get("extent") is not None else None, - "isize": ISize.from_dict(obj.get("isize")) if obj.get("isize") is not None else None, - "annotation": obj.get("annotation"), - "sourceSimParamScanJobIndex": obj.get("sourceSimParamScanJobIndex"), - "sourceSimDataKey": KeyValue.from_dict(obj.get("sourceSimDataKey")) if obj.get("sourceSimDataKey") is not None else None, - "sourceOwner": User.from_dict(obj.get("sourceOwner")) if obj.get("sourceOwner") is not None else None, - "fieldDataName": obj.get("fieldDataName") - }) - return _obj - - diff --git a/python-restclient/vcell_client/models/field_data_info.py b/python-restclient/vcell_client/models/field_data_info.py deleted file mode 100644 index ad26925cd3..0000000000 --- a/python-restclient/vcell_client/models/field_data_info.py +++ /dev/null @@ -1,122 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Any, ClassVar, Dict, List, Optional, Union -from pydantic import BaseModel, StrictFloat, StrictInt -from pydantic import Field -from vcell_client.models.data_identifier import DataIdentifier -from vcell_client.models.extent import Extent -from vcell_client.models.i_size import ISize -from vcell_client.models.origin import Origin -try: - from typing import Self -except ImportError: - from typing_extensions import Self - -class FieldDataInfo(BaseModel): - """ - FieldDataInfo - """ # noqa: E501 - extent: Optional[Extent] = None - origin: Optional[Origin] = None - isize: Optional[ISize] = None - data_identifier: Optional[List[DataIdentifier]] = Field(default=None, alias="dataIdentifier") - times: Optional[List[Union[StrictFloat, StrictInt]]] = None - __properties: ClassVar[List[str]] = ["extent", "origin", "isize", "dataIdentifier", "times"] - - model_config = { - "populate_by_name": True, - "validate_assignment": True - } - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of FieldDataInfo from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - _dict = self.model_dump( - by_alias=True, - exclude={ - }, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of extent - if self.extent: - _dict['extent'] = self.extent.to_dict() - # override the default output from pydantic by calling `to_dict()` of origin - if self.origin: - _dict['origin'] = self.origin.to_dict() - # override the default output from pydantic by calling `to_dict()` of isize - if self.isize: - _dict['isize'] = self.isize.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in data_identifier (list) - _items = [] - if self.data_identifier: - for _item in self.data_identifier: - if _item: - _items.append(_item.to_dict()) - _dict['dataIdentifier'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Dict) -> Self: - """Create an instance of FieldDataInfo from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - # raise errors for additional fields in the input - for _key in obj.keys(): - if _key not in cls.__properties: - raise ValueError("Error due to additional fields (not defined in FieldDataInfo) in the input: " + _key) - - _obj = cls.model_validate({ - "extent": Extent.from_dict(obj.get("extent")) if obj.get("extent") is not None else None, - "origin": Origin.from_dict(obj.get("origin")) if obj.get("origin") is not None else None, - "isize": ISize.from_dict(obj.get("isize")) if obj.get("isize") is not None else None, - "dataIdentifier": [DataIdentifier.from_dict(_item) for _item in obj.get("dataIdentifier")] if obj.get("dataIdentifier") is not None else None, - "times": obj.get("times") - }) - return _obj - - diff --git a/python-restclient/vcell_client/models/field_data_no_copy_conflict.py b/python-restclient/vcell_client/models/field_data_no_copy_conflict.py deleted file mode 100644 index 81ebb1283b..0000000000 --- a/python-restclient/vcell_client/models/field_data_no_copy_conflict.py +++ /dev/null @@ -1,122 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Any, ClassVar, Dict, List, Optional -from pydantic import BaseModel -from pydantic import Field -from vcell_client.models.external_data_identifier import ExternalDataIdentifier -from vcell_client.models.key_value import KeyValue -try: - from typing import Self -except ImportError: - from typing_extensions import Self - -class FieldDataNoCopyConflict(BaseModel): - """ - FieldDataNoCopyConflict - """ # noqa: E501 - old_name_new_id_hash: Optional[Dict[str, ExternalDataIdentifier]] = Field(default=None, alias="oldNameNewIDHash") - old_name_old_ext_data_id_key_hash: Optional[Dict[str, KeyValue]] = Field(default=None, alias="oldNameOldExtDataIDKeyHash") - __properties: ClassVar[List[str]] = ["oldNameNewIDHash", "oldNameOldExtDataIDKeyHash"] - - model_config = { - "populate_by_name": True, - "validate_assignment": True - } - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of FieldDataNoCopyConflict from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - _dict = self.model_dump( - by_alias=True, - exclude={ - }, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each value in old_name_new_id_hash (dict) - _field_dict = {} - if self.old_name_new_id_hash: - for _key in self.old_name_new_id_hash: - if self.old_name_new_id_hash[_key]: - _field_dict[_key] = self.old_name_new_id_hash[_key].to_dict() - _dict['oldNameNewIDHash'] = _field_dict - # override the default output from pydantic by calling `to_dict()` of each value in old_name_old_ext_data_id_key_hash (dict) - _field_dict = {} - if self.old_name_old_ext_data_id_key_hash: - for _key in self.old_name_old_ext_data_id_key_hash: - if self.old_name_old_ext_data_id_key_hash[_key]: - _field_dict[_key] = self.old_name_old_ext_data_id_key_hash[_key].to_dict() - _dict['oldNameOldExtDataIDKeyHash'] = _field_dict - return _dict - - @classmethod - def from_dict(cls, obj: Dict) -> Self: - """Create an instance of FieldDataNoCopyConflict from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - # raise errors for additional fields in the input - for _key in obj.keys(): - if _key not in cls.__properties: - raise ValueError("Error due to additional fields (not defined in FieldDataNoCopyConflict) in the input: " + _key) - - _obj = cls.model_validate({ - "oldNameNewIDHash": dict( - (_k, ExternalDataIdentifier.from_dict(_v)) - for _k, _v in obj.get("oldNameNewIDHash").items() - ) - if obj.get("oldNameNewIDHash") is not None - else None, - "oldNameOldExtDataIDKeyHash": dict( - (_k, KeyValue.from_dict(_v)) - for _k, _v in obj.get("oldNameOldExtDataIDKeyHash").items() - ) - if obj.get("oldNameOldExtDataIDKeyHash") is not None - else None - }) - return _obj - - diff --git a/python-restclient/vcell_client/models/field_data_reference_info.py b/python-restclient/vcell_client/models/field_data_reference_info.py deleted file mode 100644 index 098481c735..0000000000 --- a/python-restclient/vcell_client/models/field_data_reference_info.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Any, ClassVar, Dict, List, Optional -from pydantic import BaseModel, StrictStr -from pydantic import Field -from vcell_client.models.key_value import KeyValue -try: - from typing import Self -except ImportError: - from typing_extensions import Self - -class FieldDataReferenceInfo(BaseModel): - """ - FieldDataReferenceInfo - """ # noqa: E501 - reference_source_type: Optional[StrictStr] = Field(default=None, alias="referenceSourceType") - reference_source_name: Optional[StrictStr] = Field(default=None, alias="referenceSourceName") - application_name: Optional[StrictStr] = Field(default=None, alias="applicationName") - simulation_name: Optional[StrictStr] = Field(default=None, alias="simulationName") - ref_source_version_date: Optional[StrictStr] = Field(default=None, alias="refSourceVersionDate") - func_names: Optional[List[StrictStr]] = Field(default=None, alias="funcNames") - ref_source_version_key: Optional[KeyValue] = Field(default=None, alias="refSourceVersionKey") - __properties: ClassVar[List[str]] = ["referenceSourceType", "referenceSourceName", "applicationName", "simulationName", "refSourceVersionDate", "funcNames", "refSourceVersionKey"] - - model_config = { - "populate_by_name": True, - "validate_assignment": True - } - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of FieldDataReferenceInfo from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - _dict = self.model_dump( - by_alias=True, - exclude={ - }, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of ref_source_version_key - if self.ref_source_version_key: - _dict['refSourceVersionKey'] = self.ref_source_version_key.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Dict) -> Self: - """Create an instance of FieldDataReferenceInfo from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - # raise errors for additional fields in the input - for _key in obj.keys(): - if _key not in cls.__properties: - raise ValueError("Error due to additional fields (not defined in FieldDataReferenceInfo) in the input: " + _key) - - _obj = cls.model_validate({ - "referenceSourceType": obj.get("referenceSourceType"), - "referenceSourceName": obj.get("referenceSourceName"), - "applicationName": obj.get("applicationName"), - "simulationName": obj.get("simulationName"), - "refSourceVersionDate": obj.get("refSourceVersionDate"), - "funcNames": obj.get("funcNames"), - "refSourceVersionKey": KeyValue.from_dict(obj.get("refSourceVersionKey")) if obj.get("refSourceVersionKey") is not None else None - }) - return _obj - - diff --git a/python-restclient/vcell_client/models/field_data_references.py b/python-restclient/vcell_client/models/field_data_references.py deleted file mode 100644 index 5143fe7559..0000000000 --- a/python-restclient/vcell_client/models/field_data_references.py +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Any, ClassVar, Dict, List, Optional -from pydantic import BaseModel, StrictStr -from pydantic import Field -from vcell_client.models.external_data_identifier import ExternalDataIdentifier -from vcell_client.models.key_value import KeyValue -try: - from typing import Self -except ImportError: - from typing_extensions import Self - -class FieldDataReferences(BaseModel): - """ - FieldDataReferences - """ # noqa: E501 - external_data_identifiers: Optional[List[ExternalDataIdentifier]] = Field(default=None, alias="externalDataIdentifiers") - external_data_annotations: Optional[List[StrictStr]] = Field(default=None, alias="externalDataAnnotations") - external_data_id_sim_refs: Optional[Dict[str, List[KeyValue]]] = Field(default=None, alias="externalDataIDSimRefs") - __properties: ClassVar[List[str]] = ["externalDataIdentifiers", "externalDataAnnotations", "externalDataIDSimRefs"] - - model_config = { - "populate_by_name": True, - "validate_assignment": True - } - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of FieldDataReferences from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - _dict = self.model_dump( - by_alias=True, - exclude={ - }, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in external_data_identifiers (list) - _items = [] - if self.external_data_identifiers: - for _item in self.external_data_identifiers: - if _item: - _items.append(_item.to_dict()) - _dict['externalDataIdentifiers'] = _items - # override the default output from pydantic by calling `to_dict()` of each value in external_data_id_sim_refs (dict of array) - _field_dict_of_array = {} - if self.external_data_id_sim_refs: - for _key in self.external_data_id_sim_refs: - if self.external_data_id_sim_refs[_key] is not None: - _field_dict_of_array[_key] = [ - _item.to_dict() for _item in self.external_data_id_sim_refs[_key] - ] - _dict['externalDataIDSimRefs'] = _field_dict_of_array - return _dict - - @classmethod - def from_dict(cls, obj: Dict) -> Self: - """Create an instance of FieldDataReferences from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - # raise errors for additional fields in the input - for _key in obj.keys(): - if _key not in cls.__properties: - raise ValueError("Error due to additional fields (not defined in FieldDataReferences) in the input: " + _key) - - _obj = cls.model_validate({ - "externalDataIdentifiers": [ExternalDataIdentifier.from_dict(_item) for _item in obj.get("externalDataIdentifiers")] if obj.get("externalDataIdentifiers") is not None else None, - "externalDataAnnotations": obj.get("externalDataAnnotations"), - "externalDataIDSimRefs": dict( - (_k, - [KeyValue.from_dict(_item) for _item in _v] - if _v is not None - else None - ) - for _k, _v in obj.get("externalDataIDSimRefs").items() - ) - }) - return _obj - - diff --git a/python-restclient/vcell_client/models/group_access.py b/python-restclient/vcell_client/models/group_access.py deleted file mode 100644 index e57950d5de..0000000000 --- a/python-restclient/vcell_client/models/group_access.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Any, ClassVar, Dict, List, Optional, Union -from pydantic import BaseModel, StrictFloat, StrictInt, StrictStr -try: - from typing import Self -except ImportError: - from typing_extensions import Self - -class GroupAccess(BaseModel): - """ - GroupAccess - """ # noqa: E501 - groupid: Optional[Union[StrictFloat, StrictInt]] = None - description: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["groupid", "description"] - - model_config = { - "populate_by_name": True, - "validate_assignment": True - } - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of GroupAccess from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - _dict = self.model_dump( - by_alias=True, - exclude={ - }, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Dict) -> Self: - """Create an instance of GroupAccess from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - # raise errors for additional fields in the input - for _key in obj.keys(): - if _key not in cls.__properties: - raise ValueError("Error due to additional fields (not defined in GroupAccess) in the input: " + _key) - - _obj = cls.model_validate({ - "groupid": obj.get("groupid"), - "description": obj.get("description") - }) - return _obj - - diff --git a/python-restclient/vcell_client/models/identity_provider.py b/python-restclient/vcell_client/models/identity_provider.py deleted file mode 100644 index 9432e37bc2..0000000000 --- a/python-restclient/vcell_client/models/identity_provider.py +++ /dev/null @@ -1,46 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import json -import pprint -import re # noqa: F401 -from enum import Enum - - - -try: - from typing import Self -except ImportError: - from typing_extensions import Self - - -class IdentityProvider(str, Enum): - """ - IdentityProvider - """ - - """ - allowed enum values - """ - AUTH0 = 'AUTH0' - KEYCLOAK = 'KEYCLOAK' - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of IdentityProvider from a JSON string""" - return cls(json.loads(json_str)) - - diff --git a/python-restclient/vcell_client/models/map_user.py b/python-restclient/vcell_client/models/map_user.py deleted file mode 100644 index bf49fab4cd..0000000000 --- a/python-restclient/vcell_client/models/map_user.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Any, ClassVar, Dict, List, Optional -from pydantic import BaseModel, StrictStr -from pydantic import Field -try: - from typing import Self -except ImportError: - from typing_extensions import Self - -class MapUser(BaseModel): - """ - MapUser - """ # noqa: E501 - user_id: Optional[StrictStr] = Field(default=None, alias="userID") - password: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["userID", "password"] - - model_config = { - "populate_by_name": True, - "validate_assignment": True - } - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of MapUser from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - _dict = self.model_dump( - by_alias=True, - exclude={ - }, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Dict) -> Self: - """Create an instance of MapUser from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - # raise errors for additional fields in the input - for _key in obj.keys(): - if _key not in cls.__properties: - raise ValueError("Error due to additional fields (not defined in MapUser) in the input: " + _key) - - _obj = cls.model_validate({ - "userID": obj.get("userID"), - "password": obj.get("password") - }) - return _obj - - diff --git a/python-restclient/vcell_client/models/override_representation.py b/python-restclient/vcell_client/models/override_representation.py deleted file mode 100644 index 5d4d30d950..0000000000 --- a/python-restclient/vcell_client/models/override_representation.py +++ /dev/null @@ -1,101 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Any, ClassVar, Dict, List, Optional -from pydantic import BaseModel, StrictInt, StrictStr -try: - from typing import Self -except ImportError: - from typing_extensions import Self - -class OverrideRepresentation(BaseModel): - """ - OverrideRepresentation - """ # noqa: E501 - name: Optional[StrictStr] = None - type: Optional[StrictStr] = None - expression: Optional[StrictStr] = None - values: Optional[List[StrictStr]] = None - cardinality: Optional[StrictInt] = None - __properties: ClassVar[List[str]] = ["name", "type", "expression", "values", "cardinality"] - - model_config = { - "populate_by_name": True, - "validate_assignment": True - } - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of OverrideRepresentation from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - _dict = self.model_dump( - by_alias=True, - exclude={ - }, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Dict) -> Self: - """Create an instance of OverrideRepresentation from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - # raise errors for additional fields in the input - for _key in obj.keys(): - if _key not in cls.__properties: - raise ValueError("Error due to additional fields (not defined in OverrideRepresentation) in the input: " + _key) - - _obj = cls.model_validate({ - "name": obj.get("name"), - "type": obj.get("type"), - "expression": obj.get("expression"), - "values": obj.get("values"), - "cardinality": obj.get("cardinality") - }) - return _obj - - diff --git a/python-restclient/vcell_client/models/save_field_data_from_file.py b/python-restclient/vcell_client/models/save_field_data_from_file.py deleted file mode 100644 index 839d065eb6..0000000000 --- a/python-restclient/vcell_client/models/save_field_data_from_file.py +++ /dev/null @@ -1,120 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Any, ClassVar, Dict, List, Optional, Union -from pydantic import BaseModel, StrictFloat, StrictInt, StrictStr -from pydantic import Field -from vcell_client.models.extent import Extent -from vcell_client.models.i_size import ISize -from vcell_client.models.origin import Origin -try: - from typing import Self -except ImportError: - from typing_extensions import Self - -class SaveFieldDataFromFile(BaseModel): - """ - SaveFieldDataFromFile - """ # noqa: E501 - short_spec_data: Optional[List[List[List[StrictInt]]]] = Field(default=None, alias="shortSpecData") - var_names: Optional[List[StrictStr]] = Field(default=None, alias="varNames") - times: Optional[List[Union[StrictFloat, StrictInt]]] = None - origin: Optional[Origin] = None - extent: Optional[Extent] = None - isize: Optional[ISize] = None - annotation: Optional[StrictStr] = None - name: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["shortSpecData", "varNames", "times", "origin", "extent", "isize", "annotation", "name"] - - model_config = { - "populate_by_name": True, - "validate_assignment": True - } - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of SaveFieldDataFromFile from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - _dict = self.model_dump( - by_alias=True, - exclude={ - }, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of origin - if self.origin: - _dict['origin'] = self.origin.to_dict() - # override the default output from pydantic by calling `to_dict()` of extent - if self.extent: - _dict['extent'] = self.extent.to_dict() - # override the default output from pydantic by calling `to_dict()` of isize - if self.isize: - _dict['isize'] = self.isize.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Dict) -> Self: - """Create an instance of SaveFieldDataFromFile from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - # raise errors for additional fields in the input - for _key in obj.keys(): - if _key not in cls.__properties: - raise ValueError("Error due to additional fields (not defined in SaveFieldDataFromFile) in the input: " + _key) - - _obj = cls.model_validate({ - "shortSpecData": obj.get("shortSpecData"), - "varNames": obj.get("varNames"), - "times": obj.get("times"), - "origin": Origin.from_dict(obj.get("origin")) if obj.get("origin") is not None else None, - "extent": Extent.from_dict(obj.get("extent")) if obj.get("extent") is not None else None, - "isize": ISize.from_dict(obj.get("isize")) if obj.get("isize") is not None else None, - "annotation": obj.get("annotation"), - "name": obj.get("name") - }) - return _obj - - diff --git a/python-restclient/vcell_client/models/simulation.py b/python-restclient/vcell_client/models/simulation.py deleted file mode 100644 index 420edfac22..0000000000 --- a/python-restclient/vcell_client/models/simulation.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Any, ClassVar, Dict, List, Optional -from pydantic import BaseModel, StrictStr -try: - from typing import Self -except ImportError: - from typing_extensions import Self - -class Simulation(BaseModel): - """ - Simulation - """ # noqa: E501 - name: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["name"] - - model_config = { - "populate_by_name": True, - "validate_assignment": True - } - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of Simulation from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - _dict = self.model_dump( - by_alias=True, - exclude={ - }, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Dict) -> Self: - """Create an instance of Simulation from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - # raise errors for additional fields in the input - for _key in obj.keys(): - if _key not in cls.__properties: - raise ValueError("Error due to additional fields (not defined in Simulation) in the input: " + _key) - - _obj = cls.model_validate({ - "name": obj.get("name") - }) - return _obj - - diff --git a/python-restclient/vcell_client/models/simulation_execution_status.py b/python-restclient/vcell_client/models/simulation_execution_status.py deleted file mode 100644 index 3b3427ed0a..0000000000 --- a/python-restclient/vcell_client/models/simulation_execution_status.py +++ /dev/null @@ -1,121 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import date -from typing import Any, ClassVar, Dict, List, Optional -from pydantic import BaseModel, StrictBool, StrictStr -from pydantic import Field -from vcell_client.models.htc_job_id import HtcJobID -try: - from typing import Self -except ImportError: - from typing_extensions import Self - -class SimulationExecutionStatus(BaseModel): - """ - SimulationExecutionStatus - """ # noqa: E501 - field_start_date: Optional[date] = Field(default=None, alias="fieldStartDate") - field_latest_update_date: Optional[date] = Field(default=None, alias="fieldLatestUpdateDate") - field_end_date: Optional[date] = Field(default=None, alias="fieldEndDate") - field_compute_host: Optional[StrictStr] = Field(default=None, alias="fieldComputeHost") - field_has_data: Optional[StrictBool] = Field(default=None, alias="fieldHasData") - field_htc_job_id: Optional[HtcJobID] = Field(default=None, alias="fieldHtcJobID") - compute_host: Optional[StrictStr] = Field(default=None, alias="computeHost") - end_date: Optional[date] = Field(default=None, alias="endDate") - latest_update_date: Optional[date] = Field(default=None, alias="latestUpdateDate") - start_date: Optional[date] = Field(default=None, alias="startDate") - htc_job_id: Optional[HtcJobID] = Field(default=None, alias="htcJobID") - __properties: ClassVar[List[str]] = ["fieldStartDate", "fieldLatestUpdateDate", "fieldEndDate", "fieldComputeHost", "fieldHasData", "fieldHtcJobID", "computeHost", "endDate", "latestUpdateDate", "startDate", "htcJobID"] - - model_config = { - "populate_by_name": True, - "validate_assignment": True - } - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of SimulationExecutionStatus from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - _dict = self.model_dump( - by_alias=True, - exclude={ - }, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of field_htc_job_id - if self.field_htc_job_id: - _dict['fieldHtcJobID'] = self.field_htc_job_id.to_dict() - # override the default output from pydantic by calling `to_dict()` of htc_job_id - if self.htc_job_id: - _dict['htcJobID'] = self.htc_job_id.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Dict) -> Self: - """Create an instance of SimulationExecutionStatus from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - # raise errors for additional fields in the input - for _key in obj.keys(): - if _key not in cls.__properties: - raise ValueError("Error due to additional fields (not defined in SimulationExecutionStatus) in the input: " + _key) - - _obj = cls.model_validate({ - "fieldStartDate": obj.get("fieldStartDate"), - "fieldLatestUpdateDate": obj.get("fieldLatestUpdateDate"), - "fieldEndDate": obj.get("fieldEndDate"), - "fieldComputeHost": obj.get("fieldComputeHost"), - "fieldHasData": obj.get("fieldHasData"), - "fieldHtcJobID": HtcJobID.from_dict(obj.get("fieldHtcJobID")) if obj.get("fieldHtcJobID") is not None else None, - "computeHost": obj.get("computeHost"), - "endDate": obj.get("endDate"), - "latestUpdateDate": obj.get("latestUpdateDate"), - "startDate": obj.get("startDate"), - "htcJobID": HtcJobID.from_dict(obj.get("htcJobID")) if obj.get("htcJobID") is not None else None - }) - return _obj - - diff --git a/python-restclient/vcell_client/models/simulation_job_status.py b/python-restclient/vcell_client/models/simulation_job_status.py deleted file mode 100644 index 5950651798..0000000000 --- a/python-restclient/vcell_client/models/simulation_job_status.py +++ /dev/null @@ -1,174 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import date -from typing import Any, ClassVar, Dict, List, Optional -from pydantic import BaseModel, StrictInt, StrictStr -from pydantic import Field -from vcell_client.models.scheduler_status import SchedulerStatus -from vcell_client.models.simulation_execution_status import SimulationExecutionStatus -from vcell_client.models.simulation_message import SimulationMessage -from vcell_client.models.simulation_queue_entry_status import SimulationQueueEntryStatus -from vcell_client.models.v_cell_server_id import VCellServerID -from vcell_client.models.vc_simulation_identifier import VCSimulationIdentifier -try: - from typing import Self -except ImportError: - from typing_extensions import Self - -class SimulationJobStatus(BaseModel): - """ - SimulationJobStatus - """ # noqa: E501 - field_time_date_stamp: Optional[date] = Field(default=None, alias="fieldTimeDateStamp") - field_vc_sim_id: Optional[VCSimulationIdentifier] = Field(default=None, alias="fieldVCSimID") - field_submit_date: Optional[date] = Field(default=None, alias="fieldSubmitDate") - field_scheduler_status: Optional[SchedulerStatus] = Field(default=None, alias="fieldSchedulerStatus") - field_task_id: Optional[StrictInt] = Field(default=None, alias="fieldTaskID") - field_simulation_message: Optional[SimulationMessage] = Field(default=None, alias="fieldSimulationMessage") - field_server_id: Optional[VCellServerID] = Field(default=None, alias="fieldServerID") - field_job_index: Optional[StrictInt] = Field(default=None, alias="fieldJobIndex") - field_simulation_queue_entry_status: Optional[SimulationQueueEntryStatus] = Field(default=None, alias="fieldSimulationQueueEntryStatus") - field_simulation_execution_status: Optional[SimulationExecutionStatus] = Field(default=None, alias="fieldSimulationExecutionStatus") - compute_host: Optional[StrictStr] = Field(default=None, alias="computeHost") - end_date: Optional[date] = Field(default=None, alias="endDate") - job_index: Optional[StrictInt] = Field(default=None, alias="jobIndex") - scheduler_status: Optional[SchedulerStatus] = Field(default=None, alias="schedulerStatus") - server_id: Optional[VCellServerID] = Field(default=None, alias="serverID") - simulation_execution_status: Optional[SimulationExecutionStatus] = Field(default=None, alias="simulationExecutionStatus") - simulation_queue_entry_status: Optional[SimulationQueueEntryStatus] = Field(default=None, alias="simulationQueueEntryStatus") - start_date: Optional[date] = Field(default=None, alias="startDate") - simulation_message: Optional[SimulationMessage] = Field(default=None, alias="simulationMessage") - submit_date: Optional[date] = Field(default=None, alias="submitDate") - task_id: Optional[StrictInt] = Field(default=None, alias="taskID") - time_date_stamp: Optional[date] = Field(default=None, alias="timeDateStamp") - v_c_simulation_identifier: Optional[VCSimulationIdentifier] = Field(default=None, alias="vCSimulationIdentifier") - __properties: ClassVar[List[str]] = ["fieldTimeDateStamp", "fieldVCSimID", "fieldSubmitDate", "fieldSchedulerStatus", "fieldTaskID", "fieldSimulationMessage", "fieldServerID", "fieldJobIndex", "fieldSimulationQueueEntryStatus", "fieldSimulationExecutionStatus", "computeHost", "endDate", "jobIndex", "schedulerStatus", "serverID", "simulationExecutionStatus", "simulationQueueEntryStatus", "startDate", "simulationMessage", "submitDate", "taskID", "timeDateStamp", "vCSimulationIdentifier"] - - model_config = { - "populate_by_name": True, - "validate_assignment": True - } - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of SimulationJobStatus from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - _dict = self.model_dump( - by_alias=True, - exclude={ - }, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of field_vc_sim_id - if self.field_vc_sim_id: - _dict['fieldVCSimID'] = self.field_vc_sim_id.to_dict() - # override the default output from pydantic by calling `to_dict()` of field_simulation_message - if self.field_simulation_message: - _dict['fieldSimulationMessage'] = self.field_simulation_message.to_dict() - # override the default output from pydantic by calling `to_dict()` of field_server_id - if self.field_server_id: - _dict['fieldServerID'] = self.field_server_id.to_dict() - # override the default output from pydantic by calling `to_dict()` of field_simulation_queue_entry_status - if self.field_simulation_queue_entry_status: - _dict['fieldSimulationQueueEntryStatus'] = self.field_simulation_queue_entry_status.to_dict() - # override the default output from pydantic by calling `to_dict()` of field_simulation_execution_status - if self.field_simulation_execution_status: - _dict['fieldSimulationExecutionStatus'] = self.field_simulation_execution_status.to_dict() - # override the default output from pydantic by calling `to_dict()` of server_id - if self.server_id: - _dict['serverID'] = self.server_id.to_dict() - # override the default output from pydantic by calling `to_dict()` of simulation_execution_status - if self.simulation_execution_status: - _dict['simulationExecutionStatus'] = self.simulation_execution_status.to_dict() - # override the default output from pydantic by calling `to_dict()` of simulation_queue_entry_status - if self.simulation_queue_entry_status: - _dict['simulationQueueEntryStatus'] = self.simulation_queue_entry_status.to_dict() - # override the default output from pydantic by calling `to_dict()` of simulation_message - if self.simulation_message: - _dict['simulationMessage'] = self.simulation_message.to_dict() - # override the default output from pydantic by calling `to_dict()` of v_c_simulation_identifier - if self.v_c_simulation_identifier: - _dict['vCSimulationIdentifier'] = self.v_c_simulation_identifier.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Dict) -> Self: - """Create an instance of SimulationJobStatus from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - # raise errors for additional fields in the input - for _key in obj.keys(): - if _key not in cls.__properties: - raise ValueError("Error due to additional fields (not defined in SimulationJobStatus) in the input: " + _key) - - _obj = cls.model_validate({ - "fieldTimeDateStamp": obj.get("fieldTimeDateStamp"), - "fieldVCSimID": VCSimulationIdentifier.from_dict(obj.get("fieldVCSimID")) if obj.get("fieldVCSimID") is not None else None, - "fieldSubmitDate": obj.get("fieldSubmitDate"), - "fieldSchedulerStatus": obj.get("fieldSchedulerStatus"), - "fieldTaskID": obj.get("fieldTaskID"), - "fieldSimulationMessage": SimulationMessage.from_dict(obj.get("fieldSimulationMessage")) if obj.get("fieldSimulationMessage") is not None else None, - "fieldServerID": VCellServerID.from_dict(obj.get("fieldServerID")) if obj.get("fieldServerID") is not None else None, - "fieldJobIndex": obj.get("fieldJobIndex"), - "fieldSimulationQueueEntryStatus": SimulationQueueEntryStatus.from_dict(obj.get("fieldSimulationQueueEntryStatus")) if obj.get("fieldSimulationQueueEntryStatus") is not None else None, - "fieldSimulationExecutionStatus": SimulationExecutionStatus.from_dict(obj.get("fieldSimulationExecutionStatus")) if obj.get("fieldSimulationExecutionStatus") is not None else None, - "computeHost": obj.get("computeHost"), - "endDate": obj.get("endDate"), - "jobIndex": obj.get("jobIndex"), - "schedulerStatus": obj.get("schedulerStatus"), - "serverID": VCellServerID.from_dict(obj.get("serverID")) if obj.get("serverID") is not None else None, - "simulationExecutionStatus": SimulationExecutionStatus.from_dict(obj.get("simulationExecutionStatus")) if obj.get("simulationExecutionStatus") is not None else None, - "simulationQueueEntryStatus": SimulationQueueEntryStatus.from_dict(obj.get("simulationQueueEntryStatus")) if obj.get("simulationQueueEntryStatus") is not None else None, - "startDate": obj.get("startDate"), - "simulationMessage": SimulationMessage.from_dict(obj.get("simulationMessage")) if obj.get("simulationMessage") is not None else None, - "submitDate": obj.get("submitDate"), - "taskID": obj.get("taskID"), - "timeDateStamp": obj.get("timeDateStamp"), - "vCSimulationIdentifier": VCSimulationIdentifier.from_dict(obj.get("vCSimulationIdentifier")) if obj.get("vCSimulationIdentifier") is not None else None - }) - return _obj - - diff --git a/python-restclient/vcell_client/models/simulation_queue_entry_status.py b/python-restclient/vcell_client/models/simulation_queue_entry_status.py deleted file mode 100644 index adf6452d5e..0000000000 --- a/python-restclient/vcell_client/models/simulation_queue_entry_status.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import date -from typing import Any, ClassVar, Dict, List, Optional -from pydantic import BaseModel, StrictInt -from pydantic import Field -from vcell_client.models.simulation_queue_id import SimulationQueueID -try: - from typing import Self -except ImportError: - from typing_extensions import Self - -class SimulationQueueEntryStatus(BaseModel): - """ - SimulationQueueEntryStatus - """ # noqa: E501 - field_queue_priority: Optional[StrictInt] = Field(default=None, alias="fieldQueuePriority") - field_queue_date: Optional[date] = Field(default=None, alias="fieldQueueDate") - field_queue_id: Optional[SimulationQueueID] = Field(default=None, alias="fieldQueueID") - queue_date: Optional[date] = Field(default=None, alias="queueDate") - queue_id: Optional[SimulationQueueID] = Field(default=None, alias="queueID") - queue_priority: Optional[StrictInt] = Field(default=None, alias="queuePriority") - __properties: ClassVar[List[str]] = ["fieldQueuePriority", "fieldQueueDate", "fieldQueueID", "queueDate", "queueID", "queuePriority"] - - model_config = { - "populate_by_name": True, - "validate_assignment": True - } - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of SimulationQueueEntryStatus from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - _dict = self.model_dump( - by_alias=True, - exclude={ - }, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Dict) -> Self: - """Create an instance of SimulationQueueEntryStatus from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - # raise errors for additional fields in the input - for _key in obj.keys(): - if _key not in cls.__properties: - raise ValueError("Error due to additional fields (not defined in SimulationQueueEntryStatus) in the input: " + _key) - - _obj = cls.model_validate({ - "fieldQueuePriority": obj.get("fieldQueuePriority"), - "fieldQueueDate": obj.get("fieldQueueDate"), - "fieldQueueID": obj.get("fieldQueueID"), - "queueDate": obj.get("queueDate"), - "queueID": obj.get("queueID"), - "queuePriority": obj.get("queuePriority") - }) - return _obj - - diff --git a/python-restclient/vcell_client/models/ucd_info.py b/python-restclient/vcell_client/models/ucd_info.py deleted file mode 100644 index dfb72c3909..0000000000 --- a/python-restclient/vcell_client/models/ucd_info.py +++ /dev/null @@ -1,148 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Any, ClassVar, Dict, List, Optional -from pydantic import BaseModel, StrictInt -from pydantic import Field -from vcell_client.models.coordinate import Coordinate -try: - from typing import Self -except ImportError: - from typing_extensions import Self - -class UCDInfo(BaseModel): - """ - UCDInfo - """ # noqa: E501 - ucd_grid_nodes: Optional[List[List[List[Coordinate]]]] = Field(default=None, alias="ucdGridNodes") - ucd_membrane_quads: Optional[List[List[StrictInt]]] = Field(default=None, alias="ucdMembraneQuads") - reduced_ucd_grid_nodes_v: Optional[List[Coordinate]] = Field(default=None, alias="reducedUCDGridNodesV") - u_cd_grid_nodes: Optional[List[List[List[Coordinate]]]] = Field(default=None, alias="uCDGridNodes") - u_cd_membrane_quads: Optional[List[List[StrictInt]]] = Field(default=None, alias="uCDMembraneQuads") - num_volume_nodes_x: Optional[StrictInt] = Field(default=None, alias="numVolumeNodesX") - num_volume_nodes_y: Optional[StrictInt] = Field(default=None, alias="numVolumeNodesY") - num_volume_nodes_z: Optional[StrictInt] = Field(default=None, alias="numVolumeNodesZ") - num_points_xyz: Optional[StrictInt] = Field(default=None, alias="numPointsXYZ") - num_volume_nodes_xy: Optional[StrictInt] = Field(default=None, alias="numVolumeNodesXY") - num_volume_cells: Optional[StrictInt] = Field(default=None, alias="numVolumeCells") - num_membrane_cells: Optional[StrictInt] = Field(default=None, alias="numMembraneCells") - __properties: ClassVar[List[str]] = ["ucdGridNodes", "ucdMembraneQuads", "reducedUCDGridNodesV", "uCDGridNodes", "uCDMembraneQuads", "numVolumeNodesX", "numVolumeNodesY", "numVolumeNodesZ", "numPointsXYZ", "numVolumeNodesXY", "numVolumeCells", "numMembraneCells"] - - model_config = { - "populate_by_name": True, - "validate_assignment": True - } - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of UCDInfo from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - _dict = self.model_dump( - by_alias=True, - exclude={ - }, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in ucd_grid_nodes (list of list) - _items = [] - if self.ucd_grid_nodes: - for _item in self.ucd_grid_nodes: - if _item: - _items.append( - [_inner_item.to_dict() for _inner_item in _item if _inner_item is not None] - ) - _dict['ucdGridNodes'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in reduced_ucd_grid_nodes_v (list) - _items = [] - if self.reduced_ucd_grid_nodes_v: - for _item in self.reduced_ucd_grid_nodes_v: - if _item: - _items.append(_item.to_dict()) - _dict['reducedUCDGridNodesV'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in u_cd_grid_nodes (list of list) - _items = [] - if self.u_cd_grid_nodes: - for _item in self.u_cd_grid_nodes: - if _item: - _items.append( - [_inner_item.to_dict() for _inner_item in _item if _inner_item is not None] - ) - _dict['uCDGridNodes'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Dict) -> Self: - """Create an instance of UCDInfo from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - # raise errors for additional fields in the input - for _key in obj.keys(): - if _key not in cls.__properties: - raise ValueError("Error due to additional fields (not defined in UCDInfo) in the input: " + _key) - - _obj = cls.model_validate({ - "ucdGridNodes": [ - [List[Coordinate].from_dict(_inner_item) for _inner_item in _item] - for _item in obj.get("ucdGridNodes") - ] if obj.get("ucdGridNodes") is not None else None, - "ucdMembraneQuads": obj.get("ucdMembraneQuads"), - "reducedUCDGridNodesV": [Coordinate.from_dict(_item) for _item in obj.get("reducedUCDGridNodesV")] if obj.get("reducedUCDGridNodesV") is not None else None, - "uCDGridNodes": [ - [List[Coordinate].from_dict(_inner_item) for _inner_item in _item] - for _item in obj.get("uCDGridNodes") - ] if obj.get("uCDGridNodes") is not None else None, - "uCDMembraneQuads": obj.get("uCDMembraneQuads"), - "numVolumeNodesX": obj.get("numVolumeNodesX"), - "numVolumeNodesY": obj.get("numVolumeNodesY"), - "numVolumeNodesZ": obj.get("numVolumeNodesZ"), - "numPointsXYZ": obj.get("numPointsXYZ"), - "numVolumeNodesXY": obj.get("numVolumeNodesXY"), - "numVolumeCells": obj.get("numVolumeCells"), - "numMembraneCells": obj.get("numMembraneCells") - }) - return _obj - - diff --git a/python-restclient/vcell_client/models/user1.py b/python-restclient/vcell_client/models/user1.py deleted file mode 100644 index 8044ff7c2e..0000000000 --- a/python-restclient/vcell_client/models/user1.py +++ /dev/null @@ -1,111 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Any, ClassVar, Dict, List, Optional -from pydantic import BaseModel, StrictBool, StrictStr -from pydantic import Field -from vcell_client.models.key_value import KeyValue -try: - from typing import Self -except ImportError: - from typing_extensions import Self - -class User1(BaseModel): - """ - User1 - """ # noqa: E501 - user_name: Optional[StrictStr] = Field(default=None, alias="userName") - key: Optional[KeyValue] = None - i_d: Optional[KeyValue] = Field(default=None, alias="iD") - name: Optional[StrictStr] = None - publisher: Optional[StrictBool] = None - test_account: Optional[StrictBool] = Field(default=None, alias="testAccount") - __properties: ClassVar[List[str]] = ["userName", "key", "iD", "name", "publisher", "testAccount"] - - model_config = { - "populate_by_name": True, - "validate_assignment": True - } - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of User1 from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - _dict = self.model_dump( - by_alias=True, - exclude={ - }, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of key - if self.key: - _dict['key'] = self.key.to_dict() - # override the default output from pydantic by calling `to_dict()` of i_d - if self.i_d: - _dict['iD'] = self.i_d.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Dict) -> Self: - """Create an instance of User1 from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - # raise errors for additional fields in the input - for _key in obj.keys(): - if _key not in cls.__properties: - raise ValueError("Error due to additional fields (not defined in User1) in the input: " + _key) - - _obj = cls.model_validate({ - "userName": obj.get("userName"), - "key": KeyValue.from_dict(obj.get("key")) if obj.get("key") is not None else None, - "iD": KeyValue.from_dict(obj.get("iD")) if obj.get("iD") is not None else None, - "name": obj.get("name"), - "publisher": obj.get("publisher"), - "testAccount": obj.get("testAccount") - }) - return _obj - - diff --git a/python-restclient/vcell_client/models/user_identity.py b/python-restclient/vcell_client/models/user_identity.py deleted file mode 100644 index 3bdb5e053e..0000000000 --- a/python-restclient/vcell_client/models/user_identity.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import datetime -from typing import Any, ClassVar, Dict, List, Optional, Union -from pydantic import BaseModel, StrictFloat, StrictInt, StrictStr -from pydantic import Field -try: - from typing import Self -except ImportError: - from typing_extensions import Self - -class UserIdentity(BaseModel): - """ - UserIdentity - """ # noqa: E501 - id: Optional[Union[StrictFloat, StrictInt]] = None - user_name: Optional[StrictStr] = Field(default=None, alias="userName") - subject: Optional[StrictStr] = None - insert_date: Optional[datetime] = Field(default=None, alias="insertDate") - __properties: ClassVar[List[str]] = ["id", "userName", "subject", "insertDate"] - - model_config = { - "populate_by_name": True, - "validate_assignment": True - } - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of UserIdentity from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - _dict = self.model_dump( - by_alias=True, - exclude={ - }, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Dict) -> Self: - """Create an instance of UserIdentity from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - # raise errors for additional fields in the input - for _key in obj.keys(): - if _key not in cls.__properties: - raise ValueError("Error due to additional fields (not defined in UserIdentity) in the input: " + _key) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "userName": obj.get("userName"), - "subject": obj.get("subject"), - "insertDate": obj.get("insertDate") - }) - return _obj - - diff --git a/python-restclient/vcell_client/models/v_cell_server_id.py b/python-restclient/vcell_client/models/v_cell_server_id.py deleted file mode 100644 index d87c29a87a..0000000000 --- a/python-restclient/vcell_client/models/v_cell_server_id.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Any, ClassVar, Dict, List, Optional -from pydantic import BaseModel, StrictStr -from pydantic import Field -try: - from typing import Self -except ImportError: - from typing_extensions import Self - -class VCellServerID(BaseModel): - """ - VCellServerID - """ # noqa: E501 - server_id: Optional[StrictStr] = Field(default=None, alias="serverID") - __properties: ClassVar[List[str]] = ["serverID"] - - model_config = { - "populate_by_name": True, - "validate_assignment": True - } - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of VCellServerID from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - _dict = self.model_dump( - by_alias=True, - exclude={ - }, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Dict) -> Self: - """Create an instance of VCellServerID from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - # raise errors for additional fields in the input - for _key in obj.keys(): - if _key not in cls.__properties: - raise ValueError("Error due to additional fields (not defined in VCellServerID) in the input: " + _key) - - _obj = cls.model_validate({ - "serverID": obj.get("serverID") - }) - return _obj - - diff --git a/python-restclient/vcell_client/models/version.py b/python-restclient/vcell_client/models/version.py deleted file mode 100644 index 9407f894eb..0000000000 --- a/python-restclient/vcell_client/models/version.py +++ /dev/null @@ -1,157 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from datetime import date -from typing import Any, ClassVar, Dict, List, Optional, Union -from pydantic import BaseModel, StrictFloat, StrictInt, StrictStr -from pydantic import Field -from vcell_client.models.group_access import GroupAccess -from vcell_client.models.key_value import KeyValue -from vcell_client.models.user import User -from vcell_client.models.version_flag import VersionFlag -try: - from typing import Self -except ImportError: - from typing_extensions import Self - -class Version(BaseModel): - """ - Version - """ # noqa: E501 - version_key: Optional[KeyValue] = Field(default=None, alias="versionKey") - version_name: Optional[StrictStr] = Field(default=None, alias="versionName") - version_owner: Optional[User] = Field(default=None, alias="versionOwner") - version_group_access: Optional[GroupAccess] = Field(default=None, alias="versionGroupAccess") - version_branch_point_ref: Optional[KeyValue] = Field(default=None, alias="versionBranchPointRef") - version_branch_id: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="versionBranchID") - version_date: Optional[date] = Field(default=None, alias="versionDate") - version_flag: Optional[VersionFlag] = Field(default=None, alias="versionFlag") - version_annot: Optional[StrictStr] = Field(default=None, alias="versionAnnot") - annot: Optional[StrictStr] = None - branch_id: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="branchID") - branch_point_ref_key: Optional[KeyValue] = Field(default=None, alias="branchPointRefKey") - var_date: Optional[date] = Field(default=None, alias="date") - flag: Optional[VersionFlag] = None - group_access: Optional[GroupAccess] = Field(default=None, alias="groupAccess") - name: Optional[StrictStr] = None - owner: Optional[User] = None - __properties: ClassVar[List[str]] = ["versionKey", "versionName", "versionOwner", "versionGroupAccess", "versionBranchPointRef", "versionBranchID", "versionDate", "versionFlag", "versionAnnot", "annot", "branchID", "branchPointRefKey", "date", "flag", "groupAccess", "name", "owner"] - - model_config = { - "populate_by_name": True, - "validate_assignment": True - } - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of Version from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - _dict = self.model_dump( - by_alias=True, - exclude={ - }, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of version_key - if self.version_key: - _dict['versionKey'] = self.version_key.to_dict() - # override the default output from pydantic by calling `to_dict()` of version_owner - if self.version_owner: - _dict['versionOwner'] = self.version_owner.to_dict() - # override the default output from pydantic by calling `to_dict()` of version_group_access - if self.version_group_access: - _dict['versionGroupAccess'] = self.version_group_access.to_dict() - # override the default output from pydantic by calling `to_dict()` of version_branch_point_ref - if self.version_branch_point_ref: - _dict['versionBranchPointRef'] = self.version_branch_point_ref.to_dict() - # override the default output from pydantic by calling `to_dict()` of version_flag - if self.version_flag: - _dict['versionFlag'] = self.version_flag.to_dict() - # override the default output from pydantic by calling `to_dict()` of branch_point_ref_key - if self.branch_point_ref_key: - _dict['branchPointRefKey'] = self.branch_point_ref_key.to_dict() - # override the default output from pydantic by calling `to_dict()` of flag - if self.flag: - _dict['flag'] = self.flag.to_dict() - # override the default output from pydantic by calling `to_dict()` of group_access - if self.group_access: - _dict['groupAccess'] = self.group_access.to_dict() - # override the default output from pydantic by calling `to_dict()` of owner - if self.owner: - _dict['owner'] = self.owner.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Dict) -> Self: - """Create an instance of Version from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - # raise errors for additional fields in the input - for _key in obj.keys(): - if _key not in cls.__properties: - raise ValueError("Error due to additional fields (not defined in Version) in the input: " + _key) - - _obj = cls.model_validate({ - "versionKey": KeyValue.from_dict(obj.get("versionKey")) if obj.get("versionKey") is not None else None, - "versionName": obj.get("versionName"), - "versionOwner": User.from_dict(obj.get("versionOwner")) if obj.get("versionOwner") is not None else None, - "versionGroupAccess": GroupAccess.from_dict(obj.get("versionGroupAccess")) if obj.get("versionGroupAccess") is not None else None, - "versionBranchPointRef": KeyValue.from_dict(obj.get("versionBranchPointRef")) if obj.get("versionBranchPointRef") is not None else None, - "versionBranchID": obj.get("versionBranchID"), - "versionDate": obj.get("versionDate"), - "versionFlag": VersionFlag.from_dict(obj.get("versionFlag")) if obj.get("versionFlag") is not None else None, - "versionAnnot": obj.get("versionAnnot"), - "annot": obj.get("annot"), - "branchID": obj.get("branchID"), - "branchPointRefKey": KeyValue.from_dict(obj.get("branchPointRefKey")) if obj.get("branchPointRefKey") is not None else None, - "date": obj.get("date"), - "flag": VersionFlag.from_dict(obj.get("flag")) if obj.get("flag") is not None else None, - "groupAccess": GroupAccess.from_dict(obj.get("groupAccess")) if obj.get("groupAccess") is not None else None, - "name": obj.get("name"), - "owner": User.from_dict(obj.get("owner")) if obj.get("owner") is not None else None - }) - return _obj - - diff --git a/python-restclient/vcell_client/models/version_flag.py b/python-restclient/vcell_client/models/version_flag.py deleted file mode 100644 index 312b972ebf..0000000000 --- a/python-restclient/vcell_client/models/version_flag.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Any, ClassVar, Dict, List, Optional -from pydantic import BaseModel, StrictBool, StrictInt -from pydantic import Field -try: - from typing import Self -except ImportError: - from typing_extensions import Self - -class VersionFlag(BaseModel): - """ - VersionFlag - """ # noqa: E501 - version_flag: Optional[StrictInt] = Field(default=None, alias="versionFlag") - int_value: Optional[StrictInt] = Field(default=None, alias="intValue") - archived: Optional[StrictBool] = None - current: Optional[StrictBool] = None - published: Optional[StrictBool] = None - __properties: ClassVar[List[str]] = ["versionFlag", "intValue", "archived", "current", "published"] - - model_config = { - "populate_by_name": True, - "validate_assignment": True - } - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of VersionFlag from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - _dict = self.model_dump( - by_alias=True, - exclude={ - }, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Dict) -> Self: - """Create an instance of VersionFlag from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - # raise errors for additional fields in the input - for _key in obj.keys(): - if _key not in cls.__properties: - raise ValueError("Error due to additional fields (not defined in VersionFlag) in the input: " + _key) - - _obj = cls.model_validate({ - "versionFlag": obj.get("versionFlag"), - "intValue": obj.get("intValue"), - "archived": obj.get("archived"), - "current": obj.get("current"), - "published": obj.get("published") - }) - return _obj - - diff --git a/python-restclient/vcell_client/models/versionable_type.py b/python-restclient/vcell_client/models/versionable_type.py deleted file mode 100644 index a349201ebc..0000000000 --- a/python-restclient/vcell_client/models/versionable_type.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Any, ClassVar, Dict, List, Optional, Union -from pydantic import BaseModel, StrictBool, StrictInt, StrictStr -from pydantic import Field -try: - from typing import Self -except ImportError: - from typing_extensions import Self - -class VersionableType(BaseModel): - """ - VersionableType - """ # noqa: E501 - v_type: Optional[StrictInt] = Field(default=None, alias="vType") - name: Optional[StrictStr] = None - v_class: Optional[Union[str, Any]] = Field(default=None, alias="vClass") - b_top_level: Optional[StrictBool] = Field(default=None, alias="bTopLevel") - code: Optional[StrictInt] = None - is_top_level: Optional[StrictBool] = Field(default=None, alias="isTopLevel") - type_name: Optional[StrictStr] = Field(default=None, alias="typeName") - version_class: Optional[Union[str, Any]] = Field(default=None, alias="versionClass") - __properties: ClassVar[List[str]] = ["vType", "name", "vClass", "bTopLevel", "code", "isTopLevel", "typeName", "versionClass"] - - model_config = { - "populate_by_name": True, - "validate_assignment": True - } - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of VersionableType from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - _dict = self.model_dump( - by_alias=True, - exclude={ - }, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Dict) -> Self: - """Create an instance of VersionableType from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - # raise errors for additional fields in the input - for _key in obj.keys(): - if _key not in cls.__properties: - raise ValueError("Error due to additional fields (not defined in VersionableType) in the input: " + _key) - - _obj = cls.model_validate({ - "vType": obj.get("vType"), - "name": obj.get("name"), - "vClass": obj.get("vClass"), - "bTopLevel": obj.get("bTopLevel"), - "code": obj.get("code"), - "isTopLevel": obj.get("isTopLevel"), - "typeName": obj.get("typeName"), - "versionClass": obj.get("versionClass") - }) - return _obj - - diff --git a/python-restclient/vcell_client/models/versionable_type_version.py b/python-restclient/vcell_client/models/versionable_type_version.py deleted file mode 100644 index 8c77d0d488..0000000000 --- a/python-restclient/vcell_client/models/versionable_type_version.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - VCell API - - VCell API - - The version of the OpenAPI document: 1.0.1 - Contact: vcell_support@uchc.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Any, ClassVar, Dict, List, Optional -from pydantic import BaseModel -from pydantic import Field -from vcell_client.models.version import Version -from vcell_client.models.versionable_type import VersionableType -try: - from typing import Self -except ImportError: - from typing_extensions import Self - -class VersionableTypeVersion(BaseModel): - """ - VersionableTypeVersion - """ # noqa: E501 - v_type: Optional[VersionableType] = Field(default=None, alias="vType") - version: Optional[Version] = None - __properties: ClassVar[List[str]] = ["vType", "version"] - - model_config = { - "populate_by_name": True, - "validate_assignment": True - } - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of VersionableTypeVersion from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - _dict = self.model_dump( - by_alias=True, - exclude={ - }, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of v_type - if self.v_type: - _dict['vType'] = self.v_type.to_dict() - # override the default output from pydantic by calling `to_dict()` of version - if self.version: - _dict['version'] = self.version.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Dict) -> Self: - """Create an instance of VersionableTypeVersion from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - # raise errors for additional fields in the input - for _key in obj.keys(): - if _key not in cls.__properties: - raise ValueError("Error due to additional fields (not defined in VersionableTypeVersion) in the input: " + _key) - - _obj = cls.model_validate({ - "vType": VersionableType.from_dict(obj.get("vType")) if obj.get("vType") is not None else None, - "version": Version.from_dict(obj.get("version")) if obj.get("version") is not None else None - }) - return _obj - - diff --git a/vcell-restclient/.openapi-generator/FILES b/vcell-restclient/.openapi-generator/FILES index 2a54d3a046..42670fc967 100644 --- a/vcell-restclient/.openapi-generator/FILES +++ b/vcell-restclient/.openapi-generator/FILES @@ -100,3 +100,40 @@ src/main/java/org/vcell/restclient/model/UserRegistrationInfo.java src/main/java/org/vcell/restclient/model/VCSimulationIdentifier.java src/main/java/org/vcell/restclient/model/VariableDomain.java src/main/java/org/vcell/restclient/model/VariableType.java +src/test/java/org/vcell/restclient/model/AccesTokenRepresentationRecordTest.java +src/test/java/org/vcell/restclient/model/AnalyzedResultsFromFieldDataTest.java +src/test/java/org/vcell/restclient/model/BatchSystemTypeTest.java +src/test/java/org/vcell/restclient/model/BioModelTest.java +src/test/java/org/vcell/restclient/model/BiomodelRefTest.java +src/test/java/org/vcell/restclient/model/DataIdentifierTest.java +src/test/java/org/vcell/restclient/model/DetailedStateTest.java +src/test/java/org/vcell/restclient/model/DomainTest.java +src/test/java/org/vcell/restclient/model/ExtentTest.java +src/test/java/org/vcell/restclient/model/ExternalDataIdentifierTest.java +src/test/java/org/vcell/restclient/model/FieldDataReferenceTest.java +src/test/java/org/vcell/restclient/model/FieldDataSaveResultsTest.java +src/test/java/org/vcell/restclient/model/FieldDataShapeTest.java +src/test/java/org/vcell/restclient/model/HelloWorldMessageTest.java +src/test/java/org/vcell/restclient/model/HtcJobIDTest.java +src/test/java/org/vcell/restclient/model/ISizeTest.java +src/test/java/org/vcell/restclient/model/IdentityTest.java +src/test/java/org/vcell/restclient/model/KeyValueTest.java +src/test/java/org/vcell/restclient/model/MathmodelRefTest.java +src/test/java/org/vcell/restclient/model/OriginTest.java +src/test/java/org/vcell/restclient/model/PublicationTest.java +src/test/java/org/vcell/restclient/model/SchedulerStatusTest.java +src/test/java/org/vcell/restclient/model/SimulationExecutionStatusRecordTest.java +src/test/java/org/vcell/restclient/model/SimulationJobStatusRecordTest.java +src/test/java/org/vcell/restclient/model/SimulationMessageTest.java +src/test/java/org/vcell/restclient/model/SimulationQueueEntryStatusRecordTest.java +src/test/java/org/vcell/restclient/model/SimulationQueueIDTest.java +src/test/java/org/vcell/restclient/model/SimulationStatusPersistentRecordTest.java +src/test/java/org/vcell/restclient/model/StatusMessageTest.java +src/test/java/org/vcell/restclient/model/StatusTest.java +src/test/java/org/vcell/restclient/model/UserIdentityJSONSafeTest.java +src/test/java/org/vcell/restclient/model/UserLoginInfoForMappingTest.java +src/test/java/org/vcell/restclient/model/UserRegistrationInfoTest.java +src/test/java/org/vcell/restclient/model/UserTest.java +src/test/java/org/vcell/restclient/model/VCSimulationIdentifierTest.java +src/test/java/org/vcell/restclient/model/VariableDomainTest.java +src/test/java/org/vcell/restclient/model/VariableTypeTest.java diff --git a/vcell-restclient/docs/AccessTokenRepresentation.md b/vcell-restclient/docs/AccessTokenRepresentation.md deleted file mode 100644 index 03002821c1..0000000000 --- a/vcell-restclient/docs/AccessTokenRepresentation.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# AccessTokenRepresentation - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**token** | **String** | | [optional] | -|**creationDateSeconds** | **Long** | | [optional] | -|**expireDateSeconds** | **Long** | | [optional] | -|**userId** | **String** | | [optional] | -|**userKey** | **String** | | [optional] | - - - diff --git a/vcell-restclient/docs/CartesianMesh.md b/vcell-restclient/docs/CartesianMesh.md deleted file mode 100644 index 328206dd37..0000000000 --- a/vcell-restclient/docs/CartesianMesh.md +++ /dev/null @@ -1,28 +0,0 @@ - - -# CartesianMesh - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**compressedBytes** | **File** | | [optional] | -|**uCDInfo** | [**UCDInfo**](UCDInfo.md) | | [optional] | -|**geometryDimension** | **Integer** | | [optional] | -|**volumeRegionMapSubvolume** | **Map<String, Integer>** | | [optional] | -|**membraneRegionMapSubvolumesInOut** | **Map<String, Object>** | | [optional] | -|**numMembraneElements** | **Integer** | | [optional] | -|**numMembraneRegions** | **Integer** | | [optional] | -|**numVolumeElements** | **Integer** | | [optional] | -|**numVolumeRegions** | **Integer** | | [optional] | -|**iSize** | [**ISize**](ISize.md) | | [optional] | -|**sizeX** | **Integer** | | [optional] | -|**sizeY** | **Integer** | | [optional] | -|**sizeZ** | **Integer** | | [optional] | -|**membraneConnectivityOK** | **Boolean** | | [optional] | -|**outputFields** | **List<Object>** | | [optional] | -|**chomboMesh** | **Boolean** | | [optional] | - - - diff --git a/vcell-restclient/docs/Coordinate.md b/vcell-restclient/docs/Coordinate.md deleted file mode 100644 index 99fb04df19..0000000000 --- a/vcell-restclient/docs/Coordinate.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# Coordinate - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**x** | **Double** | | [optional] | -|**y** | **Double** | | [optional] | -|**z** | **Double** | | [optional] | - - - diff --git a/vcell-restclient/docs/FieldDataDBOperationSpec.md b/vcell-restclient/docs/FieldDataDBOperationSpec.md deleted file mode 100644 index 984eece2e1..0000000000 --- a/vcell-restclient/docs/FieldDataDBOperationSpec.md +++ /dev/null @@ -1,20 +0,0 @@ - - -# FieldDataDBOperationSpec - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**opType** | **Integer** | | [optional] | -|**specEDI** | [**ExternalDataIdentifier**](ExternalDataIdentifier.md) | | [optional] | -|**owner** | [**User**](User.md) | | [optional] | -|**newExtDataIDName** | **String** | | [optional] | -|**annotation** | **String** | | [optional] | -|**sourceNames** | **List<String>** | | [optional] | -|**sourceOwner** | [**VersionableTypeVersion**](VersionableTypeVersion.md) | | [optional] | -|**bIncludeSimRefs** | **Boolean** | | [optional] | - - - diff --git a/vcell-restclient/docs/FieldDataExternalDataIDs.md b/vcell-restclient/docs/FieldDataExternalDataIDs.md deleted file mode 100644 index 9b6337e4f3..0000000000 --- a/vcell-restclient/docs/FieldDataExternalDataIDs.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# FieldDataExternalDataIDs - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**externalDataIdentifiers** | [**List<ExternalDataIdentifier>**](ExternalDataIdentifier.md) | | [optional] | -|**externalDataAnnotations** | **List<String>** | | [optional] | -|**externalDataIDSimRefs** | **Map<String, List<KeyValue>>** | | [optional] | - - - diff --git a/vcell-restclient/docs/FieldDataFileOperationSpec.md b/vcell-restclient/docs/FieldDataFileOperationSpec.md deleted file mode 100644 index 66fe7fa7b9..0000000000 --- a/vcell-restclient/docs/FieldDataFileOperationSpec.md +++ /dev/null @@ -1,29 +0,0 @@ - - -# FieldDataFileOperationSpec - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**opType** | **Integer** | | [optional] | -|**shortSpecData** | **List<List<List<Integer>>>** | | [optional] | -|**doubleSpecData** | **List<List<List<Double>>>** | | [optional] | -|**cartesianMesh** | [**CartesianMesh**](CartesianMesh.md) | | [optional] | -|**specEDI** | [**ExternalDataIdentifier**](ExternalDataIdentifier.md) | | [optional] | -|**varNames** | **List<String>** | | [optional] | -|**variableTypes** | [**List<VariableType>**](VariableType.md) | | [optional] | -|**times** | **List<Double>** | | [optional] | -|**owner** | [**User**](User.md) | | [optional] | -|**origin** | [**Origin**](Origin.md) | | [optional] | -|**extent** | [**Extent**](Extent.md) | | [optional] | -|**isize** | [**ISize**](ISize.md) | | [optional] | -|**annotation** | **String** | | [optional] | -|**sourceSimParamScanJobIndex** | **Integer** | | [optional] | -|**sourceSimDataKey** | [**KeyValue**](KeyValue.md) | | [optional] | -|**sourceOwner** | [**User**](User.md) | | [optional] | -|**fieldDataName** | **String** | | [optional] | - - - diff --git a/vcell-restclient/docs/FieldDataInfo.md b/vcell-restclient/docs/FieldDataInfo.md deleted file mode 100644 index 33a2c58321..0000000000 --- a/vcell-restclient/docs/FieldDataInfo.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# FieldDataInfo - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**extent** | [**Extent**](Extent.md) | | [optional] | -|**origin** | [**Origin**](Origin.md) | | [optional] | -|**isize** | [**ISize**](ISize.md) | | [optional] | -|**dataIdentifier** | [**List<DataIdentifier>**](DataIdentifier.md) | | [optional] | -|**times** | **List<Double>** | | [optional] | - - - diff --git a/vcell-restclient/docs/FieldDataNoCopyConflict.md b/vcell-restclient/docs/FieldDataNoCopyConflict.md deleted file mode 100644 index 5617027c2b..0000000000 --- a/vcell-restclient/docs/FieldDataNoCopyConflict.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# FieldDataNoCopyConflict - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**oldNameNewIDHash** | [**Map<String, ExternalDataIdentifier>**](ExternalDataIdentifier.md) | | [optional] | -|**oldNameOldExtDataIDKeyHash** | [**Map<String, KeyValue>**](KeyValue.md) | | [optional] | - - - diff --git a/vcell-restclient/docs/FieldDataReferences.md b/vcell-restclient/docs/FieldDataReferences.md deleted file mode 100644 index 31b2267473..0000000000 --- a/vcell-restclient/docs/FieldDataReferences.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# FieldDataReferences - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**externalDataIdentifiers** | [**List<ExternalDataIdentifier>**](ExternalDataIdentifier.md) | | [optional] | -|**externalDataAnnotations** | **List<String>** | | [optional] | -|**externalDataIDSimRefs** | **Map<String, List<KeyValue>>** | | [optional] | - - - diff --git a/vcell-restclient/docs/GroupAccess.md b/vcell-restclient/docs/GroupAccess.md deleted file mode 100644 index df4847f19c..0000000000 --- a/vcell-restclient/docs/GroupAccess.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# GroupAccess - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**groupid** | **BigDecimal** | | [optional] | -|**description** | **String** | | [optional] | - - - diff --git a/vcell-restclient/docs/IdentityProvider.md b/vcell-restclient/docs/IdentityProvider.md deleted file mode 100644 index c54f3ef2eb..0000000000 --- a/vcell-restclient/docs/IdentityProvider.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# IdentityProvider - -## Enum - - -* `AUTH0` (value: `"AUTH0"`) - -* `KEYCLOAK` (value: `"KEYCLOAK"`) - - - diff --git a/vcell-restclient/docs/MapUser.md b/vcell-restclient/docs/MapUser.md deleted file mode 100644 index cd10a8ec2e..0000000000 --- a/vcell-restclient/docs/MapUser.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# MapUser - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**userID** | **String** | | [optional] | -|**password** | **String** | | [optional] | - - - diff --git a/vcell-restclient/docs/OverrideRepresentation.md b/vcell-restclient/docs/OverrideRepresentation.md deleted file mode 100644 index cc6c9d934e..0000000000 --- a/vcell-restclient/docs/OverrideRepresentation.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# OverrideRepresentation - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**name** | **String** | | [optional] | -|**type** | **String** | | [optional] | -|**expression** | **String** | | [optional] | -|**values** | **List<String>** | | [optional] | -|**cardinality** | **Integer** | | [optional] | - - - diff --git a/vcell-restclient/docs/Simulation.md b/vcell-restclient/docs/Simulation.md deleted file mode 100644 index e21fb4014b..0000000000 --- a/vcell-restclient/docs/Simulation.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# Simulation - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**name** | **String** | | [optional] | - - - diff --git a/vcell-restclient/docs/SimulationExecutionStatus.md b/vcell-restclient/docs/SimulationExecutionStatus.md deleted file mode 100644 index e899206a68..0000000000 --- a/vcell-restclient/docs/SimulationExecutionStatus.md +++ /dev/null @@ -1,23 +0,0 @@ - - -# SimulationExecutionStatus - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**fieldStartDate** | **LocalDate** | | [optional] | -|**fieldLatestUpdateDate** | **LocalDate** | | [optional] | -|**fieldEndDate** | **LocalDate** | | [optional] | -|**fieldComputeHost** | **String** | | [optional] | -|**fieldHasData** | **Boolean** | | [optional] | -|**fieldHtcJobID** | [**HtcJobID**](HtcJobID.md) | | [optional] | -|**computeHost** | **String** | | [optional] | -|**endDate** | **LocalDate** | | [optional] | -|**latestUpdateDate** | **LocalDate** | | [optional] | -|**startDate** | **LocalDate** | | [optional] | -|**htcJobID** | [**HtcJobID**](HtcJobID.md) | | [optional] | - - - diff --git a/vcell-restclient/docs/SimulationJobStatus.md b/vcell-restclient/docs/SimulationJobStatus.md deleted file mode 100644 index dfbe7bb00e..0000000000 --- a/vcell-restclient/docs/SimulationJobStatus.md +++ /dev/null @@ -1,35 +0,0 @@ - - -# SimulationJobStatus - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**fieldTimeDateStamp** | **LocalDate** | | [optional] | -|**fieldVCSimID** | [**VCSimulationIdentifier**](VCSimulationIdentifier.md) | | [optional] | -|**fieldSubmitDate** | **LocalDate** | | [optional] | -|**fieldSchedulerStatus** | **SchedulerStatus** | | [optional] | -|**fieldTaskID** | **Integer** | | [optional] | -|**fieldSimulationMessage** | [**SimulationMessage**](SimulationMessage.md) | | [optional] | -|**fieldServerID** | [**VCellServerID**](VCellServerID.md) | | [optional] | -|**fieldJobIndex** | **Integer** | | [optional] | -|**fieldSimulationQueueEntryStatus** | [**SimulationQueueEntryStatus**](SimulationQueueEntryStatus.md) | | [optional] | -|**fieldSimulationExecutionStatus** | [**SimulationExecutionStatus**](SimulationExecutionStatus.md) | | [optional] | -|**computeHost** | **String** | | [optional] | -|**endDate** | **LocalDate** | | [optional] | -|**jobIndex** | **Integer** | | [optional] | -|**schedulerStatus** | **SchedulerStatus** | | [optional] | -|**serverID** | [**VCellServerID**](VCellServerID.md) | | [optional] | -|**simulationExecutionStatus** | [**SimulationExecutionStatus**](SimulationExecutionStatus.md) | | [optional] | -|**simulationQueueEntryStatus** | [**SimulationQueueEntryStatus**](SimulationQueueEntryStatus.md) | | [optional] | -|**startDate** | **LocalDate** | | [optional] | -|**simulationMessage** | [**SimulationMessage**](SimulationMessage.md) | | [optional] | -|**submitDate** | **LocalDate** | | [optional] | -|**taskID** | **Integer** | | [optional] | -|**timeDateStamp** | **LocalDate** | | [optional] | -|**vCSimulationIdentifier** | [**VCSimulationIdentifier**](VCSimulationIdentifier.md) | | [optional] | - - - diff --git a/vcell-restclient/docs/SimulationQueueEntryStatus.md b/vcell-restclient/docs/SimulationQueueEntryStatus.md deleted file mode 100644 index 80d9d48202..0000000000 --- a/vcell-restclient/docs/SimulationQueueEntryStatus.md +++ /dev/null @@ -1,18 +0,0 @@ - - -# SimulationQueueEntryStatus - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**fieldQueuePriority** | **Integer** | | [optional] | -|**fieldQueueDate** | **LocalDate** | | [optional] | -|**fieldQueueID** | **SimulationQueueID** | | [optional] | -|**queueDate** | **LocalDate** | | [optional] | -|**queueID** | **SimulationQueueID** | | [optional] | -|**queuePriority** | **Integer** | | [optional] | - - - diff --git a/vcell-restclient/docs/UCDInfo.md b/vcell-restclient/docs/UCDInfo.md deleted file mode 100644 index 122616cf52..0000000000 --- a/vcell-restclient/docs/UCDInfo.md +++ /dev/null @@ -1,24 +0,0 @@ - - -# UCDInfo - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**ucdGridNodes** | **List<List<List<Coordinate>>>** | | [optional] | -|**ucdMembraneQuads** | **List<List<Integer>>** | | [optional] | -|**reducedUCDGridNodesV** | [**List<Coordinate>**](Coordinate.md) | | [optional] | -|**uCDGridNodes** | **List<List<List<Coordinate>>>** | | [optional] | -|**uCDMembraneQuads** | **List<List<Integer>>** | | [optional] | -|**numVolumeNodesX** | **Integer** | | [optional] | -|**numVolumeNodesY** | **Integer** | | [optional] | -|**numVolumeNodesZ** | **Integer** | | [optional] | -|**numPointsXYZ** | **Integer** | | [optional] | -|**numVolumeNodesXY** | **Integer** | | [optional] | -|**numVolumeCells** | **Integer** | | [optional] | -|**numMembraneCells** | **Integer** | | [optional] | - - - diff --git a/vcell-restclient/docs/User1.md b/vcell-restclient/docs/User1.md deleted file mode 100644 index 575e576d73..0000000000 --- a/vcell-restclient/docs/User1.md +++ /dev/null @@ -1,18 +0,0 @@ - - -# User1 - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**userName** | **String** | | [optional] | -|**key** | [**KeyValue**](KeyValue.md) | | [optional] | -|**iD** | [**KeyValue**](KeyValue.md) | | [optional] | -|**name** | **String** | | [optional] | -|**publisher** | **Boolean** | | [optional] | -|**testAccount** | **Boolean** | | [optional] | - - - diff --git a/vcell-restclient/docs/UserIdentity.md b/vcell-restclient/docs/UserIdentity.md deleted file mode 100644 index 615df73fe4..0000000000 --- a/vcell-restclient/docs/UserIdentity.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# UserIdentity - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**id** | **BigDecimal** | | [optional] | -|**userName** | **String** | | [optional] | -|**subject** | **String** | | [optional] | -|**insertDate** | **OffsetDateTime** | | [optional] | - - - diff --git a/vcell-restclient/docs/VCellServerID.md b/vcell-restclient/docs/VCellServerID.md deleted file mode 100644 index 1c42061235..0000000000 --- a/vcell-restclient/docs/VCellServerID.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# VCellServerID - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**serverID** | **String** | | [optional] | - - - diff --git a/vcell-restclient/docs/Version.md b/vcell-restclient/docs/Version.md deleted file mode 100644 index 852b2f66b0..0000000000 --- a/vcell-restclient/docs/Version.md +++ /dev/null @@ -1,29 +0,0 @@ - - -# Version - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**versionKey** | [**KeyValue**](KeyValue.md) | | [optional] | -|**versionName** | **String** | | [optional] | -|**versionOwner** | [**User**](User.md) | | [optional] | -|**versionGroupAccess** | [**GroupAccess**](GroupAccess.md) | | [optional] | -|**versionBranchPointRef** | [**KeyValue**](KeyValue.md) | | [optional] | -|**versionBranchID** | **BigDecimal** | | [optional] | -|**versionDate** | **LocalDate** | | [optional] | -|**versionFlag** | [**VersionFlag**](VersionFlag.md) | | [optional] | -|**versionAnnot** | **String** | | [optional] | -|**annot** | **String** | | [optional] | -|**branchID** | **BigDecimal** | | [optional] | -|**branchPointRefKey** | [**KeyValue**](KeyValue.md) | | [optional] | -|**date** | **LocalDate** | | [optional] | -|**flag** | [**VersionFlag**](VersionFlag.md) | | [optional] | -|**groupAccess** | [**GroupAccess**](GroupAccess.md) | | [optional] | -|**name** | **String** | | [optional] | -|**owner** | [**User**](User.md) | | [optional] | - - - diff --git a/vcell-restclient/docs/VersionFlag.md b/vcell-restclient/docs/VersionFlag.md deleted file mode 100644 index 3f087f8d8b..0000000000 --- a/vcell-restclient/docs/VersionFlag.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# VersionFlag - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**versionFlag** | **Integer** | | [optional] | -|**intValue** | **Integer** | | [optional] | -|**archived** | **Boolean** | | [optional] | -|**current** | **Boolean** | | [optional] | -|**published** | **Boolean** | | [optional] | - - - diff --git a/vcell-restclient/docs/VersionableType.md b/vcell-restclient/docs/VersionableType.md deleted file mode 100644 index e02eeae45e..0000000000 --- a/vcell-restclient/docs/VersionableType.md +++ /dev/null @@ -1,20 +0,0 @@ - - -# VersionableType - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**vType** | **Integer** | | [optional] | -|**name** | **String** | | [optional] | -|**vClass** | **Object** | | [optional] | -|**bTopLevel** | **Boolean** | | [optional] | -|**code** | **Integer** | | [optional] | -|**isTopLevel** | **Boolean** | | [optional] | -|**typeName** | **String** | | [optional] | -|**versionClass** | **Object** | | [optional] | - - - diff --git a/vcell-restclient/docs/VersionableTypeVersion.md b/vcell-restclient/docs/VersionableTypeVersion.md deleted file mode 100644 index c2c7f905fb..0000000000 --- a/vcell-restclient/docs/VersionableTypeVersion.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# VersionableTypeVersion - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**vType** | [**VersionableType**](VersionableType.md) | | [optional] | -|**version** | [**Version**](Version.md) | | [optional] | - - - diff --git a/vcell-restclient/src/main/java/org/vcell/restclient/model/CartesianMesh.java b/vcell-restclient/src/main/java/org/vcell/restclient/model/CartesianMesh.java deleted file mode 100644 index b08941fe49..0000000000 --- a/vcell-restclient/src/main/java/org/vcell/restclient/model/CartesianMesh.java +++ /dev/null @@ -1,733 +0,0 @@ -/* - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.vcell.restclient.model; - -import java.net.URLEncoder; -import java.nio.charset.StandardCharsets; -import java.util.StringJoiner; -import java.util.Objects; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import java.io.File; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import org.vcell.restclient.model.ISize; -import org.vcell.restclient.model.UCDInfo; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * CartesianMesh - */ -@JsonPropertyOrder({ - CartesianMesh.JSON_PROPERTY_COMPRESSED_BYTES, - CartesianMesh.JSON_PROPERTY_U_C_D_INFO, - CartesianMesh.JSON_PROPERTY_GEOMETRY_DIMENSION, - CartesianMesh.JSON_PROPERTY_VOLUME_REGION_MAP_SUBVOLUME, - CartesianMesh.JSON_PROPERTY_MEMBRANE_REGION_MAP_SUBVOLUMES_IN_OUT, - CartesianMesh.JSON_PROPERTY_NUM_MEMBRANE_ELEMENTS, - CartesianMesh.JSON_PROPERTY_NUM_MEMBRANE_REGIONS, - CartesianMesh.JSON_PROPERTY_NUM_VOLUME_ELEMENTS, - CartesianMesh.JSON_PROPERTY_NUM_VOLUME_REGIONS, - CartesianMesh.JSON_PROPERTY_I_SIZE, - CartesianMesh.JSON_PROPERTY_SIZE_X, - CartesianMesh.JSON_PROPERTY_SIZE_Y, - CartesianMesh.JSON_PROPERTY_SIZE_Z, - CartesianMesh.JSON_PROPERTY_MEMBRANE_CONNECTIVITY_O_K, - CartesianMesh.JSON_PROPERTY_OUTPUT_FIELDS, - CartesianMesh.JSON_PROPERTY_CHOMBO_MESH -}) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CartesianMesh { - public static final String JSON_PROPERTY_COMPRESSED_BYTES = "compressedBytes"; - private File compressedBytes; - - public static final String JSON_PROPERTY_U_C_D_INFO = "uCDInfo"; - private UCDInfo uCDInfo; - - public static final String JSON_PROPERTY_GEOMETRY_DIMENSION = "geometryDimension"; - private Integer geometryDimension; - - public static final String JSON_PROPERTY_VOLUME_REGION_MAP_SUBVOLUME = "volumeRegionMapSubvolume"; - private Map volumeRegionMapSubvolume = new HashMap<>(); - - public static final String JSON_PROPERTY_MEMBRANE_REGION_MAP_SUBVOLUMES_IN_OUT = "membraneRegionMapSubvolumesInOut"; - private Map membraneRegionMapSubvolumesInOut = new HashMap<>(); - - public static final String JSON_PROPERTY_NUM_MEMBRANE_ELEMENTS = "numMembraneElements"; - private Integer numMembraneElements; - - public static final String JSON_PROPERTY_NUM_MEMBRANE_REGIONS = "numMembraneRegions"; - private Integer numMembraneRegions; - - public static final String JSON_PROPERTY_NUM_VOLUME_ELEMENTS = "numVolumeElements"; - private Integer numVolumeElements; - - public static final String JSON_PROPERTY_NUM_VOLUME_REGIONS = "numVolumeRegions"; - private Integer numVolumeRegions; - - public static final String JSON_PROPERTY_I_SIZE = "iSize"; - private ISize iSize; - - public static final String JSON_PROPERTY_SIZE_X = "sizeX"; - private Integer sizeX; - - public static final String JSON_PROPERTY_SIZE_Y = "sizeY"; - private Integer sizeY; - - public static final String JSON_PROPERTY_SIZE_Z = "sizeZ"; - private Integer sizeZ; - - public static final String JSON_PROPERTY_MEMBRANE_CONNECTIVITY_O_K = "membraneConnectivityOK"; - private Boolean membraneConnectivityOK; - - public static final String JSON_PROPERTY_OUTPUT_FIELDS = "outputFields"; - private List outputFields; - - public static final String JSON_PROPERTY_CHOMBO_MESH = "chomboMesh"; - private Boolean chomboMesh; - - public CartesianMesh() { - } - - public CartesianMesh compressedBytes(File compressedBytes) { - this.compressedBytes = compressedBytes; - return this; - } - - /** - * Get compressedBytes - * @return compressedBytes - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COMPRESSED_BYTES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public File getCompressedBytes() { - return compressedBytes; - } - - - @JsonProperty(JSON_PROPERTY_COMPRESSED_BYTES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCompressedBytes(File compressedBytes) { - this.compressedBytes = compressedBytes; - } - - - public CartesianMesh uCDInfo(UCDInfo uCDInfo) { - this.uCDInfo = uCDInfo; - return this; - } - - /** - * Get uCDInfo - * @return uCDInfo - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_U_C_D_INFO) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public UCDInfo getuCDInfo() { - return uCDInfo; - } - - - @JsonProperty(JSON_PROPERTY_U_C_D_INFO) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setuCDInfo(UCDInfo uCDInfo) { - this.uCDInfo = uCDInfo; - } - - - public CartesianMesh geometryDimension(Integer geometryDimension) { - this.geometryDimension = geometryDimension; - return this; - } - - /** - * Get geometryDimension - * @return geometryDimension - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_GEOMETRY_DIMENSION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getGeometryDimension() { - return geometryDimension; - } - - - @JsonProperty(JSON_PROPERTY_GEOMETRY_DIMENSION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setGeometryDimension(Integer geometryDimension) { - this.geometryDimension = geometryDimension; - } - - - public CartesianMesh volumeRegionMapSubvolume(Map volumeRegionMapSubvolume) { - this.volumeRegionMapSubvolume = volumeRegionMapSubvolume; - return this; - } - - public CartesianMesh putVolumeRegionMapSubvolumeItem(String key, Integer volumeRegionMapSubvolumeItem) { - if (this.volumeRegionMapSubvolume == null) { - this.volumeRegionMapSubvolume = new HashMap<>(); - } - this.volumeRegionMapSubvolume.put(key, volumeRegionMapSubvolumeItem); - return this; - } - - /** - * Get volumeRegionMapSubvolume - * @return volumeRegionMapSubvolume - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_VOLUME_REGION_MAP_SUBVOLUME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Map getVolumeRegionMapSubvolume() { - return volumeRegionMapSubvolume; - } - - - @JsonProperty(JSON_PROPERTY_VOLUME_REGION_MAP_SUBVOLUME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setVolumeRegionMapSubvolume(Map volumeRegionMapSubvolume) { - this.volumeRegionMapSubvolume = volumeRegionMapSubvolume; - } - - - public CartesianMesh membraneRegionMapSubvolumesInOut(Map membraneRegionMapSubvolumesInOut) { - this.membraneRegionMapSubvolumesInOut = membraneRegionMapSubvolumesInOut; - return this; - } - - public CartesianMesh putMembraneRegionMapSubvolumesInOutItem(String key, Object membraneRegionMapSubvolumesInOutItem) { - if (this.membraneRegionMapSubvolumesInOut == null) { - this.membraneRegionMapSubvolumesInOut = new HashMap<>(); - } - this.membraneRegionMapSubvolumesInOut.put(key, membraneRegionMapSubvolumesInOutItem); - return this; - } - - /** - * Get membraneRegionMapSubvolumesInOut - * @return membraneRegionMapSubvolumesInOut - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MEMBRANE_REGION_MAP_SUBVOLUMES_IN_OUT) - @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) - - public Map getMembraneRegionMapSubvolumesInOut() { - return membraneRegionMapSubvolumesInOut; - } - - - @JsonProperty(JSON_PROPERTY_MEMBRANE_REGION_MAP_SUBVOLUMES_IN_OUT) - @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) - public void setMembraneRegionMapSubvolumesInOut(Map membraneRegionMapSubvolumesInOut) { - this.membraneRegionMapSubvolumesInOut = membraneRegionMapSubvolumesInOut; - } - - - public CartesianMesh numMembraneElements(Integer numMembraneElements) { - this.numMembraneElements = numMembraneElements; - return this; - } - - /** - * Get numMembraneElements - * @return numMembraneElements - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NUM_MEMBRANE_ELEMENTS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getNumMembraneElements() { - return numMembraneElements; - } - - - @JsonProperty(JSON_PROPERTY_NUM_MEMBRANE_ELEMENTS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setNumMembraneElements(Integer numMembraneElements) { - this.numMembraneElements = numMembraneElements; - } - - - public CartesianMesh numMembraneRegions(Integer numMembraneRegions) { - this.numMembraneRegions = numMembraneRegions; - return this; - } - - /** - * Get numMembraneRegions - * @return numMembraneRegions - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NUM_MEMBRANE_REGIONS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getNumMembraneRegions() { - return numMembraneRegions; - } - - - @JsonProperty(JSON_PROPERTY_NUM_MEMBRANE_REGIONS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setNumMembraneRegions(Integer numMembraneRegions) { - this.numMembraneRegions = numMembraneRegions; - } - - - public CartesianMesh numVolumeElements(Integer numVolumeElements) { - this.numVolumeElements = numVolumeElements; - return this; - } - - /** - * Get numVolumeElements - * @return numVolumeElements - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NUM_VOLUME_ELEMENTS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getNumVolumeElements() { - return numVolumeElements; - } - - - @JsonProperty(JSON_PROPERTY_NUM_VOLUME_ELEMENTS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setNumVolumeElements(Integer numVolumeElements) { - this.numVolumeElements = numVolumeElements; - } - - - public CartesianMesh numVolumeRegions(Integer numVolumeRegions) { - this.numVolumeRegions = numVolumeRegions; - return this; - } - - /** - * Get numVolumeRegions - * @return numVolumeRegions - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NUM_VOLUME_REGIONS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getNumVolumeRegions() { - return numVolumeRegions; - } - - - @JsonProperty(JSON_PROPERTY_NUM_VOLUME_REGIONS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setNumVolumeRegions(Integer numVolumeRegions) { - this.numVolumeRegions = numVolumeRegions; - } - - - public CartesianMesh iSize(ISize iSize) { - this.iSize = iSize; - return this; - } - - /** - * Get iSize - * @return iSize - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_I_SIZE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public ISize getiSize() { - return iSize; - } - - - @JsonProperty(JSON_PROPERTY_I_SIZE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setiSize(ISize iSize) { - this.iSize = iSize; - } - - - public CartesianMesh sizeX(Integer sizeX) { - this.sizeX = sizeX; - return this; - } - - /** - * Get sizeX - * @return sizeX - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SIZE_X) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getSizeX() { - return sizeX; - } - - - @JsonProperty(JSON_PROPERTY_SIZE_X) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSizeX(Integer sizeX) { - this.sizeX = sizeX; - } - - - public CartesianMesh sizeY(Integer sizeY) { - this.sizeY = sizeY; - return this; - } - - /** - * Get sizeY - * @return sizeY - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SIZE_Y) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getSizeY() { - return sizeY; - } - - - @JsonProperty(JSON_PROPERTY_SIZE_Y) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSizeY(Integer sizeY) { - this.sizeY = sizeY; - } - - - public CartesianMesh sizeZ(Integer sizeZ) { - this.sizeZ = sizeZ; - return this; - } - - /** - * Get sizeZ - * @return sizeZ - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SIZE_Z) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getSizeZ() { - return sizeZ; - } - - - @JsonProperty(JSON_PROPERTY_SIZE_Z) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSizeZ(Integer sizeZ) { - this.sizeZ = sizeZ; - } - - - public CartesianMesh membraneConnectivityOK(Boolean membraneConnectivityOK) { - this.membraneConnectivityOK = membraneConnectivityOK; - return this; - } - - /** - * Get membraneConnectivityOK - * @return membraneConnectivityOK - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MEMBRANE_CONNECTIVITY_O_K) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getMembraneConnectivityOK() { - return membraneConnectivityOK; - } - - - @JsonProperty(JSON_PROPERTY_MEMBRANE_CONNECTIVITY_O_K) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setMembraneConnectivityOK(Boolean membraneConnectivityOK) { - this.membraneConnectivityOK = membraneConnectivityOK; - } - - - public CartesianMesh outputFields(List outputFields) { - this.outputFields = outputFields; - return this; - } - - public CartesianMesh addOutputFieldsItem(Object outputFieldsItem) { - if (this.outputFields == null) { - this.outputFields = new ArrayList<>(); - } - this.outputFields.add(outputFieldsItem); - return this; - } - - /** - * Get outputFields - * @return outputFields - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTPUT_FIELDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getOutputFields() { - return outputFields; - } - - - @JsonProperty(JSON_PROPERTY_OUTPUT_FIELDS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOutputFields(List outputFields) { - this.outputFields = outputFields; - } - - - public CartesianMesh chomboMesh(Boolean chomboMesh) { - this.chomboMesh = chomboMesh; - return this; - } - - /** - * Get chomboMesh - * @return chomboMesh - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CHOMBO_MESH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getChomboMesh() { - return chomboMesh; - } - - - @JsonProperty(JSON_PROPERTY_CHOMBO_MESH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setChomboMesh(Boolean chomboMesh) { - this.chomboMesh = chomboMesh; - } - - - /** - * Return true if this CartesianMesh object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CartesianMesh cartesianMesh = (CartesianMesh) o; - return Objects.equals(this.compressedBytes, cartesianMesh.compressedBytes) && - Objects.equals(this.uCDInfo, cartesianMesh.uCDInfo) && - Objects.equals(this.geometryDimension, cartesianMesh.geometryDimension) && - Objects.equals(this.volumeRegionMapSubvolume, cartesianMesh.volumeRegionMapSubvolume) && - Objects.equals(this.membraneRegionMapSubvolumesInOut, cartesianMesh.membraneRegionMapSubvolumesInOut) && - Objects.equals(this.numMembraneElements, cartesianMesh.numMembraneElements) && - Objects.equals(this.numMembraneRegions, cartesianMesh.numMembraneRegions) && - Objects.equals(this.numVolumeElements, cartesianMesh.numVolumeElements) && - Objects.equals(this.numVolumeRegions, cartesianMesh.numVolumeRegions) && - Objects.equals(this.iSize, cartesianMesh.iSize) && - Objects.equals(this.sizeX, cartesianMesh.sizeX) && - Objects.equals(this.sizeY, cartesianMesh.sizeY) && - Objects.equals(this.sizeZ, cartesianMesh.sizeZ) && - Objects.equals(this.membraneConnectivityOK, cartesianMesh.membraneConnectivityOK) && - Objects.equals(this.outputFields, cartesianMesh.outputFields) && - Objects.equals(this.chomboMesh, cartesianMesh.chomboMesh); - } - - @Override - public int hashCode() { - return Objects.hash(compressedBytes, uCDInfo, geometryDimension, volumeRegionMapSubvolume, membraneRegionMapSubvolumesInOut, numMembraneElements, numMembraneRegions, numVolumeElements, numVolumeRegions, iSize, sizeX, sizeY, sizeZ, membraneConnectivityOK, outputFields, chomboMesh); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CartesianMesh {\n"); - sb.append(" compressedBytes: ").append(toIndentedString(compressedBytes)).append("\n"); - sb.append(" uCDInfo: ").append(toIndentedString(uCDInfo)).append("\n"); - sb.append(" geometryDimension: ").append(toIndentedString(geometryDimension)).append("\n"); - sb.append(" volumeRegionMapSubvolume: ").append(toIndentedString(volumeRegionMapSubvolume)).append("\n"); - sb.append(" membraneRegionMapSubvolumesInOut: ").append(toIndentedString(membraneRegionMapSubvolumesInOut)).append("\n"); - sb.append(" numMembraneElements: ").append(toIndentedString(numMembraneElements)).append("\n"); - sb.append(" numMembraneRegions: ").append(toIndentedString(numMembraneRegions)).append("\n"); - sb.append(" numVolumeElements: ").append(toIndentedString(numVolumeElements)).append("\n"); - sb.append(" numVolumeRegions: ").append(toIndentedString(numVolumeRegions)).append("\n"); - sb.append(" iSize: ").append(toIndentedString(iSize)).append("\n"); - sb.append(" sizeX: ").append(toIndentedString(sizeX)).append("\n"); - sb.append(" sizeY: ").append(toIndentedString(sizeY)).append("\n"); - sb.append(" sizeZ: ").append(toIndentedString(sizeZ)).append("\n"); - sb.append(" membraneConnectivityOK: ").append(toIndentedString(membraneConnectivityOK)).append("\n"); - sb.append(" outputFields: ").append(toIndentedString(outputFields)).append("\n"); - sb.append(" chomboMesh: ").append(toIndentedString(chomboMesh)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - /** - * Convert the instance into URL query string. - * - * @return URL query string - */ - public String toUrlQueryString() { - return toUrlQueryString(null); - } - - /** - * Convert the instance into URL query string. - * - * @param prefix prefix of the query string - * @return URL query string - */ - public String toUrlQueryString(String prefix) { - String suffix = ""; - String containerSuffix = ""; - String containerPrefix = ""; - if (prefix == null) { - // style=form, explode=true, e.g. /pet?name=cat&type=manx - prefix = ""; - } else { - // deepObject style e.g. /pet?id[name]=cat&id[type]=manx - prefix = prefix + "["; - suffix = "]"; - containerSuffix = "]"; - containerPrefix = "["; - } - - StringJoiner joiner = new StringJoiner("&"); - - // add `compressedBytes` to the URL query string - if (getCompressedBytes() != null) { - joiner.add(String.format("%scompressedBytes%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getCompressedBytes()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `uCDInfo` to the URL query string - if (getuCDInfo() != null) { - joiner.add(getuCDInfo().toUrlQueryString(prefix + "uCDInfo" + suffix)); - } - - // add `geometryDimension` to the URL query string - if (getGeometryDimension() != null) { - joiner.add(String.format("%sgeometryDimension%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getGeometryDimension()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `volumeRegionMapSubvolume` to the URL query string - if (getVolumeRegionMapSubvolume() != null) { - for (String _key : getVolumeRegionMapSubvolume().keySet()) { - joiner.add(String.format("%svolumeRegionMapSubvolume%s%s=%s", prefix, suffix, - "".equals(suffix) ? "" : String.format("%s%d%s", containerPrefix, _key, containerSuffix), - getVolumeRegionMapSubvolume().get(_key), URLEncoder.encode(String.valueOf(getVolumeRegionMapSubvolume().get(_key)), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - } - - // add `membraneRegionMapSubvolumesInOut` to the URL query string - if (getMembraneRegionMapSubvolumesInOut() != null) { - for (String _key : getMembraneRegionMapSubvolumesInOut().keySet()) { - joiner.add(String.format("%smembraneRegionMapSubvolumesInOut%s%s=%s", prefix, suffix, - "".equals(suffix) ? "" : String.format("%s%d%s", containerPrefix, _key, containerSuffix), - getMembraneRegionMapSubvolumesInOut().get(_key), URLEncoder.encode(String.valueOf(getMembraneRegionMapSubvolumesInOut().get(_key)), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - } - - // add `numMembraneElements` to the URL query string - if (getNumMembraneElements() != null) { - joiner.add(String.format("%snumMembraneElements%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getNumMembraneElements()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `numMembraneRegions` to the URL query string - if (getNumMembraneRegions() != null) { - joiner.add(String.format("%snumMembraneRegions%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getNumMembraneRegions()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `numVolumeElements` to the URL query string - if (getNumVolumeElements() != null) { - joiner.add(String.format("%snumVolumeElements%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getNumVolumeElements()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `numVolumeRegions` to the URL query string - if (getNumVolumeRegions() != null) { - joiner.add(String.format("%snumVolumeRegions%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getNumVolumeRegions()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `iSize` to the URL query string - if (getiSize() != null) { - joiner.add(getiSize().toUrlQueryString(prefix + "iSize" + suffix)); - } - - // add `sizeX` to the URL query string - if (getSizeX() != null) { - joiner.add(String.format("%ssizeX%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getSizeX()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `sizeY` to the URL query string - if (getSizeY() != null) { - joiner.add(String.format("%ssizeY%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getSizeY()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `sizeZ` to the URL query string - if (getSizeZ() != null) { - joiner.add(String.format("%ssizeZ%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getSizeZ()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `membraneConnectivityOK` to the URL query string - if (getMembraneConnectivityOK() != null) { - joiner.add(String.format("%smembraneConnectivityOK%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getMembraneConnectivityOK()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `outputFields` to the URL query string - if (getOutputFields() != null) { - for (int i = 0; i < getOutputFields().size(); i++) { - joiner.add(String.format("%soutputFields%s%s=%s", prefix, suffix, - "".equals(suffix) ? "" : String.format("%s%d%s", containerPrefix, i, containerSuffix), - URLEncoder.encode(String.valueOf(getOutputFields().get(i)), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - } - - // add `chomboMesh` to the URL query string - if (getChomboMesh() != null) { - joiner.add(String.format("%schomboMesh%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getChomboMesh()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - return joiner.toString(); - } -} - diff --git a/vcell-restclient/src/main/java/org/vcell/restclient/model/Coordinate.java b/vcell-restclient/src/main/java/org/vcell/restclient/model/Coordinate.java deleted file mode 100644 index bce1c5c840..0000000000 --- a/vcell-restclient/src/main/java/org/vcell/restclient/model/Coordinate.java +++ /dev/null @@ -1,222 +0,0 @@ -/* - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.vcell.restclient.model; - -import java.net.URLEncoder; -import java.nio.charset.StandardCharsets; -import java.util.StringJoiner; -import java.util.Objects; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import java.util.Arrays; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * Coordinate - */ -@JsonPropertyOrder({ - Coordinate.JSON_PROPERTY_X, - Coordinate.JSON_PROPERTY_Y, - Coordinate.JSON_PROPERTY_Z -}) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Coordinate { - public static final String JSON_PROPERTY_X = "x"; - private Double x; - - public static final String JSON_PROPERTY_Y = "y"; - private Double y; - - public static final String JSON_PROPERTY_Z = "z"; - private Double z; - - public Coordinate() { - } - - public Coordinate x(Double x) { - this.x = x; - return this; - } - - /** - * Get x - * @return x - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_X) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Double getX() { - return x; - } - - - @JsonProperty(JSON_PROPERTY_X) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setX(Double x) { - this.x = x; - } - - - public Coordinate y(Double y) { - this.y = y; - return this; - } - - /** - * Get y - * @return y - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_Y) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Double getY() { - return y; - } - - - @JsonProperty(JSON_PROPERTY_Y) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setY(Double y) { - this.y = y; - } - - - public Coordinate z(Double z) { - this.z = z; - return this; - } - - /** - * Get z - * @return z - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_Z) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Double getZ() { - return z; - } - - - @JsonProperty(JSON_PROPERTY_Z) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setZ(Double z) { - this.z = z; - } - - - /** - * Return true if this Coordinate object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Coordinate coordinate = (Coordinate) o; - return Objects.equals(this.x, coordinate.x) && - Objects.equals(this.y, coordinate.y) && - Objects.equals(this.z, coordinate.z); - } - - @Override - public int hashCode() { - return Objects.hash(x, y, z); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Coordinate {\n"); - sb.append(" x: ").append(toIndentedString(x)).append("\n"); - sb.append(" y: ").append(toIndentedString(y)).append("\n"); - sb.append(" z: ").append(toIndentedString(z)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - /** - * Convert the instance into URL query string. - * - * @return URL query string - */ - public String toUrlQueryString() { - return toUrlQueryString(null); - } - - /** - * Convert the instance into URL query string. - * - * @param prefix prefix of the query string - * @return URL query string - */ - public String toUrlQueryString(String prefix) { - String suffix = ""; - String containerSuffix = ""; - String containerPrefix = ""; - if (prefix == null) { - // style=form, explode=true, e.g. /pet?name=cat&type=manx - prefix = ""; - } else { - // deepObject style e.g. /pet?id[name]=cat&id[type]=manx - prefix = prefix + "["; - suffix = "]"; - containerSuffix = "]"; - containerPrefix = "["; - } - - StringJoiner joiner = new StringJoiner("&"); - - // add `x` to the URL query string - if (getX() != null) { - joiner.add(String.format("%sx%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getX()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `y` to the URL query string - if (getY() != null) { - joiner.add(String.format("%sy%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getY()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `z` to the URL query string - if (getZ() != null) { - joiner.add(String.format("%sz%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getZ()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - return joiner.toString(); - } -} - diff --git a/vcell-restclient/src/main/java/org/vcell/restclient/model/FieldDataDBOperationSpec.java b/vcell-restclient/src/main/java/org/vcell/restclient/model/FieldDataDBOperationSpec.java deleted file mode 100644 index e9c4a79580..0000000000 --- a/vcell-restclient/src/main/java/org/vcell/restclient/model/FieldDataDBOperationSpec.java +++ /dev/null @@ -1,419 +0,0 @@ -/* - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.vcell.restclient.model; - -import java.net.URLEncoder; -import java.nio.charset.StandardCharsets; -import java.util.StringJoiner; -import java.util.Objects; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import org.vcell.restclient.model.ExternalDataIdentifier; -import org.vcell.restclient.model.User; -import org.vcell.restclient.model.VersionableTypeVersion; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FieldDataDBOperationSpec - */ -@JsonPropertyOrder({ - FieldDataDBOperationSpec.JSON_PROPERTY_OP_TYPE, - FieldDataDBOperationSpec.JSON_PROPERTY_SPEC_E_D_I, - FieldDataDBOperationSpec.JSON_PROPERTY_OWNER, - FieldDataDBOperationSpec.JSON_PROPERTY_NEW_EXT_DATA_I_D_NAME, - FieldDataDBOperationSpec.JSON_PROPERTY_ANNOTATION, - FieldDataDBOperationSpec.JSON_PROPERTY_SOURCE_NAMES, - FieldDataDBOperationSpec.JSON_PROPERTY_SOURCE_OWNER, - FieldDataDBOperationSpec.JSON_PROPERTY_B_INCLUDE_SIM_REFS -}) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class FieldDataDBOperationSpec { - public static final String JSON_PROPERTY_OP_TYPE = "opType"; - private Integer opType; - - public static final String JSON_PROPERTY_SPEC_E_D_I = "specEDI"; - private ExternalDataIdentifier specEDI; - - public static final String JSON_PROPERTY_OWNER = "owner"; - private User owner; - - public static final String JSON_PROPERTY_NEW_EXT_DATA_I_D_NAME = "newExtDataIDName"; - private String newExtDataIDName; - - public static final String JSON_PROPERTY_ANNOTATION = "annotation"; - private String annotation; - - public static final String JSON_PROPERTY_SOURCE_NAMES = "sourceNames"; - private List sourceNames; - - public static final String JSON_PROPERTY_SOURCE_OWNER = "sourceOwner"; - private VersionableTypeVersion sourceOwner; - - public static final String JSON_PROPERTY_B_INCLUDE_SIM_REFS = "bIncludeSimRefs"; - private Boolean bIncludeSimRefs; - - public FieldDataDBOperationSpec() { - } - - public FieldDataDBOperationSpec opType(Integer opType) { - this.opType = opType; - return this; - } - - /** - * Get opType - * @return opType - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OP_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getOpType() { - return opType; - } - - - @JsonProperty(JSON_PROPERTY_OP_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOpType(Integer opType) { - this.opType = opType; - } - - - public FieldDataDBOperationSpec specEDI(ExternalDataIdentifier specEDI) { - this.specEDI = specEDI; - return this; - } - - /** - * Get specEDI - * @return specEDI - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SPEC_E_D_I) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public ExternalDataIdentifier getSpecEDI() { - return specEDI; - } - - - @JsonProperty(JSON_PROPERTY_SPEC_E_D_I) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSpecEDI(ExternalDataIdentifier specEDI) { - this.specEDI = specEDI; - } - - - public FieldDataDBOperationSpec owner(User owner) { - this.owner = owner; - return this; - } - - /** - * Get owner - * @return owner - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OWNER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public User getOwner() { - return owner; - } - - - @JsonProperty(JSON_PROPERTY_OWNER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOwner(User owner) { - this.owner = owner; - } - - - public FieldDataDBOperationSpec newExtDataIDName(String newExtDataIDName) { - this.newExtDataIDName = newExtDataIDName; - return this; - } - - /** - * Get newExtDataIDName - * @return newExtDataIDName - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NEW_EXT_DATA_I_D_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getNewExtDataIDName() { - return newExtDataIDName; - } - - - @JsonProperty(JSON_PROPERTY_NEW_EXT_DATA_I_D_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setNewExtDataIDName(String newExtDataIDName) { - this.newExtDataIDName = newExtDataIDName; - } - - - public FieldDataDBOperationSpec annotation(String annotation) { - this.annotation = annotation; - return this; - } - - /** - * Get annotation - * @return annotation - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ANNOTATION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getAnnotation() { - return annotation; - } - - - @JsonProperty(JSON_PROPERTY_ANNOTATION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setAnnotation(String annotation) { - this.annotation = annotation; - } - - - public FieldDataDBOperationSpec sourceNames(List sourceNames) { - this.sourceNames = sourceNames; - return this; - } - - public FieldDataDBOperationSpec addSourceNamesItem(String sourceNamesItem) { - if (this.sourceNames == null) { - this.sourceNames = new ArrayList<>(); - } - this.sourceNames.add(sourceNamesItem); - return this; - } - - /** - * Get sourceNames - * @return sourceNames - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOURCE_NAMES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getSourceNames() { - return sourceNames; - } - - - @JsonProperty(JSON_PROPERTY_SOURCE_NAMES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSourceNames(List sourceNames) { - this.sourceNames = sourceNames; - } - - - public FieldDataDBOperationSpec sourceOwner(VersionableTypeVersion sourceOwner) { - this.sourceOwner = sourceOwner; - return this; - } - - /** - * Get sourceOwner - * @return sourceOwner - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOURCE_OWNER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public VersionableTypeVersion getSourceOwner() { - return sourceOwner; - } - - - @JsonProperty(JSON_PROPERTY_SOURCE_OWNER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSourceOwner(VersionableTypeVersion sourceOwner) { - this.sourceOwner = sourceOwner; - } - - - public FieldDataDBOperationSpec bIncludeSimRefs(Boolean bIncludeSimRefs) { - this.bIncludeSimRefs = bIncludeSimRefs; - return this; - } - - /** - * Get bIncludeSimRefs - * @return bIncludeSimRefs - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_B_INCLUDE_SIM_REFS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getbIncludeSimRefs() { - return bIncludeSimRefs; - } - - - @JsonProperty(JSON_PROPERTY_B_INCLUDE_SIM_REFS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setbIncludeSimRefs(Boolean bIncludeSimRefs) { - this.bIncludeSimRefs = bIncludeSimRefs; - } - - - /** - * Return true if this FieldDataDBOperationSpec object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - FieldDataDBOperationSpec fieldDataDBOperationSpec = (FieldDataDBOperationSpec) o; - return Objects.equals(this.opType, fieldDataDBOperationSpec.opType) && - Objects.equals(this.specEDI, fieldDataDBOperationSpec.specEDI) && - Objects.equals(this.owner, fieldDataDBOperationSpec.owner) && - Objects.equals(this.newExtDataIDName, fieldDataDBOperationSpec.newExtDataIDName) && - Objects.equals(this.annotation, fieldDataDBOperationSpec.annotation) && - Objects.equals(this.sourceNames, fieldDataDBOperationSpec.sourceNames) && - Objects.equals(this.sourceOwner, fieldDataDBOperationSpec.sourceOwner) && - Objects.equals(this.bIncludeSimRefs, fieldDataDBOperationSpec.bIncludeSimRefs); - } - - @Override - public int hashCode() { - return Objects.hash(opType, specEDI, owner, newExtDataIDName, annotation, sourceNames, sourceOwner, bIncludeSimRefs); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class FieldDataDBOperationSpec {\n"); - sb.append(" opType: ").append(toIndentedString(opType)).append("\n"); - sb.append(" specEDI: ").append(toIndentedString(specEDI)).append("\n"); - sb.append(" owner: ").append(toIndentedString(owner)).append("\n"); - sb.append(" newExtDataIDName: ").append(toIndentedString(newExtDataIDName)).append("\n"); - sb.append(" annotation: ").append(toIndentedString(annotation)).append("\n"); - sb.append(" sourceNames: ").append(toIndentedString(sourceNames)).append("\n"); - sb.append(" sourceOwner: ").append(toIndentedString(sourceOwner)).append("\n"); - sb.append(" bIncludeSimRefs: ").append(toIndentedString(bIncludeSimRefs)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - /** - * Convert the instance into URL query string. - * - * @return URL query string - */ - public String toUrlQueryString() { - return toUrlQueryString(null); - } - - /** - * Convert the instance into URL query string. - * - * @param prefix prefix of the query string - * @return URL query string - */ - public String toUrlQueryString(String prefix) { - String suffix = ""; - String containerSuffix = ""; - String containerPrefix = ""; - if (prefix == null) { - // style=form, explode=true, e.g. /pet?name=cat&type=manx - prefix = ""; - } else { - // deepObject style e.g. /pet?id[name]=cat&id[type]=manx - prefix = prefix + "["; - suffix = "]"; - containerSuffix = "]"; - containerPrefix = "["; - } - - StringJoiner joiner = new StringJoiner("&"); - - // add `opType` to the URL query string - if (getOpType() != null) { - joiner.add(String.format("%sopType%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getOpType()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `specEDI` to the URL query string - if (getSpecEDI() != null) { - joiner.add(getSpecEDI().toUrlQueryString(prefix + "specEDI" + suffix)); - } - - // add `owner` to the URL query string - if (getOwner() != null) { - joiner.add(getOwner().toUrlQueryString(prefix + "owner" + suffix)); - } - - // add `newExtDataIDName` to the URL query string - if (getNewExtDataIDName() != null) { - joiner.add(String.format("%snewExtDataIDName%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getNewExtDataIDName()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `annotation` to the URL query string - if (getAnnotation() != null) { - joiner.add(String.format("%sannotation%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getAnnotation()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `sourceNames` to the URL query string - if (getSourceNames() != null) { - for (int i = 0; i < getSourceNames().size(); i++) { - joiner.add(String.format("%ssourceNames%s%s=%s", prefix, suffix, - "".equals(suffix) ? "" : String.format("%s%d%s", containerPrefix, i, containerSuffix), - URLEncoder.encode(String.valueOf(getSourceNames().get(i)), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - } - - // add `sourceOwner` to the URL query string - if (getSourceOwner() != null) { - joiner.add(getSourceOwner().toUrlQueryString(prefix + "sourceOwner" + suffix)); - } - - // add `bIncludeSimRefs` to the URL query string - if (getbIncludeSimRefs() != null) { - joiner.add(String.format("%sbIncludeSimRefs%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getbIncludeSimRefs()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - return joiner.toString(); - } -} - diff --git a/vcell-restclient/src/main/java/org/vcell/restclient/model/FieldDataExternalDataIDs.java b/vcell-restclient/src/main/java/org/vcell/restclient/model/FieldDataExternalDataIDs.java deleted file mode 100644 index 42edd8c78a..0000000000 --- a/vcell-restclient/src/main/java/org/vcell/restclient/model/FieldDataExternalDataIDs.java +++ /dev/null @@ -1,265 +0,0 @@ -/* - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.vcell.restclient.model; - -import java.net.URLEncoder; -import java.nio.charset.StandardCharsets; -import java.util.StringJoiner; -import java.util.Objects; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import org.vcell.restclient.model.ExternalDataIdentifier; -import org.vcell.restclient.model.KeyValue; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FieldDataExternalDataIDs - */ -@JsonPropertyOrder({ - FieldDataExternalDataIDs.JSON_PROPERTY_EXTERNAL_DATA_IDENTIFIERS, - FieldDataExternalDataIDs.JSON_PROPERTY_EXTERNAL_DATA_ANNOTATIONS, - FieldDataExternalDataIDs.JSON_PROPERTY_EXTERNAL_DATA_I_D_SIM_REFS -}) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class FieldDataExternalDataIDs { - public static final String JSON_PROPERTY_EXTERNAL_DATA_IDENTIFIERS = "externalDataIdentifiers"; - private List externalDataIdentifiers; - - public static final String JSON_PROPERTY_EXTERNAL_DATA_ANNOTATIONS = "externalDataAnnotations"; - private List externalDataAnnotations; - - public static final String JSON_PROPERTY_EXTERNAL_DATA_I_D_SIM_REFS = "externalDataIDSimRefs"; - private Map> externalDataIDSimRefs = new HashMap<>(); - - public FieldDataExternalDataIDs() { - } - - public FieldDataExternalDataIDs externalDataIdentifiers(List externalDataIdentifiers) { - this.externalDataIdentifiers = externalDataIdentifiers; - return this; - } - - public FieldDataExternalDataIDs addExternalDataIdentifiersItem(ExternalDataIdentifier externalDataIdentifiersItem) { - if (this.externalDataIdentifiers == null) { - this.externalDataIdentifiers = new ArrayList<>(); - } - this.externalDataIdentifiers.add(externalDataIdentifiersItem); - return this; - } - - /** - * Get externalDataIdentifiers - * @return externalDataIdentifiers - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_EXTERNAL_DATA_IDENTIFIERS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getExternalDataIdentifiers() { - return externalDataIdentifiers; - } - - - @JsonProperty(JSON_PROPERTY_EXTERNAL_DATA_IDENTIFIERS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setExternalDataIdentifiers(List externalDataIdentifiers) { - this.externalDataIdentifiers = externalDataIdentifiers; - } - - - public FieldDataExternalDataIDs externalDataAnnotations(List externalDataAnnotations) { - this.externalDataAnnotations = externalDataAnnotations; - return this; - } - - public FieldDataExternalDataIDs addExternalDataAnnotationsItem(String externalDataAnnotationsItem) { - if (this.externalDataAnnotations == null) { - this.externalDataAnnotations = new ArrayList<>(); - } - this.externalDataAnnotations.add(externalDataAnnotationsItem); - return this; - } - - /** - * Get externalDataAnnotations - * @return externalDataAnnotations - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_EXTERNAL_DATA_ANNOTATIONS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getExternalDataAnnotations() { - return externalDataAnnotations; - } - - - @JsonProperty(JSON_PROPERTY_EXTERNAL_DATA_ANNOTATIONS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setExternalDataAnnotations(List externalDataAnnotations) { - this.externalDataAnnotations = externalDataAnnotations; - } - - - public FieldDataExternalDataIDs externalDataIDSimRefs(Map> externalDataIDSimRefs) { - this.externalDataIDSimRefs = externalDataIDSimRefs; - return this; - } - - public FieldDataExternalDataIDs putExternalDataIDSimRefsItem(String key, List externalDataIDSimRefsItem) { - if (this.externalDataIDSimRefs == null) { - this.externalDataIDSimRefs = new HashMap<>(); - } - this.externalDataIDSimRefs.put(key, externalDataIDSimRefsItem); - return this; - } - - /** - * Get externalDataIDSimRefs - * @return externalDataIDSimRefs - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_EXTERNAL_DATA_I_D_SIM_REFS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Map> getExternalDataIDSimRefs() { - return externalDataIDSimRefs; - } - - - @JsonProperty(JSON_PROPERTY_EXTERNAL_DATA_I_D_SIM_REFS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setExternalDataIDSimRefs(Map> externalDataIDSimRefs) { - this.externalDataIDSimRefs = externalDataIDSimRefs; - } - - - /** - * Return true if this FieldDataExternalDataIDs object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - FieldDataExternalDataIDs fieldDataExternalDataIDs = (FieldDataExternalDataIDs) o; - return Objects.equals(this.externalDataIdentifiers, fieldDataExternalDataIDs.externalDataIdentifiers) && - Objects.equals(this.externalDataAnnotations, fieldDataExternalDataIDs.externalDataAnnotations) && - Objects.equals(this.externalDataIDSimRefs, fieldDataExternalDataIDs.externalDataIDSimRefs); - } - - @Override - public int hashCode() { - return Objects.hash(externalDataIdentifiers, externalDataAnnotations, externalDataIDSimRefs); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class FieldDataExternalDataIDs {\n"); - sb.append(" externalDataIdentifiers: ").append(toIndentedString(externalDataIdentifiers)).append("\n"); - sb.append(" externalDataAnnotations: ").append(toIndentedString(externalDataAnnotations)).append("\n"); - sb.append(" externalDataIDSimRefs: ").append(toIndentedString(externalDataIDSimRefs)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - /** - * Convert the instance into URL query string. - * - * @return URL query string - */ - public String toUrlQueryString() { - return toUrlQueryString(null); - } - - /** - * Convert the instance into URL query string. - * - * @param prefix prefix of the query string - * @return URL query string - */ - public String toUrlQueryString(String prefix) { - String suffix = ""; - String containerSuffix = ""; - String containerPrefix = ""; - if (prefix == null) { - // style=form, explode=true, e.g. /pet?name=cat&type=manx - prefix = ""; - } else { - // deepObject style e.g. /pet?id[name]=cat&id[type]=manx - prefix = prefix + "["; - suffix = "]"; - containerSuffix = "]"; - containerPrefix = "["; - } - - StringJoiner joiner = new StringJoiner("&"); - - // add `externalDataIdentifiers` to the URL query string - if (getExternalDataIdentifiers() != null) { - for (int i = 0; i < getExternalDataIdentifiers().size(); i++) { - if (getExternalDataIdentifiers().get(i) != null) { - joiner.add(getExternalDataIdentifiers().get(i).toUrlQueryString(String.format("%sexternalDataIdentifiers%s%s", prefix, suffix, - "".equals(suffix) ? "" : String.format("%s%d%s", containerPrefix, i, containerSuffix)))); - } - } - } - - // add `externalDataAnnotations` to the URL query string - if (getExternalDataAnnotations() != null) { - for (int i = 0; i < getExternalDataAnnotations().size(); i++) { - joiner.add(String.format("%sexternalDataAnnotations%s%s=%s", prefix, suffix, - "".equals(suffix) ? "" : String.format("%s%d%s", containerPrefix, i, containerSuffix), - URLEncoder.encode(String.valueOf(getExternalDataAnnotations().get(i)), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - } - - // add `externalDataIDSimRefs` to the URL query string - if (getExternalDataIDSimRefs() != null) { - for (String _key : getExternalDataIDSimRefs().keySet()) { - joiner.add(String.format("%sexternalDataIDSimRefs%s%s=%s", prefix, suffix, - "".equals(suffix) ? "" : String.format("%s%d%s", containerPrefix, _key, containerSuffix), - getExternalDataIDSimRefs().get(_key), URLEncoder.encode(String.valueOf(getExternalDataIDSimRefs().get(_key)), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - } - - return joiner.toString(); - } -} - diff --git a/vcell-restclient/src/main/java/org/vcell/restclient/model/FieldDataFileOperationSpec.java b/vcell-restclient/src/main/java/org/vcell/restclient/model/FieldDataFileOperationSpec.java deleted file mode 100644 index d6fc358cdb..0000000000 --- a/vcell-restclient/src/main/java/org/vcell/restclient/model/FieldDataFileOperationSpec.java +++ /dev/null @@ -1,801 +0,0 @@ -/* - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.vcell.restclient.model; - -import java.net.URLEncoder; -import java.nio.charset.StandardCharsets; -import java.util.StringJoiner; -import java.util.Objects; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import org.vcell.restclient.model.CartesianMesh; -import org.vcell.restclient.model.Extent; -import org.vcell.restclient.model.ExternalDataIdentifier; -import org.vcell.restclient.model.ISize; -import org.vcell.restclient.model.KeyValue; -import org.vcell.restclient.model.Origin; -import org.vcell.restclient.model.User; -import org.vcell.restclient.model.VariableType; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FieldDataFileOperationSpec - */ -@JsonPropertyOrder({ - FieldDataFileOperationSpec.JSON_PROPERTY_OP_TYPE, - FieldDataFileOperationSpec.JSON_PROPERTY_SHORT_SPEC_DATA, - FieldDataFileOperationSpec.JSON_PROPERTY_DOUBLE_SPEC_DATA, - FieldDataFileOperationSpec.JSON_PROPERTY_CARTESIAN_MESH, - FieldDataFileOperationSpec.JSON_PROPERTY_SPEC_E_D_I, - FieldDataFileOperationSpec.JSON_PROPERTY_VAR_NAMES, - FieldDataFileOperationSpec.JSON_PROPERTY_VARIABLE_TYPES, - FieldDataFileOperationSpec.JSON_PROPERTY_TIMES, - FieldDataFileOperationSpec.JSON_PROPERTY_OWNER, - FieldDataFileOperationSpec.JSON_PROPERTY_ORIGIN, - FieldDataFileOperationSpec.JSON_PROPERTY_EXTENT, - FieldDataFileOperationSpec.JSON_PROPERTY_ISIZE, - FieldDataFileOperationSpec.JSON_PROPERTY_ANNOTATION, - FieldDataFileOperationSpec.JSON_PROPERTY_SOURCE_SIM_PARAM_SCAN_JOB_INDEX, - FieldDataFileOperationSpec.JSON_PROPERTY_SOURCE_SIM_DATA_KEY, - FieldDataFileOperationSpec.JSON_PROPERTY_SOURCE_OWNER, - FieldDataFileOperationSpec.JSON_PROPERTY_FIELD_DATA_NAME -}) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class FieldDataFileOperationSpec { - public static final String JSON_PROPERTY_OP_TYPE = "opType"; - private Integer opType; - - public static final String JSON_PROPERTY_SHORT_SPEC_DATA = "shortSpecData"; - private List>> shortSpecData; - - public static final String JSON_PROPERTY_DOUBLE_SPEC_DATA = "doubleSpecData"; - private List>> doubleSpecData; - - public static final String JSON_PROPERTY_CARTESIAN_MESH = "cartesianMesh"; - private CartesianMesh cartesianMesh; - - public static final String JSON_PROPERTY_SPEC_E_D_I = "specEDI"; - private ExternalDataIdentifier specEDI; - - public static final String JSON_PROPERTY_VAR_NAMES = "varNames"; - private List varNames; - - public static final String JSON_PROPERTY_VARIABLE_TYPES = "variableTypes"; - private List variableTypes; - - public static final String JSON_PROPERTY_TIMES = "times"; - private List times; - - public static final String JSON_PROPERTY_OWNER = "owner"; - private User owner; - - public static final String JSON_PROPERTY_ORIGIN = "origin"; - private Origin origin; - - public static final String JSON_PROPERTY_EXTENT = "extent"; - private Extent extent; - - public static final String JSON_PROPERTY_ISIZE = "isize"; - private ISize isize; - - public static final String JSON_PROPERTY_ANNOTATION = "annotation"; - private String annotation; - - public static final String JSON_PROPERTY_SOURCE_SIM_PARAM_SCAN_JOB_INDEX = "sourceSimParamScanJobIndex"; - private Integer sourceSimParamScanJobIndex; - - public static final String JSON_PROPERTY_SOURCE_SIM_DATA_KEY = "sourceSimDataKey"; - private KeyValue sourceSimDataKey; - - public static final String JSON_PROPERTY_SOURCE_OWNER = "sourceOwner"; - private User sourceOwner; - - public static final String JSON_PROPERTY_FIELD_DATA_NAME = "fieldDataName"; - private String fieldDataName; - - public FieldDataFileOperationSpec() { - } - - public FieldDataFileOperationSpec opType(Integer opType) { - this.opType = opType; - return this; - } - - /** - * Get opType - * @return opType - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OP_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getOpType() { - return opType; - } - - - @JsonProperty(JSON_PROPERTY_OP_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOpType(Integer opType) { - this.opType = opType; - } - - - public FieldDataFileOperationSpec shortSpecData(List>> shortSpecData) { - this.shortSpecData = shortSpecData; - return this; - } - - public FieldDataFileOperationSpec addShortSpecDataItem(List> shortSpecDataItem) { - if (this.shortSpecData == null) { - this.shortSpecData = new ArrayList<>(); - } - this.shortSpecData.add(shortSpecDataItem); - return this; - } - - /** - * Get shortSpecData - * @return shortSpecData - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SHORT_SPEC_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List>> getShortSpecData() { - return shortSpecData; - } - - - @JsonProperty(JSON_PROPERTY_SHORT_SPEC_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setShortSpecData(List>> shortSpecData) { - this.shortSpecData = shortSpecData; - } - - - public FieldDataFileOperationSpec doubleSpecData(List>> doubleSpecData) { - this.doubleSpecData = doubleSpecData; - return this; - } - - public FieldDataFileOperationSpec addDoubleSpecDataItem(List> doubleSpecDataItem) { - if (this.doubleSpecData == null) { - this.doubleSpecData = new ArrayList<>(); - } - this.doubleSpecData.add(doubleSpecDataItem); - return this; - } - - /** - * Get doubleSpecData - * @return doubleSpecData - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DOUBLE_SPEC_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List>> getDoubleSpecData() { - return doubleSpecData; - } - - - @JsonProperty(JSON_PROPERTY_DOUBLE_SPEC_DATA) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDoubleSpecData(List>> doubleSpecData) { - this.doubleSpecData = doubleSpecData; - } - - - public FieldDataFileOperationSpec cartesianMesh(CartesianMesh cartesianMesh) { - this.cartesianMesh = cartesianMesh; - return this; - } - - /** - * Get cartesianMesh - * @return cartesianMesh - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CARTESIAN_MESH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public CartesianMesh getCartesianMesh() { - return cartesianMesh; - } - - - @JsonProperty(JSON_PROPERTY_CARTESIAN_MESH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCartesianMesh(CartesianMesh cartesianMesh) { - this.cartesianMesh = cartesianMesh; - } - - - public FieldDataFileOperationSpec specEDI(ExternalDataIdentifier specEDI) { - this.specEDI = specEDI; - return this; - } - - /** - * Get specEDI - * @return specEDI - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SPEC_E_D_I) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public ExternalDataIdentifier getSpecEDI() { - return specEDI; - } - - - @JsonProperty(JSON_PROPERTY_SPEC_E_D_I) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSpecEDI(ExternalDataIdentifier specEDI) { - this.specEDI = specEDI; - } - - - public FieldDataFileOperationSpec varNames(List varNames) { - this.varNames = varNames; - return this; - } - - public FieldDataFileOperationSpec addVarNamesItem(String varNamesItem) { - if (this.varNames == null) { - this.varNames = new ArrayList<>(); - } - this.varNames.add(varNamesItem); - return this; - } - - /** - * Get varNames - * @return varNames - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_VAR_NAMES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getVarNames() { - return varNames; - } - - - @JsonProperty(JSON_PROPERTY_VAR_NAMES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setVarNames(List varNames) { - this.varNames = varNames; - } - - - public FieldDataFileOperationSpec variableTypes(List variableTypes) { - this.variableTypes = variableTypes; - return this; - } - - public FieldDataFileOperationSpec addVariableTypesItem(VariableType variableTypesItem) { - if (this.variableTypes == null) { - this.variableTypes = new ArrayList<>(); - } - this.variableTypes.add(variableTypesItem); - return this; - } - - /** - * Get variableTypes - * @return variableTypes - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_VARIABLE_TYPES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getVariableTypes() { - return variableTypes; - } - - - @JsonProperty(JSON_PROPERTY_VARIABLE_TYPES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setVariableTypes(List variableTypes) { - this.variableTypes = variableTypes; - } - - - public FieldDataFileOperationSpec times(List times) { - this.times = times; - return this; - } - - public FieldDataFileOperationSpec addTimesItem(Double timesItem) { - if (this.times == null) { - this.times = new ArrayList<>(); - } - this.times.add(timesItem); - return this; - } - - /** - * Get times - * @return times - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TIMES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getTimes() { - return times; - } - - - @JsonProperty(JSON_PROPERTY_TIMES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTimes(List times) { - this.times = times; - } - - - public FieldDataFileOperationSpec owner(User owner) { - this.owner = owner; - return this; - } - - /** - * Get owner - * @return owner - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OWNER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public User getOwner() { - return owner; - } - - - @JsonProperty(JSON_PROPERTY_OWNER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOwner(User owner) { - this.owner = owner; - } - - - public FieldDataFileOperationSpec origin(Origin origin) { - this.origin = origin; - return this; - } - - /** - * Get origin - * @return origin - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ORIGIN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Origin getOrigin() { - return origin; - } - - - @JsonProperty(JSON_PROPERTY_ORIGIN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOrigin(Origin origin) { - this.origin = origin; - } - - - public FieldDataFileOperationSpec extent(Extent extent) { - this.extent = extent; - return this; - } - - /** - * Get extent - * @return extent - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_EXTENT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Extent getExtent() { - return extent; - } - - - @JsonProperty(JSON_PROPERTY_EXTENT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setExtent(Extent extent) { - this.extent = extent; - } - - - public FieldDataFileOperationSpec isize(ISize isize) { - this.isize = isize; - return this; - } - - /** - * Get isize - * @return isize - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ISIZE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public ISize getIsize() { - return isize; - } - - - @JsonProperty(JSON_PROPERTY_ISIZE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsize(ISize isize) { - this.isize = isize; - } - - - public FieldDataFileOperationSpec annotation(String annotation) { - this.annotation = annotation; - return this; - } - - /** - * Get annotation - * @return annotation - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ANNOTATION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getAnnotation() { - return annotation; - } - - - @JsonProperty(JSON_PROPERTY_ANNOTATION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setAnnotation(String annotation) { - this.annotation = annotation; - } - - - public FieldDataFileOperationSpec sourceSimParamScanJobIndex(Integer sourceSimParamScanJobIndex) { - this.sourceSimParamScanJobIndex = sourceSimParamScanJobIndex; - return this; - } - - /** - * Get sourceSimParamScanJobIndex - * @return sourceSimParamScanJobIndex - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOURCE_SIM_PARAM_SCAN_JOB_INDEX) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getSourceSimParamScanJobIndex() { - return sourceSimParamScanJobIndex; - } - - - @JsonProperty(JSON_PROPERTY_SOURCE_SIM_PARAM_SCAN_JOB_INDEX) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSourceSimParamScanJobIndex(Integer sourceSimParamScanJobIndex) { - this.sourceSimParamScanJobIndex = sourceSimParamScanJobIndex; - } - - - public FieldDataFileOperationSpec sourceSimDataKey(KeyValue sourceSimDataKey) { - this.sourceSimDataKey = sourceSimDataKey; - return this; - } - - /** - * Get sourceSimDataKey - * @return sourceSimDataKey - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOURCE_SIM_DATA_KEY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public KeyValue getSourceSimDataKey() { - return sourceSimDataKey; - } - - - @JsonProperty(JSON_PROPERTY_SOURCE_SIM_DATA_KEY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSourceSimDataKey(KeyValue sourceSimDataKey) { - this.sourceSimDataKey = sourceSimDataKey; - } - - - public FieldDataFileOperationSpec sourceOwner(User sourceOwner) { - this.sourceOwner = sourceOwner; - return this; - } - - /** - * Get sourceOwner - * @return sourceOwner - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOURCE_OWNER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public User getSourceOwner() { - return sourceOwner; - } - - - @JsonProperty(JSON_PROPERTY_SOURCE_OWNER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSourceOwner(User sourceOwner) { - this.sourceOwner = sourceOwner; - } - - - public FieldDataFileOperationSpec fieldDataName(String fieldDataName) { - this.fieldDataName = fieldDataName; - return this; - } - - /** - * Get fieldDataName - * @return fieldDataName - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FIELD_DATA_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getFieldDataName() { - return fieldDataName; - } - - - @JsonProperty(JSON_PROPERTY_FIELD_DATA_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFieldDataName(String fieldDataName) { - this.fieldDataName = fieldDataName; - } - - - /** - * Return true if this FieldDataFileOperationSpec object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - FieldDataFileOperationSpec fieldDataFileOperationSpec = (FieldDataFileOperationSpec) o; - return Objects.equals(this.opType, fieldDataFileOperationSpec.opType) && - Objects.equals(this.shortSpecData, fieldDataFileOperationSpec.shortSpecData) && - Objects.equals(this.doubleSpecData, fieldDataFileOperationSpec.doubleSpecData) && - Objects.equals(this.cartesianMesh, fieldDataFileOperationSpec.cartesianMesh) && - Objects.equals(this.specEDI, fieldDataFileOperationSpec.specEDI) && - Objects.equals(this.varNames, fieldDataFileOperationSpec.varNames) && - Objects.equals(this.variableTypes, fieldDataFileOperationSpec.variableTypes) && - Objects.equals(this.times, fieldDataFileOperationSpec.times) && - Objects.equals(this.owner, fieldDataFileOperationSpec.owner) && - Objects.equals(this.origin, fieldDataFileOperationSpec.origin) && - Objects.equals(this.extent, fieldDataFileOperationSpec.extent) && - Objects.equals(this.isize, fieldDataFileOperationSpec.isize) && - Objects.equals(this.annotation, fieldDataFileOperationSpec.annotation) && - Objects.equals(this.sourceSimParamScanJobIndex, fieldDataFileOperationSpec.sourceSimParamScanJobIndex) && - Objects.equals(this.sourceSimDataKey, fieldDataFileOperationSpec.sourceSimDataKey) && - Objects.equals(this.sourceOwner, fieldDataFileOperationSpec.sourceOwner) && - Objects.equals(this.fieldDataName, fieldDataFileOperationSpec.fieldDataName); - } - - @Override - public int hashCode() { - return Objects.hash(opType, shortSpecData, doubleSpecData, cartesianMesh, specEDI, varNames, variableTypes, times, owner, origin, extent, isize, annotation, sourceSimParamScanJobIndex, sourceSimDataKey, sourceOwner, fieldDataName); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class FieldDataFileOperationSpec {\n"); - sb.append(" opType: ").append(toIndentedString(opType)).append("\n"); - sb.append(" shortSpecData: ").append(toIndentedString(shortSpecData)).append("\n"); - sb.append(" doubleSpecData: ").append(toIndentedString(doubleSpecData)).append("\n"); - sb.append(" cartesianMesh: ").append(toIndentedString(cartesianMesh)).append("\n"); - sb.append(" specEDI: ").append(toIndentedString(specEDI)).append("\n"); - sb.append(" varNames: ").append(toIndentedString(varNames)).append("\n"); - sb.append(" variableTypes: ").append(toIndentedString(variableTypes)).append("\n"); - sb.append(" times: ").append(toIndentedString(times)).append("\n"); - sb.append(" owner: ").append(toIndentedString(owner)).append("\n"); - sb.append(" origin: ").append(toIndentedString(origin)).append("\n"); - sb.append(" extent: ").append(toIndentedString(extent)).append("\n"); - sb.append(" isize: ").append(toIndentedString(isize)).append("\n"); - sb.append(" annotation: ").append(toIndentedString(annotation)).append("\n"); - sb.append(" sourceSimParamScanJobIndex: ").append(toIndentedString(sourceSimParamScanJobIndex)).append("\n"); - sb.append(" sourceSimDataKey: ").append(toIndentedString(sourceSimDataKey)).append("\n"); - sb.append(" sourceOwner: ").append(toIndentedString(sourceOwner)).append("\n"); - sb.append(" fieldDataName: ").append(toIndentedString(fieldDataName)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - /** - * Convert the instance into URL query string. - * - * @return URL query string - */ - public String toUrlQueryString() { - return toUrlQueryString(null); - } - - /** - * Convert the instance into URL query string. - * - * @param prefix prefix of the query string - * @return URL query string - */ - public String toUrlQueryString(String prefix) { - String suffix = ""; - String containerSuffix = ""; - String containerPrefix = ""; - if (prefix == null) { - // style=form, explode=true, e.g. /pet?name=cat&type=manx - prefix = ""; - } else { - // deepObject style e.g. /pet?id[name]=cat&id[type]=manx - prefix = prefix + "["; - suffix = "]"; - containerSuffix = "]"; - containerPrefix = "["; - } - - StringJoiner joiner = new StringJoiner("&"); - - // add `opType` to the URL query string - if (getOpType() != null) { - joiner.add(String.format("%sopType%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getOpType()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `shortSpecData` to the URL query string - if (getShortSpecData() != null) { - for (int i = 0; i < getShortSpecData().size(); i++) { - if (getShortSpecData().get(i) != null) { - joiner.add(String.format("%sshortSpecData%s%s=%s", prefix, suffix, - "".equals(suffix) ? "" : String.format("%s%d%s", containerPrefix, i, containerSuffix), - URLEncoder.encode(String.valueOf(getShortSpecData().get(i)), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - } - } - - // add `doubleSpecData` to the URL query string - if (getDoubleSpecData() != null) { - for (int i = 0; i < getDoubleSpecData().size(); i++) { - if (getDoubleSpecData().get(i) != null) { - joiner.add(String.format("%sdoubleSpecData%s%s=%s", prefix, suffix, - "".equals(suffix) ? "" : String.format("%s%d%s", containerPrefix, i, containerSuffix), - URLEncoder.encode(String.valueOf(getDoubleSpecData().get(i)), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - } - } - - // add `cartesianMesh` to the URL query string - if (getCartesianMesh() != null) { - joiner.add(getCartesianMesh().toUrlQueryString(prefix + "cartesianMesh" + suffix)); - } - - // add `specEDI` to the URL query string - if (getSpecEDI() != null) { - joiner.add(getSpecEDI().toUrlQueryString(prefix + "specEDI" + suffix)); - } - - // add `varNames` to the URL query string - if (getVarNames() != null) { - for (int i = 0; i < getVarNames().size(); i++) { - joiner.add(String.format("%svarNames%s%s=%s", prefix, suffix, - "".equals(suffix) ? "" : String.format("%s%d%s", containerPrefix, i, containerSuffix), - URLEncoder.encode(String.valueOf(getVarNames().get(i)), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - } - - // add `variableTypes` to the URL query string - if (getVariableTypes() != null) { - for (int i = 0; i < getVariableTypes().size(); i++) { - if (getVariableTypes().get(i) != null) { - joiner.add(getVariableTypes().get(i).toUrlQueryString(String.format("%svariableTypes%s%s", prefix, suffix, - "".equals(suffix) ? "" : String.format("%s%d%s", containerPrefix, i, containerSuffix)))); - } - } - } - - // add `times` to the URL query string - if (getTimes() != null) { - for (int i = 0; i < getTimes().size(); i++) { - joiner.add(String.format("%stimes%s%s=%s", prefix, suffix, - "".equals(suffix) ? "" : String.format("%s%d%s", containerPrefix, i, containerSuffix), - URLEncoder.encode(String.valueOf(getTimes().get(i)), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - } - - // add `owner` to the URL query string - if (getOwner() != null) { - joiner.add(getOwner().toUrlQueryString(prefix + "owner" + suffix)); - } - - // add `origin` to the URL query string - if (getOrigin() != null) { - joiner.add(getOrigin().toUrlQueryString(prefix + "origin" + suffix)); - } - - // add `extent` to the URL query string - if (getExtent() != null) { - joiner.add(getExtent().toUrlQueryString(prefix + "extent" + suffix)); - } - - // add `isize` to the URL query string - if (getIsize() != null) { - joiner.add(getIsize().toUrlQueryString(prefix + "isize" + suffix)); - } - - // add `annotation` to the URL query string - if (getAnnotation() != null) { - joiner.add(String.format("%sannotation%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getAnnotation()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `sourceSimParamScanJobIndex` to the URL query string - if (getSourceSimParamScanJobIndex() != null) { - joiner.add(String.format("%ssourceSimParamScanJobIndex%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getSourceSimParamScanJobIndex()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `sourceSimDataKey` to the URL query string - if (getSourceSimDataKey() != null) { - joiner.add(getSourceSimDataKey().toUrlQueryString(prefix + "sourceSimDataKey" + suffix)); - } - - // add `sourceOwner` to the URL query string - if (getSourceOwner() != null) { - joiner.add(getSourceOwner().toUrlQueryString(prefix + "sourceOwner" + suffix)); - } - - // add `fieldDataName` to the URL query string - if (getFieldDataName() != null) { - joiner.add(String.format("%sfieldDataName%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getFieldDataName()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - return joiner.toString(); - } -} - diff --git a/vcell-restclient/src/main/java/org/vcell/restclient/model/FieldDataInfo.java b/vcell-restclient/src/main/java/org/vcell/restclient/model/FieldDataInfo.java deleted file mode 100644 index e8b0c3e39a..0000000000 --- a/vcell-restclient/src/main/java/org/vcell/restclient/model/FieldDataInfo.java +++ /dev/null @@ -1,325 +0,0 @@ -/* - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.vcell.restclient.model; - -import java.net.URLEncoder; -import java.nio.charset.StandardCharsets; -import java.util.StringJoiner; -import java.util.Objects; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import org.vcell.restclient.model.DataIdentifier; -import org.vcell.restclient.model.Extent; -import org.vcell.restclient.model.ISize; -import org.vcell.restclient.model.Origin; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FieldDataInfo - */ -@JsonPropertyOrder({ - FieldDataInfo.JSON_PROPERTY_EXTENT, - FieldDataInfo.JSON_PROPERTY_ORIGIN, - FieldDataInfo.JSON_PROPERTY_ISIZE, - FieldDataInfo.JSON_PROPERTY_DATA_IDENTIFIER, - FieldDataInfo.JSON_PROPERTY_TIMES -}) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class FieldDataInfo { - public static final String JSON_PROPERTY_EXTENT = "extent"; - private Extent extent; - - public static final String JSON_PROPERTY_ORIGIN = "origin"; - private Origin origin; - - public static final String JSON_PROPERTY_ISIZE = "isize"; - private ISize isize; - - public static final String JSON_PROPERTY_DATA_IDENTIFIER = "dataIdentifier"; - private List dataIdentifier; - - public static final String JSON_PROPERTY_TIMES = "times"; - private List times; - - public FieldDataInfo() { - } - - public FieldDataInfo extent(Extent extent) { - this.extent = extent; - return this; - } - - /** - * Get extent - * @return extent - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_EXTENT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Extent getExtent() { - return extent; - } - - - @JsonProperty(JSON_PROPERTY_EXTENT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setExtent(Extent extent) { - this.extent = extent; - } - - - public FieldDataInfo origin(Origin origin) { - this.origin = origin; - return this; - } - - /** - * Get origin - * @return origin - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ORIGIN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Origin getOrigin() { - return origin; - } - - - @JsonProperty(JSON_PROPERTY_ORIGIN) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOrigin(Origin origin) { - this.origin = origin; - } - - - public FieldDataInfo isize(ISize isize) { - this.isize = isize; - return this; - } - - /** - * Get isize - * @return isize - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ISIZE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public ISize getIsize() { - return isize; - } - - - @JsonProperty(JSON_PROPERTY_ISIZE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsize(ISize isize) { - this.isize = isize; - } - - - public FieldDataInfo dataIdentifier(List dataIdentifier) { - this.dataIdentifier = dataIdentifier; - return this; - } - - public FieldDataInfo addDataIdentifierItem(DataIdentifier dataIdentifierItem) { - if (this.dataIdentifier == null) { - this.dataIdentifier = new ArrayList<>(); - } - this.dataIdentifier.add(dataIdentifierItem); - return this; - } - - /** - * Get dataIdentifier - * @return dataIdentifier - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATA_IDENTIFIER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getDataIdentifier() { - return dataIdentifier; - } - - - @JsonProperty(JSON_PROPERTY_DATA_IDENTIFIER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDataIdentifier(List dataIdentifier) { - this.dataIdentifier = dataIdentifier; - } - - - public FieldDataInfo times(List times) { - this.times = times; - return this; - } - - public FieldDataInfo addTimesItem(Double timesItem) { - if (this.times == null) { - this.times = new ArrayList<>(); - } - this.times.add(timesItem); - return this; - } - - /** - * Get times - * @return times - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TIMES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getTimes() { - return times; - } - - - @JsonProperty(JSON_PROPERTY_TIMES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTimes(List times) { - this.times = times; - } - - - /** - * Return true if this FieldDataInfo object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - FieldDataInfo fieldDataInfo = (FieldDataInfo) o; - return Objects.equals(this.extent, fieldDataInfo.extent) && - Objects.equals(this.origin, fieldDataInfo.origin) && - Objects.equals(this.isize, fieldDataInfo.isize) && - Objects.equals(this.dataIdentifier, fieldDataInfo.dataIdentifier) && - Objects.equals(this.times, fieldDataInfo.times); - } - - @Override - public int hashCode() { - return Objects.hash(extent, origin, isize, dataIdentifier, times); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class FieldDataInfo {\n"); - sb.append(" extent: ").append(toIndentedString(extent)).append("\n"); - sb.append(" origin: ").append(toIndentedString(origin)).append("\n"); - sb.append(" isize: ").append(toIndentedString(isize)).append("\n"); - sb.append(" dataIdentifier: ").append(toIndentedString(dataIdentifier)).append("\n"); - sb.append(" times: ").append(toIndentedString(times)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - /** - * Convert the instance into URL query string. - * - * @return URL query string - */ - public String toUrlQueryString() { - return toUrlQueryString(null); - } - - /** - * Convert the instance into URL query string. - * - * @param prefix prefix of the query string - * @return URL query string - */ - public String toUrlQueryString(String prefix) { - String suffix = ""; - String containerSuffix = ""; - String containerPrefix = ""; - if (prefix == null) { - // style=form, explode=true, e.g. /pet?name=cat&type=manx - prefix = ""; - } else { - // deepObject style e.g. /pet?id[name]=cat&id[type]=manx - prefix = prefix + "["; - suffix = "]"; - containerSuffix = "]"; - containerPrefix = "["; - } - - StringJoiner joiner = new StringJoiner("&"); - - // add `extent` to the URL query string - if (getExtent() != null) { - joiner.add(getExtent().toUrlQueryString(prefix + "extent" + suffix)); - } - - // add `origin` to the URL query string - if (getOrigin() != null) { - joiner.add(getOrigin().toUrlQueryString(prefix + "origin" + suffix)); - } - - // add `isize` to the URL query string - if (getIsize() != null) { - joiner.add(getIsize().toUrlQueryString(prefix + "isize" + suffix)); - } - - // add `dataIdentifier` to the URL query string - if (getDataIdentifier() != null) { - for (int i = 0; i < getDataIdentifier().size(); i++) { - if (getDataIdentifier().get(i) != null) { - joiner.add(getDataIdentifier().get(i).toUrlQueryString(String.format("%sdataIdentifier%s%s", prefix, suffix, - "".equals(suffix) ? "" : String.format("%s%d%s", containerPrefix, i, containerSuffix)))); - } - } - } - - // add `times` to the URL query string - if (getTimes() != null) { - for (int i = 0; i < getTimes().size(); i++) { - joiner.add(String.format("%stimes%s%s=%s", prefix, suffix, - "".equals(suffix) ? "" : String.format("%s%d%s", containerPrefix, i, containerSuffix), - URLEncoder.encode(String.valueOf(getTimes().get(i)), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - } - - return joiner.toString(); - } -} - diff --git a/vcell-restclient/src/main/java/org/vcell/restclient/model/FieldDataNoCopyConflict.java b/vcell-restclient/src/main/java/org/vcell/restclient/model/FieldDataNoCopyConflict.java deleted file mode 100644 index 3cdad94c8f..0000000000 --- a/vcell-restclient/src/main/java/org/vcell/restclient/model/FieldDataNoCopyConflict.java +++ /dev/null @@ -1,216 +0,0 @@ -/* - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.vcell.restclient.model; - -import java.net.URLEncoder; -import java.nio.charset.StandardCharsets; -import java.util.StringJoiner; -import java.util.Objects; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import java.util.Arrays; -import java.util.HashMap; -import java.util.Map; -import org.vcell.restclient.model.ExternalDataIdentifier; -import org.vcell.restclient.model.KeyValue; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FieldDataNoCopyConflict - */ -@JsonPropertyOrder({ - FieldDataNoCopyConflict.JSON_PROPERTY_OLD_NAME_NEW_I_D_HASH, - FieldDataNoCopyConflict.JSON_PROPERTY_OLD_NAME_OLD_EXT_DATA_I_D_KEY_HASH -}) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class FieldDataNoCopyConflict { - public static final String JSON_PROPERTY_OLD_NAME_NEW_I_D_HASH = "oldNameNewIDHash"; - private Map oldNameNewIDHash = new HashMap<>(); - - public static final String JSON_PROPERTY_OLD_NAME_OLD_EXT_DATA_I_D_KEY_HASH = "oldNameOldExtDataIDKeyHash"; - private Map oldNameOldExtDataIDKeyHash = new HashMap<>(); - - public FieldDataNoCopyConflict() { - } - - public FieldDataNoCopyConflict oldNameNewIDHash(Map oldNameNewIDHash) { - this.oldNameNewIDHash = oldNameNewIDHash; - return this; - } - - public FieldDataNoCopyConflict putOldNameNewIDHashItem(String key, ExternalDataIdentifier oldNameNewIDHashItem) { - if (this.oldNameNewIDHash == null) { - this.oldNameNewIDHash = new HashMap<>(); - } - this.oldNameNewIDHash.put(key, oldNameNewIDHashItem); - return this; - } - - /** - * Get oldNameNewIDHash - * @return oldNameNewIDHash - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OLD_NAME_NEW_I_D_HASH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Map getOldNameNewIDHash() { - return oldNameNewIDHash; - } - - - @JsonProperty(JSON_PROPERTY_OLD_NAME_NEW_I_D_HASH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOldNameNewIDHash(Map oldNameNewIDHash) { - this.oldNameNewIDHash = oldNameNewIDHash; - } - - - public FieldDataNoCopyConflict oldNameOldExtDataIDKeyHash(Map oldNameOldExtDataIDKeyHash) { - this.oldNameOldExtDataIDKeyHash = oldNameOldExtDataIDKeyHash; - return this; - } - - public FieldDataNoCopyConflict putOldNameOldExtDataIDKeyHashItem(String key, KeyValue oldNameOldExtDataIDKeyHashItem) { - if (this.oldNameOldExtDataIDKeyHash == null) { - this.oldNameOldExtDataIDKeyHash = new HashMap<>(); - } - this.oldNameOldExtDataIDKeyHash.put(key, oldNameOldExtDataIDKeyHashItem); - return this; - } - - /** - * Get oldNameOldExtDataIDKeyHash - * @return oldNameOldExtDataIDKeyHash - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OLD_NAME_OLD_EXT_DATA_I_D_KEY_HASH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Map getOldNameOldExtDataIDKeyHash() { - return oldNameOldExtDataIDKeyHash; - } - - - @JsonProperty(JSON_PROPERTY_OLD_NAME_OLD_EXT_DATA_I_D_KEY_HASH) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOldNameOldExtDataIDKeyHash(Map oldNameOldExtDataIDKeyHash) { - this.oldNameOldExtDataIDKeyHash = oldNameOldExtDataIDKeyHash; - } - - - /** - * Return true if this FieldDataNoCopyConflict object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - FieldDataNoCopyConflict fieldDataNoCopyConflict = (FieldDataNoCopyConflict) o; - return Objects.equals(this.oldNameNewIDHash, fieldDataNoCopyConflict.oldNameNewIDHash) && - Objects.equals(this.oldNameOldExtDataIDKeyHash, fieldDataNoCopyConflict.oldNameOldExtDataIDKeyHash); - } - - @Override - public int hashCode() { - return Objects.hash(oldNameNewIDHash, oldNameOldExtDataIDKeyHash); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class FieldDataNoCopyConflict {\n"); - sb.append(" oldNameNewIDHash: ").append(toIndentedString(oldNameNewIDHash)).append("\n"); - sb.append(" oldNameOldExtDataIDKeyHash: ").append(toIndentedString(oldNameOldExtDataIDKeyHash)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - /** - * Convert the instance into URL query string. - * - * @return URL query string - */ - public String toUrlQueryString() { - return toUrlQueryString(null); - } - - /** - * Convert the instance into URL query string. - * - * @param prefix prefix of the query string - * @return URL query string - */ - public String toUrlQueryString(String prefix) { - String suffix = ""; - String containerSuffix = ""; - String containerPrefix = ""; - if (prefix == null) { - // style=form, explode=true, e.g. /pet?name=cat&type=manx - prefix = ""; - } else { - // deepObject style e.g. /pet?id[name]=cat&id[type]=manx - prefix = prefix + "["; - suffix = "]"; - containerSuffix = "]"; - containerPrefix = "["; - } - - StringJoiner joiner = new StringJoiner("&"); - - // add `oldNameNewIDHash` to the URL query string - if (getOldNameNewIDHash() != null) { - for (String _key : getOldNameNewIDHash().keySet()) { - if (getOldNameNewIDHash().get(_key) != null) { - joiner.add(getOldNameNewIDHash().get(_key).toUrlQueryString(String.format("%soldNameNewIDHash%s%s", prefix, suffix, - "".equals(suffix) ? "" : String.format("%s%d%s", containerPrefix, _key, containerSuffix)))); - } - } - } - - // add `oldNameOldExtDataIDKeyHash` to the URL query string - if (getOldNameOldExtDataIDKeyHash() != null) { - for (String _key : getOldNameOldExtDataIDKeyHash().keySet()) { - if (getOldNameOldExtDataIDKeyHash().get(_key) != null) { - joiner.add(getOldNameOldExtDataIDKeyHash().get(_key).toUrlQueryString(String.format("%soldNameOldExtDataIDKeyHash%s%s", prefix, suffix, - "".equals(suffix) ? "" : String.format("%s%d%s", containerPrefix, _key, containerSuffix)))); - } - } - } - - return joiner.toString(); - } -} - diff --git a/vcell-restclient/src/main/java/org/vcell/restclient/model/FieldDataReferences.java b/vcell-restclient/src/main/java/org/vcell/restclient/model/FieldDataReferences.java deleted file mode 100644 index 57f2df6b54..0000000000 --- a/vcell-restclient/src/main/java/org/vcell/restclient/model/FieldDataReferences.java +++ /dev/null @@ -1,265 +0,0 @@ -/* - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.vcell.restclient.model; - -import java.net.URLEncoder; -import java.nio.charset.StandardCharsets; -import java.util.StringJoiner; -import java.util.Objects; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import org.vcell.restclient.model.ExternalDataIdentifier; -import org.vcell.restclient.model.KeyValue; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * FieldDataReferences - */ -@JsonPropertyOrder({ - FieldDataReferences.JSON_PROPERTY_EXTERNAL_DATA_IDENTIFIERS, - FieldDataReferences.JSON_PROPERTY_EXTERNAL_DATA_ANNOTATIONS, - FieldDataReferences.JSON_PROPERTY_EXTERNAL_DATA_I_D_SIM_REFS -}) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class FieldDataReferences { - public static final String JSON_PROPERTY_EXTERNAL_DATA_IDENTIFIERS = "externalDataIdentifiers"; - private List externalDataIdentifiers; - - public static final String JSON_PROPERTY_EXTERNAL_DATA_ANNOTATIONS = "externalDataAnnotations"; - private List externalDataAnnotations; - - public static final String JSON_PROPERTY_EXTERNAL_DATA_I_D_SIM_REFS = "externalDataIDSimRefs"; - private Map> externalDataIDSimRefs = new HashMap<>(); - - public FieldDataReferences() { - } - - public FieldDataReferences externalDataIdentifiers(List externalDataIdentifiers) { - this.externalDataIdentifiers = externalDataIdentifiers; - return this; - } - - public FieldDataReferences addExternalDataIdentifiersItem(ExternalDataIdentifier externalDataIdentifiersItem) { - if (this.externalDataIdentifiers == null) { - this.externalDataIdentifiers = new ArrayList<>(); - } - this.externalDataIdentifiers.add(externalDataIdentifiersItem); - return this; - } - - /** - * Get externalDataIdentifiers - * @return externalDataIdentifiers - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_EXTERNAL_DATA_IDENTIFIERS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getExternalDataIdentifiers() { - return externalDataIdentifiers; - } - - - @JsonProperty(JSON_PROPERTY_EXTERNAL_DATA_IDENTIFIERS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setExternalDataIdentifiers(List externalDataIdentifiers) { - this.externalDataIdentifiers = externalDataIdentifiers; - } - - - public FieldDataReferences externalDataAnnotations(List externalDataAnnotations) { - this.externalDataAnnotations = externalDataAnnotations; - return this; - } - - public FieldDataReferences addExternalDataAnnotationsItem(String externalDataAnnotationsItem) { - if (this.externalDataAnnotations == null) { - this.externalDataAnnotations = new ArrayList<>(); - } - this.externalDataAnnotations.add(externalDataAnnotationsItem); - return this; - } - - /** - * Get externalDataAnnotations - * @return externalDataAnnotations - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_EXTERNAL_DATA_ANNOTATIONS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getExternalDataAnnotations() { - return externalDataAnnotations; - } - - - @JsonProperty(JSON_PROPERTY_EXTERNAL_DATA_ANNOTATIONS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setExternalDataAnnotations(List externalDataAnnotations) { - this.externalDataAnnotations = externalDataAnnotations; - } - - - public FieldDataReferences externalDataIDSimRefs(Map> externalDataIDSimRefs) { - this.externalDataIDSimRefs = externalDataIDSimRefs; - return this; - } - - public FieldDataReferences putExternalDataIDSimRefsItem(String key, List externalDataIDSimRefsItem) { - if (this.externalDataIDSimRefs == null) { - this.externalDataIDSimRefs = new HashMap<>(); - } - this.externalDataIDSimRefs.put(key, externalDataIDSimRefsItem); - return this; - } - - /** - * Get externalDataIDSimRefs - * @return externalDataIDSimRefs - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_EXTERNAL_DATA_I_D_SIM_REFS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Map> getExternalDataIDSimRefs() { - return externalDataIDSimRefs; - } - - - @JsonProperty(JSON_PROPERTY_EXTERNAL_DATA_I_D_SIM_REFS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setExternalDataIDSimRefs(Map> externalDataIDSimRefs) { - this.externalDataIDSimRefs = externalDataIDSimRefs; - } - - - /** - * Return true if this FieldDataReferences object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - FieldDataReferences fieldDataReferences = (FieldDataReferences) o; - return Objects.equals(this.externalDataIdentifiers, fieldDataReferences.externalDataIdentifiers) && - Objects.equals(this.externalDataAnnotations, fieldDataReferences.externalDataAnnotations) && - Objects.equals(this.externalDataIDSimRefs, fieldDataReferences.externalDataIDSimRefs); - } - - @Override - public int hashCode() { - return Objects.hash(externalDataIdentifiers, externalDataAnnotations, externalDataIDSimRefs); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class FieldDataReferences {\n"); - sb.append(" externalDataIdentifiers: ").append(toIndentedString(externalDataIdentifiers)).append("\n"); - sb.append(" externalDataAnnotations: ").append(toIndentedString(externalDataAnnotations)).append("\n"); - sb.append(" externalDataIDSimRefs: ").append(toIndentedString(externalDataIDSimRefs)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - /** - * Convert the instance into URL query string. - * - * @return URL query string - */ - public String toUrlQueryString() { - return toUrlQueryString(null); - } - - /** - * Convert the instance into URL query string. - * - * @param prefix prefix of the query string - * @return URL query string - */ - public String toUrlQueryString(String prefix) { - String suffix = ""; - String containerSuffix = ""; - String containerPrefix = ""; - if (prefix == null) { - // style=form, explode=true, e.g. /pet?name=cat&type=manx - prefix = ""; - } else { - // deepObject style e.g. /pet?id[name]=cat&id[type]=manx - prefix = prefix + "["; - suffix = "]"; - containerSuffix = "]"; - containerPrefix = "["; - } - - StringJoiner joiner = new StringJoiner("&"); - - // add `externalDataIdentifiers` to the URL query string - if (getExternalDataIdentifiers() != null) { - for (int i = 0; i < getExternalDataIdentifiers().size(); i++) { - if (getExternalDataIdentifiers().get(i) != null) { - joiner.add(getExternalDataIdentifiers().get(i).toUrlQueryString(String.format("%sexternalDataIdentifiers%s%s", prefix, suffix, - "".equals(suffix) ? "" : String.format("%s%d%s", containerPrefix, i, containerSuffix)))); - } - } - } - - // add `externalDataAnnotations` to the URL query string - if (getExternalDataAnnotations() != null) { - for (int i = 0; i < getExternalDataAnnotations().size(); i++) { - joiner.add(String.format("%sexternalDataAnnotations%s%s=%s", prefix, suffix, - "".equals(suffix) ? "" : String.format("%s%d%s", containerPrefix, i, containerSuffix), - URLEncoder.encode(String.valueOf(getExternalDataAnnotations().get(i)), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - } - - // add `externalDataIDSimRefs` to the URL query string - if (getExternalDataIDSimRefs() != null) { - for (String _key : getExternalDataIDSimRefs().keySet()) { - joiner.add(String.format("%sexternalDataIDSimRefs%s%s=%s", prefix, suffix, - "".equals(suffix) ? "" : String.format("%s%d%s", containerPrefix, _key, containerSuffix), - getExternalDataIDSimRefs().get(_key), URLEncoder.encode(String.valueOf(getExternalDataIDSimRefs().get(_key)), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - } - - return joiner.toString(); - } -} - diff --git a/vcell-restclient/src/main/java/org/vcell/restclient/model/GroupAccess.java b/vcell-restclient/src/main/java/org/vcell/restclient/model/GroupAccess.java deleted file mode 100644 index 4421ad8758..0000000000 --- a/vcell-restclient/src/main/java/org/vcell/restclient/model/GroupAccess.java +++ /dev/null @@ -1,187 +0,0 @@ -/* - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.vcell.restclient.model; - -import java.net.URLEncoder; -import java.nio.charset.StandardCharsets; -import java.util.StringJoiner; -import java.util.Objects; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import java.math.BigDecimal; -import java.util.Arrays; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * GroupAccess - */ -@JsonPropertyOrder({ - GroupAccess.JSON_PROPERTY_GROUPID, - GroupAccess.JSON_PROPERTY_DESCRIPTION -}) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class GroupAccess { - public static final String JSON_PROPERTY_GROUPID = "groupid"; - private BigDecimal groupid; - - public static final String JSON_PROPERTY_DESCRIPTION = "description"; - private String description; - - public GroupAccess() { - } - - public GroupAccess groupid(BigDecimal groupid) { - this.groupid = groupid; - return this; - } - - /** - * Get groupid - * @return groupid - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_GROUPID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public BigDecimal getGroupid() { - return groupid; - } - - - @JsonProperty(JSON_PROPERTY_GROUPID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setGroupid(BigDecimal groupid) { - this.groupid = groupid; - } - - - public GroupAccess description(String description) { - this.description = description; - return this; - } - - /** - * Get description - * @return description - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DESCRIPTION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getDescription() { - return description; - } - - - @JsonProperty(JSON_PROPERTY_DESCRIPTION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDescription(String description) { - this.description = description; - } - - - /** - * Return true if this GroupAccess object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - GroupAccess groupAccess = (GroupAccess) o; - return Objects.equals(this.groupid, groupAccess.groupid) && - Objects.equals(this.description, groupAccess.description); - } - - @Override - public int hashCode() { - return Objects.hash(groupid, description); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GroupAccess {\n"); - sb.append(" groupid: ").append(toIndentedString(groupid)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - /** - * Convert the instance into URL query string. - * - * @return URL query string - */ - public String toUrlQueryString() { - return toUrlQueryString(null); - } - - /** - * Convert the instance into URL query string. - * - * @param prefix prefix of the query string - * @return URL query string - */ - public String toUrlQueryString(String prefix) { - String suffix = ""; - String containerSuffix = ""; - String containerPrefix = ""; - if (prefix == null) { - // style=form, explode=true, e.g. /pet?name=cat&type=manx - prefix = ""; - } else { - // deepObject style e.g. /pet?id[name]=cat&id[type]=manx - prefix = prefix + "["; - suffix = "]"; - containerSuffix = "]"; - containerPrefix = "["; - } - - StringJoiner joiner = new StringJoiner("&"); - - // add `groupid` to the URL query string - if (getGroupid() != null) { - joiner.add(String.format("%sgroupid%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getGroupid()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `description` to the URL query string - if (getDescription() != null) { - joiner.add(String.format("%sdescription%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getDescription()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - return joiner.toString(); - } -} - diff --git a/vcell-restclient/src/main/java/org/vcell/restclient/model/UCDInfo.java b/vcell-restclient/src/main/java/org/vcell/restclient/model/UCDInfo.java deleted file mode 100644 index 1e5b76abbc..0000000000 --- a/vcell-restclient/src/main/java/org/vcell/restclient/model/UCDInfo.java +++ /dev/null @@ -1,614 +0,0 @@ -/* - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.vcell.restclient.model; - -import java.net.URLEncoder; -import java.nio.charset.StandardCharsets; -import java.util.StringJoiner; -import java.util.Objects; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import org.vcell.restclient.model.Coordinate; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * UCDInfo - */ -@JsonPropertyOrder({ - UCDInfo.JSON_PROPERTY_UCD_GRID_NODES, - UCDInfo.JSON_PROPERTY_UCD_MEMBRANE_QUADS, - UCDInfo.JSON_PROPERTY_REDUCED_U_C_D_GRID_NODES_V, - UCDInfo.JSON_PROPERTY_U_C_D_GRID_NODES, - UCDInfo.JSON_PROPERTY_U_C_D_MEMBRANE_QUADS, - UCDInfo.JSON_PROPERTY_NUM_VOLUME_NODES_X, - UCDInfo.JSON_PROPERTY_NUM_VOLUME_NODES_Y, - UCDInfo.JSON_PROPERTY_NUM_VOLUME_NODES_Z, - UCDInfo.JSON_PROPERTY_NUM_POINTS_X_Y_Z, - UCDInfo.JSON_PROPERTY_NUM_VOLUME_NODES_X_Y, - UCDInfo.JSON_PROPERTY_NUM_VOLUME_CELLS, - UCDInfo.JSON_PROPERTY_NUM_MEMBRANE_CELLS -}) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UCDInfo { - public static final String JSON_PROPERTY_UCD_GRID_NODES = "ucdGridNodes"; - private List>> ucdGridNodes; - - public static final String JSON_PROPERTY_UCD_MEMBRANE_QUADS = "ucdMembraneQuads"; - private List> ucdMembraneQuads; - - public static final String JSON_PROPERTY_REDUCED_U_C_D_GRID_NODES_V = "reducedUCDGridNodesV"; - private List reducedUCDGridNodesV; - - public static final String JSON_PROPERTY_U_C_D_GRID_NODES = "uCDGridNodes"; - private List>> uCDGridNodes; - - public static final String JSON_PROPERTY_U_C_D_MEMBRANE_QUADS = "uCDMembraneQuads"; - private List> uCDMembraneQuads; - - public static final String JSON_PROPERTY_NUM_VOLUME_NODES_X = "numVolumeNodesX"; - private Integer numVolumeNodesX; - - public static final String JSON_PROPERTY_NUM_VOLUME_NODES_Y = "numVolumeNodesY"; - private Integer numVolumeNodesY; - - public static final String JSON_PROPERTY_NUM_VOLUME_NODES_Z = "numVolumeNodesZ"; - private Integer numVolumeNodesZ; - - public static final String JSON_PROPERTY_NUM_POINTS_X_Y_Z = "numPointsXYZ"; - private Integer numPointsXYZ; - - public static final String JSON_PROPERTY_NUM_VOLUME_NODES_X_Y = "numVolumeNodesXY"; - private Integer numVolumeNodesXY; - - public static final String JSON_PROPERTY_NUM_VOLUME_CELLS = "numVolumeCells"; - private Integer numVolumeCells; - - public static final String JSON_PROPERTY_NUM_MEMBRANE_CELLS = "numMembraneCells"; - private Integer numMembraneCells; - - public UCDInfo() { - } - - public UCDInfo ucdGridNodes(List>> ucdGridNodes) { - this.ucdGridNodes = ucdGridNodes; - return this; - } - - public UCDInfo addUcdGridNodesItem(List> ucdGridNodesItem) { - if (this.ucdGridNodes == null) { - this.ucdGridNodes = new ArrayList<>(); - } - this.ucdGridNodes.add(ucdGridNodesItem); - return this; - } - - /** - * Get ucdGridNodes - * @return ucdGridNodes - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UCD_GRID_NODES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List>> getUcdGridNodes() { - return ucdGridNodes; - } - - - @JsonProperty(JSON_PROPERTY_UCD_GRID_NODES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUcdGridNodes(List>> ucdGridNodes) { - this.ucdGridNodes = ucdGridNodes; - } - - - public UCDInfo ucdMembraneQuads(List> ucdMembraneQuads) { - this.ucdMembraneQuads = ucdMembraneQuads; - return this; - } - - public UCDInfo addUcdMembraneQuadsItem(List ucdMembraneQuadsItem) { - if (this.ucdMembraneQuads == null) { - this.ucdMembraneQuads = new ArrayList<>(); - } - this.ucdMembraneQuads.add(ucdMembraneQuadsItem); - return this; - } - - /** - * Get ucdMembraneQuads - * @return ucdMembraneQuads - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UCD_MEMBRANE_QUADS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List> getUcdMembraneQuads() { - return ucdMembraneQuads; - } - - - @JsonProperty(JSON_PROPERTY_UCD_MEMBRANE_QUADS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUcdMembraneQuads(List> ucdMembraneQuads) { - this.ucdMembraneQuads = ucdMembraneQuads; - } - - - public UCDInfo reducedUCDGridNodesV(List reducedUCDGridNodesV) { - this.reducedUCDGridNodesV = reducedUCDGridNodesV; - return this; - } - - public UCDInfo addReducedUCDGridNodesVItem(Coordinate reducedUCDGridNodesVItem) { - if (this.reducedUCDGridNodesV == null) { - this.reducedUCDGridNodesV = new ArrayList<>(); - } - this.reducedUCDGridNodesV.add(reducedUCDGridNodesVItem); - return this; - } - - /** - * Get reducedUCDGridNodesV - * @return reducedUCDGridNodesV - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_REDUCED_U_C_D_GRID_NODES_V) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List getReducedUCDGridNodesV() { - return reducedUCDGridNodesV; - } - - - @JsonProperty(JSON_PROPERTY_REDUCED_U_C_D_GRID_NODES_V) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setReducedUCDGridNodesV(List reducedUCDGridNodesV) { - this.reducedUCDGridNodesV = reducedUCDGridNodesV; - } - - - public UCDInfo uCDGridNodes(List>> uCDGridNodes) { - this.uCDGridNodes = uCDGridNodes; - return this; - } - - public UCDInfo addUCDGridNodesItem(List> uCDGridNodesItem) { - if (this.uCDGridNodes == null) { - this.uCDGridNodes = new ArrayList<>(); - } - this.uCDGridNodes.add(uCDGridNodesItem); - return this; - } - - /** - * Get uCDGridNodes - * @return uCDGridNodes - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_U_C_D_GRID_NODES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List>> getuCDGridNodes() { - return uCDGridNodes; - } - - - @JsonProperty(JSON_PROPERTY_U_C_D_GRID_NODES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setuCDGridNodes(List>> uCDGridNodes) { - this.uCDGridNodes = uCDGridNodes; - } - - - public UCDInfo uCDMembraneQuads(List> uCDMembraneQuads) { - this.uCDMembraneQuads = uCDMembraneQuads; - return this; - } - - public UCDInfo addUCDMembraneQuadsItem(List uCDMembraneQuadsItem) { - if (this.uCDMembraneQuads == null) { - this.uCDMembraneQuads = new ArrayList<>(); - } - this.uCDMembraneQuads.add(uCDMembraneQuadsItem); - return this; - } - - /** - * Get uCDMembraneQuads - * @return uCDMembraneQuads - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_U_C_D_MEMBRANE_QUADS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public List> getuCDMembraneQuads() { - return uCDMembraneQuads; - } - - - @JsonProperty(JSON_PROPERTY_U_C_D_MEMBRANE_QUADS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setuCDMembraneQuads(List> uCDMembraneQuads) { - this.uCDMembraneQuads = uCDMembraneQuads; - } - - - public UCDInfo numVolumeNodesX(Integer numVolumeNodesX) { - this.numVolumeNodesX = numVolumeNodesX; - return this; - } - - /** - * Get numVolumeNodesX - * @return numVolumeNodesX - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NUM_VOLUME_NODES_X) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getNumVolumeNodesX() { - return numVolumeNodesX; - } - - - @JsonProperty(JSON_PROPERTY_NUM_VOLUME_NODES_X) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setNumVolumeNodesX(Integer numVolumeNodesX) { - this.numVolumeNodesX = numVolumeNodesX; - } - - - public UCDInfo numVolumeNodesY(Integer numVolumeNodesY) { - this.numVolumeNodesY = numVolumeNodesY; - return this; - } - - /** - * Get numVolumeNodesY - * @return numVolumeNodesY - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NUM_VOLUME_NODES_Y) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getNumVolumeNodesY() { - return numVolumeNodesY; - } - - - @JsonProperty(JSON_PROPERTY_NUM_VOLUME_NODES_Y) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setNumVolumeNodesY(Integer numVolumeNodesY) { - this.numVolumeNodesY = numVolumeNodesY; - } - - - public UCDInfo numVolumeNodesZ(Integer numVolumeNodesZ) { - this.numVolumeNodesZ = numVolumeNodesZ; - return this; - } - - /** - * Get numVolumeNodesZ - * @return numVolumeNodesZ - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NUM_VOLUME_NODES_Z) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getNumVolumeNodesZ() { - return numVolumeNodesZ; - } - - - @JsonProperty(JSON_PROPERTY_NUM_VOLUME_NODES_Z) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setNumVolumeNodesZ(Integer numVolumeNodesZ) { - this.numVolumeNodesZ = numVolumeNodesZ; - } - - - public UCDInfo numPointsXYZ(Integer numPointsXYZ) { - this.numPointsXYZ = numPointsXYZ; - return this; - } - - /** - * Get numPointsXYZ - * @return numPointsXYZ - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NUM_POINTS_X_Y_Z) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getNumPointsXYZ() { - return numPointsXYZ; - } - - - @JsonProperty(JSON_PROPERTY_NUM_POINTS_X_Y_Z) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setNumPointsXYZ(Integer numPointsXYZ) { - this.numPointsXYZ = numPointsXYZ; - } - - - public UCDInfo numVolumeNodesXY(Integer numVolumeNodesXY) { - this.numVolumeNodesXY = numVolumeNodesXY; - return this; - } - - /** - * Get numVolumeNodesXY - * @return numVolumeNodesXY - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NUM_VOLUME_NODES_X_Y) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getNumVolumeNodesXY() { - return numVolumeNodesXY; - } - - - @JsonProperty(JSON_PROPERTY_NUM_VOLUME_NODES_X_Y) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setNumVolumeNodesXY(Integer numVolumeNodesXY) { - this.numVolumeNodesXY = numVolumeNodesXY; - } - - - public UCDInfo numVolumeCells(Integer numVolumeCells) { - this.numVolumeCells = numVolumeCells; - return this; - } - - /** - * Get numVolumeCells - * @return numVolumeCells - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NUM_VOLUME_CELLS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getNumVolumeCells() { - return numVolumeCells; - } - - - @JsonProperty(JSON_PROPERTY_NUM_VOLUME_CELLS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setNumVolumeCells(Integer numVolumeCells) { - this.numVolumeCells = numVolumeCells; - } - - - public UCDInfo numMembraneCells(Integer numMembraneCells) { - this.numMembraneCells = numMembraneCells; - return this; - } - - /** - * Get numMembraneCells - * @return numMembraneCells - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NUM_MEMBRANE_CELLS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getNumMembraneCells() { - return numMembraneCells; - } - - - @JsonProperty(JSON_PROPERTY_NUM_MEMBRANE_CELLS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setNumMembraneCells(Integer numMembraneCells) { - this.numMembraneCells = numMembraneCells; - } - - - /** - * Return true if this UCDInfo object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UCDInfo ucDInfo = (UCDInfo) o; - return Objects.equals(this.ucdGridNodes, ucDInfo.ucdGridNodes) && - Objects.equals(this.ucdMembraneQuads, ucDInfo.ucdMembraneQuads) && - Objects.equals(this.reducedUCDGridNodesV, ucDInfo.reducedUCDGridNodesV) && - Objects.equals(this.uCDGridNodes, ucDInfo.uCDGridNodes) && - Objects.equals(this.uCDMembraneQuads, ucDInfo.uCDMembraneQuads) && - Objects.equals(this.numVolumeNodesX, ucDInfo.numVolumeNodesX) && - Objects.equals(this.numVolumeNodesY, ucDInfo.numVolumeNodesY) && - Objects.equals(this.numVolumeNodesZ, ucDInfo.numVolumeNodesZ) && - Objects.equals(this.numPointsXYZ, ucDInfo.numPointsXYZ) && - Objects.equals(this.numVolumeNodesXY, ucDInfo.numVolumeNodesXY) && - Objects.equals(this.numVolumeCells, ucDInfo.numVolumeCells) && - Objects.equals(this.numMembraneCells, ucDInfo.numMembraneCells); - } - - @Override - public int hashCode() { - return Objects.hash(ucdGridNodes, ucdMembraneQuads, reducedUCDGridNodesV, uCDGridNodes, uCDMembraneQuads, numVolumeNodesX, numVolumeNodesY, numVolumeNodesZ, numPointsXYZ, numVolumeNodesXY, numVolumeCells, numMembraneCells); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UCDInfo {\n"); - sb.append(" ucdGridNodes: ").append(toIndentedString(ucdGridNodes)).append("\n"); - sb.append(" ucdMembraneQuads: ").append(toIndentedString(ucdMembraneQuads)).append("\n"); - sb.append(" reducedUCDGridNodesV: ").append(toIndentedString(reducedUCDGridNodesV)).append("\n"); - sb.append(" uCDGridNodes: ").append(toIndentedString(uCDGridNodes)).append("\n"); - sb.append(" uCDMembraneQuads: ").append(toIndentedString(uCDMembraneQuads)).append("\n"); - sb.append(" numVolumeNodesX: ").append(toIndentedString(numVolumeNodesX)).append("\n"); - sb.append(" numVolumeNodesY: ").append(toIndentedString(numVolumeNodesY)).append("\n"); - sb.append(" numVolumeNodesZ: ").append(toIndentedString(numVolumeNodesZ)).append("\n"); - sb.append(" numPointsXYZ: ").append(toIndentedString(numPointsXYZ)).append("\n"); - sb.append(" numVolumeNodesXY: ").append(toIndentedString(numVolumeNodesXY)).append("\n"); - sb.append(" numVolumeCells: ").append(toIndentedString(numVolumeCells)).append("\n"); - sb.append(" numMembraneCells: ").append(toIndentedString(numMembraneCells)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - /** - * Convert the instance into URL query string. - * - * @return URL query string - */ - public String toUrlQueryString() { - return toUrlQueryString(null); - } - - /** - * Convert the instance into URL query string. - * - * @param prefix prefix of the query string - * @return URL query string - */ - public String toUrlQueryString(String prefix) { - String suffix = ""; - String containerSuffix = ""; - String containerPrefix = ""; - if (prefix == null) { - // style=form, explode=true, e.g. /pet?name=cat&type=manx - prefix = ""; - } else { - // deepObject style e.g. /pet?id[name]=cat&id[type]=manx - prefix = prefix + "["; - suffix = "]"; - containerSuffix = "]"; - containerPrefix = "["; - } - - StringJoiner joiner = new StringJoiner("&"); - - // add `ucdGridNodes` to the URL query string - if (getUcdGridNodes() != null) { - for (int i = 0; i < getUcdGridNodes().size(); i++) { - if (getUcdGridNodes().get(i) != null) { - joiner.add(String.format("%sucdGridNodes%s%s=%s", prefix, suffix, - "".equals(suffix) ? "" : String.format("%s%d%s", containerPrefix, i, containerSuffix), - URLEncoder.encode(String.valueOf(getUcdGridNodes().get(i)), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - } - } - - // add `ucdMembraneQuads` to the URL query string - if (getUcdMembraneQuads() != null) { - for (int i = 0; i < getUcdMembraneQuads().size(); i++) { - joiner.add(String.format("%sucdMembraneQuads%s%s=%s", prefix, suffix, - "".equals(suffix) ? "" : String.format("%s%d%s", containerPrefix, i, containerSuffix), - URLEncoder.encode(String.valueOf(getUcdMembraneQuads().get(i)), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - } - - // add `reducedUCDGridNodesV` to the URL query string - if (getReducedUCDGridNodesV() != null) { - for (int i = 0; i < getReducedUCDGridNodesV().size(); i++) { - if (getReducedUCDGridNodesV().get(i) != null) { - joiner.add(getReducedUCDGridNodesV().get(i).toUrlQueryString(String.format("%sreducedUCDGridNodesV%s%s", prefix, suffix, - "".equals(suffix) ? "" : String.format("%s%d%s", containerPrefix, i, containerSuffix)))); - } - } - } - - // add `uCDGridNodes` to the URL query string - if (getuCDGridNodes() != null) { - for (int i = 0; i < getuCDGridNodes().size(); i++) { - if (getuCDGridNodes().get(i) != null) { - joiner.add(String.format("%suCDGridNodes%s%s=%s", prefix, suffix, - "".equals(suffix) ? "" : String.format("%s%d%s", containerPrefix, i, containerSuffix), - URLEncoder.encode(String.valueOf(getuCDGridNodes().get(i)), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - } - } - - // add `uCDMembraneQuads` to the URL query string - if (getuCDMembraneQuads() != null) { - for (int i = 0; i < getuCDMembraneQuads().size(); i++) { - joiner.add(String.format("%suCDMembraneQuads%s%s=%s", prefix, suffix, - "".equals(suffix) ? "" : String.format("%s%d%s", containerPrefix, i, containerSuffix), - URLEncoder.encode(String.valueOf(getuCDMembraneQuads().get(i)), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - } - - // add `numVolumeNodesX` to the URL query string - if (getNumVolumeNodesX() != null) { - joiner.add(String.format("%snumVolumeNodesX%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getNumVolumeNodesX()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `numVolumeNodesY` to the URL query string - if (getNumVolumeNodesY() != null) { - joiner.add(String.format("%snumVolumeNodesY%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getNumVolumeNodesY()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `numVolumeNodesZ` to the URL query string - if (getNumVolumeNodesZ() != null) { - joiner.add(String.format("%snumVolumeNodesZ%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getNumVolumeNodesZ()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `numPointsXYZ` to the URL query string - if (getNumPointsXYZ() != null) { - joiner.add(String.format("%snumPointsXYZ%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getNumPointsXYZ()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `numVolumeNodesXY` to the URL query string - if (getNumVolumeNodesXY() != null) { - joiner.add(String.format("%snumVolumeNodesXY%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getNumVolumeNodesXY()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `numVolumeCells` to the URL query string - if (getNumVolumeCells() != null) { - joiner.add(String.format("%snumVolumeCells%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getNumVolumeCells()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `numMembraneCells` to the URL query string - if (getNumMembraneCells() != null) { - joiner.add(String.format("%snumMembraneCells%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getNumMembraneCells()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - return joiner.toString(); - } -} - diff --git a/vcell-restclient/src/main/java/org/vcell/restclient/model/Version.java b/vcell-restclient/src/main/java/org/vcell/restclient/model/Version.java deleted file mode 100644 index b52667afc5..0000000000 --- a/vcell-restclient/src/main/java/org/vcell/restclient/model/Version.java +++ /dev/null @@ -1,732 +0,0 @@ -/* - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.vcell.restclient.model; - -import java.net.URLEncoder; -import java.nio.charset.StandardCharsets; -import java.util.StringJoiner; -import java.util.Objects; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import java.math.BigDecimal; -import java.time.LocalDate; -import java.util.Arrays; -import org.vcell.restclient.model.GroupAccess; -import org.vcell.restclient.model.KeyValue; -import org.vcell.restclient.model.User; -import org.vcell.restclient.model.VersionFlag; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * Version - */ -@JsonPropertyOrder({ - Version.JSON_PROPERTY_VERSION_KEY, - Version.JSON_PROPERTY_VERSION_NAME, - Version.JSON_PROPERTY_VERSION_OWNER, - Version.JSON_PROPERTY_VERSION_GROUP_ACCESS, - Version.JSON_PROPERTY_VERSION_BRANCH_POINT_REF, - Version.JSON_PROPERTY_VERSION_BRANCH_I_D, - Version.JSON_PROPERTY_VERSION_DATE, - Version.JSON_PROPERTY_VERSION_FLAG, - Version.JSON_PROPERTY_VERSION_ANNOT, - Version.JSON_PROPERTY_ANNOT, - Version.JSON_PROPERTY_BRANCH_I_D, - Version.JSON_PROPERTY_BRANCH_POINT_REF_KEY, - Version.JSON_PROPERTY_DATE, - Version.JSON_PROPERTY_FLAG, - Version.JSON_PROPERTY_GROUP_ACCESS, - Version.JSON_PROPERTY_NAME, - Version.JSON_PROPERTY_OWNER -}) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Version { - public static final String JSON_PROPERTY_VERSION_KEY = "versionKey"; - private KeyValue versionKey; - - public static final String JSON_PROPERTY_VERSION_NAME = "versionName"; - private String versionName; - - public static final String JSON_PROPERTY_VERSION_OWNER = "versionOwner"; - private User versionOwner; - - public static final String JSON_PROPERTY_VERSION_GROUP_ACCESS = "versionGroupAccess"; - private GroupAccess versionGroupAccess; - - public static final String JSON_PROPERTY_VERSION_BRANCH_POINT_REF = "versionBranchPointRef"; - private KeyValue versionBranchPointRef; - - public static final String JSON_PROPERTY_VERSION_BRANCH_I_D = "versionBranchID"; - private BigDecimal versionBranchID; - - public static final String JSON_PROPERTY_VERSION_DATE = "versionDate"; - private LocalDate versionDate; - - public static final String JSON_PROPERTY_VERSION_FLAG = "versionFlag"; - private VersionFlag versionFlag; - - public static final String JSON_PROPERTY_VERSION_ANNOT = "versionAnnot"; - private String versionAnnot; - - public static final String JSON_PROPERTY_ANNOT = "annot"; - private String annot; - - public static final String JSON_PROPERTY_BRANCH_I_D = "branchID"; - private BigDecimal branchID; - - public static final String JSON_PROPERTY_BRANCH_POINT_REF_KEY = "branchPointRefKey"; - private KeyValue branchPointRefKey; - - public static final String JSON_PROPERTY_DATE = "date"; - private LocalDate date; - - public static final String JSON_PROPERTY_FLAG = "flag"; - private VersionFlag flag; - - public static final String JSON_PROPERTY_GROUP_ACCESS = "groupAccess"; - private GroupAccess groupAccess; - - public static final String JSON_PROPERTY_NAME = "name"; - private String name; - - public static final String JSON_PROPERTY_OWNER = "owner"; - private User owner; - - public Version() { - } - - public Version versionKey(KeyValue versionKey) { - this.versionKey = versionKey; - return this; - } - - /** - * Get versionKey - * @return versionKey - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_VERSION_KEY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public KeyValue getVersionKey() { - return versionKey; - } - - - @JsonProperty(JSON_PROPERTY_VERSION_KEY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setVersionKey(KeyValue versionKey) { - this.versionKey = versionKey; - } - - - public Version versionName(String versionName) { - this.versionName = versionName; - return this; - } - - /** - * Get versionName - * @return versionName - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_VERSION_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getVersionName() { - return versionName; - } - - - @JsonProperty(JSON_PROPERTY_VERSION_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setVersionName(String versionName) { - this.versionName = versionName; - } - - - public Version versionOwner(User versionOwner) { - this.versionOwner = versionOwner; - return this; - } - - /** - * Get versionOwner - * @return versionOwner - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_VERSION_OWNER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public User getVersionOwner() { - return versionOwner; - } - - - @JsonProperty(JSON_PROPERTY_VERSION_OWNER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setVersionOwner(User versionOwner) { - this.versionOwner = versionOwner; - } - - - public Version versionGroupAccess(GroupAccess versionGroupAccess) { - this.versionGroupAccess = versionGroupAccess; - return this; - } - - /** - * Get versionGroupAccess - * @return versionGroupAccess - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_VERSION_GROUP_ACCESS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public GroupAccess getVersionGroupAccess() { - return versionGroupAccess; - } - - - @JsonProperty(JSON_PROPERTY_VERSION_GROUP_ACCESS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setVersionGroupAccess(GroupAccess versionGroupAccess) { - this.versionGroupAccess = versionGroupAccess; - } - - - public Version versionBranchPointRef(KeyValue versionBranchPointRef) { - this.versionBranchPointRef = versionBranchPointRef; - return this; - } - - /** - * Get versionBranchPointRef - * @return versionBranchPointRef - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_VERSION_BRANCH_POINT_REF) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public KeyValue getVersionBranchPointRef() { - return versionBranchPointRef; - } - - - @JsonProperty(JSON_PROPERTY_VERSION_BRANCH_POINT_REF) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setVersionBranchPointRef(KeyValue versionBranchPointRef) { - this.versionBranchPointRef = versionBranchPointRef; - } - - - public Version versionBranchID(BigDecimal versionBranchID) { - this.versionBranchID = versionBranchID; - return this; - } - - /** - * Get versionBranchID - * @return versionBranchID - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_VERSION_BRANCH_I_D) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public BigDecimal getVersionBranchID() { - return versionBranchID; - } - - - @JsonProperty(JSON_PROPERTY_VERSION_BRANCH_I_D) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setVersionBranchID(BigDecimal versionBranchID) { - this.versionBranchID = versionBranchID; - } - - - public Version versionDate(LocalDate versionDate) { - this.versionDate = versionDate; - return this; - } - - /** - * Get versionDate - * @return versionDate - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_VERSION_DATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public LocalDate getVersionDate() { - return versionDate; - } - - - @JsonProperty(JSON_PROPERTY_VERSION_DATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setVersionDate(LocalDate versionDate) { - this.versionDate = versionDate; - } - - - public Version versionFlag(VersionFlag versionFlag) { - this.versionFlag = versionFlag; - return this; - } - - /** - * Get versionFlag - * @return versionFlag - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_VERSION_FLAG) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public VersionFlag getVersionFlag() { - return versionFlag; - } - - - @JsonProperty(JSON_PROPERTY_VERSION_FLAG) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setVersionFlag(VersionFlag versionFlag) { - this.versionFlag = versionFlag; - } - - - public Version versionAnnot(String versionAnnot) { - this.versionAnnot = versionAnnot; - return this; - } - - /** - * Get versionAnnot - * @return versionAnnot - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_VERSION_ANNOT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getVersionAnnot() { - return versionAnnot; - } - - - @JsonProperty(JSON_PROPERTY_VERSION_ANNOT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setVersionAnnot(String versionAnnot) { - this.versionAnnot = versionAnnot; - } - - - public Version annot(String annot) { - this.annot = annot; - return this; - } - - /** - * Get annot - * @return annot - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ANNOT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getAnnot() { - return annot; - } - - - @JsonProperty(JSON_PROPERTY_ANNOT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setAnnot(String annot) { - this.annot = annot; - } - - - public Version branchID(BigDecimal branchID) { - this.branchID = branchID; - return this; - } - - /** - * Get branchID - * @return branchID - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BRANCH_I_D) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public BigDecimal getBranchID() { - return branchID; - } - - - @JsonProperty(JSON_PROPERTY_BRANCH_I_D) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBranchID(BigDecimal branchID) { - this.branchID = branchID; - } - - - public Version branchPointRefKey(KeyValue branchPointRefKey) { - this.branchPointRefKey = branchPointRefKey; - return this; - } - - /** - * Get branchPointRefKey - * @return branchPointRefKey - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BRANCH_POINT_REF_KEY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public KeyValue getBranchPointRefKey() { - return branchPointRefKey; - } - - - @JsonProperty(JSON_PROPERTY_BRANCH_POINT_REF_KEY) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBranchPointRefKey(KeyValue branchPointRefKey) { - this.branchPointRefKey = branchPointRefKey; - } - - - public Version date(LocalDate date) { - this.date = date; - return this; - } - - /** - * Get date - * @return date - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public LocalDate getDate() { - return date; - } - - - @JsonProperty(JSON_PROPERTY_DATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setDate(LocalDate date) { - this.date = date; - } - - - public Version flag(VersionFlag flag) { - this.flag = flag; - return this; - } - - /** - * Get flag - * @return flag - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FLAG) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public VersionFlag getFlag() { - return flag; - } - - - @JsonProperty(JSON_PROPERTY_FLAG) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFlag(VersionFlag flag) { - this.flag = flag; - } - - - public Version groupAccess(GroupAccess groupAccess) { - this.groupAccess = groupAccess; - return this; - } - - /** - * Get groupAccess - * @return groupAccess - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_GROUP_ACCESS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public GroupAccess getGroupAccess() { - return groupAccess; - } - - - @JsonProperty(JSON_PROPERTY_GROUP_ACCESS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setGroupAccess(GroupAccess groupAccess) { - this.groupAccess = groupAccess; - } - - - public Version name(String name) { - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getName() { - return name; - } - - - @JsonProperty(JSON_PROPERTY_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setName(String name) { - this.name = name; - } - - - public Version owner(User owner) { - this.owner = owner; - return this; - } - - /** - * Get owner - * @return owner - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OWNER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public User getOwner() { - return owner; - } - - - @JsonProperty(JSON_PROPERTY_OWNER) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setOwner(User owner) { - this.owner = owner; - } - - - /** - * Return true if this Version object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Version version = (Version) o; - return Objects.equals(this.versionKey, version.versionKey) && - Objects.equals(this.versionName, version.versionName) && - Objects.equals(this.versionOwner, version.versionOwner) && - Objects.equals(this.versionGroupAccess, version.versionGroupAccess) && - Objects.equals(this.versionBranchPointRef, version.versionBranchPointRef) && - Objects.equals(this.versionBranchID, version.versionBranchID) && - Objects.equals(this.versionDate, version.versionDate) && - Objects.equals(this.versionFlag, version.versionFlag) && - Objects.equals(this.versionAnnot, version.versionAnnot) && - Objects.equals(this.annot, version.annot) && - Objects.equals(this.branchID, version.branchID) && - Objects.equals(this.branchPointRefKey, version.branchPointRefKey) && - Objects.equals(this.date, version.date) && - Objects.equals(this.flag, version.flag) && - Objects.equals(this.groupAccess, version.groupAccess) && - Objects.equals(this.name, version.name) && - Objects.equals(this.owner, version.owner); - } - - @Override - public int hashCode() { - return Objects.hash(versionKey, versionName, versionOwner, versionGroupAccess, versionBranchPointRef, versionBranchID, versionDate, versionFlag, versionAnnot, annot, branchID, branchPointRefKey, date, flag, groupAccess, name, owner); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Version {\n"); - sb.append(" versionKey: ").append(toIndentedString(versionKey)).append("\n"); - sb.append(" versionName: ").append(toIndentedString(versionName)).append("\n"); - sb.append(" versionOwner: ").append(toIndentedString(versionOwner)).append("\n"); - sb.append(" versionGroupAccess: ").append(toIndentedString(versionGroupAccess)).append("\n"); - sb.append(" versionBranchPointRef: ").append(toIndentedString(versionBranchPointRef)).append("\n"); - sb.append(" versionBranchID: ").append(toIndentedString(versionBranchID)).append("\n"); - sb.append(" versionDate: ").append(toIndentedString(versionDate)).append("\n"); - sb.append(" versionFlag: ").append(toIndentedString(versionFlag)).append("\n"); - sb.append(" versionAnnot: ").append(toIndentedString(versionAnnot)).append("\n"); - sb.append(" annot: ").append(toIndentedString(annot)).append("\n"); - sb.append(" branchID: ").append(toIndentedString(branchID)).append("\n"); - sb.append(" branchPointRefKey: ").append(toIndentedString(branchPointRefKey)).append("\n"); - sb.append(" date: ").append(toIndentedString(date)).append("\n"); - sb.append(" flag: ").append(toIndentedString(flag)).append("\n"); - sb.append(" groupAccess: ").append(toIndentedString(groupAccess)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" owner: ").append(toIndentedString(owner)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - /** - * Convert the instance into URL query string. - * - * @return URL query string - */ - public String toUrlQueryString() { - return toUrlQueryString(null); - } - - /** - * Convert the instance into URL query string. - * - * @param prefix prefix of the query string - * @return URL query string - */ - public String toUrlQueryString(String prefix) { - String suffix = ""; - String containerSuffix = ""; - String containerPrefix = ""; - if (prefix == null) { - // style=form, explode=true, e.g. /pet?name=cat&type=manx - prefix = ""; - } else { - // deepObject style e.g. /pet?id[name]=cat&id[type]=manx - prefix = prefix + "["; - suffix = "]"; - containerSuffix = "]"; - containerPrefix = "["; - } - - StringJoiner joiner = new StringJoiner("&"); - - // add `versionKey` to the URL query string - if (getVersionKey() != null) { - joiner.add(getVersionKey().toUrlQueryString(prefix + "versionKey" + suffix)); - } - - // add `versionName` to the URL query string - if (getVersionName() != null) { - joiner.add(String.format("%sversionName%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getVersionName()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `versionOwner` to the URL query string - if (getVersionOwner() != null) { - joiner.add(getVersionOwner().toUrlQueryString(prefix + "versionOwner" + suffix)); - } - - // add `versionGroupAccess` to the URL query string - if (getVersionGroupAccess() != null) { - joiner.add(getVersionGroupAccess().toUrlQueryString(prefix + "versionGroupAccess" + suffix)); - } - - // add `versionBranchPointRef` to the URL query string - if (getVersionBranchPointRef() != null) { - joiner.add(getVersionBranchPointRef().toUrlQueryString(prefix + "versionBranchPointRef" + suffix)); - } - - // add `versionBranchID` to the URL query string - if (getVersionBranchID() != null) { - joiner.add(String.format("%sversionBranchID%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getVersionBranchID()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `versionDate` to the URL query string - if (getVersionDate() != null) { - joiner.add(String.format("%sversionDate%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getVersionDate()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `versionFlag` to the URL query string - if (getVersionFlag() != null) { - joiner.add(getVersionFlag().toUrlQueryString(prefix + "versionFlag" + suffix)); - } - - // add `versionAnnot` to the URL query string - if (getVersionAnnot() != null) { - joiner.add(String.format("%sversionAnnot%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getVersionAnnot()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `annot` to the URL query string - if (getAnnot() != null) { - joiner.add(String.format("%sannot%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getAnnot()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `branchID` to the URL query string - if (getBranchID() != null) { - joiner.add(String.format("%sbranchID%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getBranchID()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `branchPointRefKey` to the URL query string - if (getBranchPointRefKey() != null) { - joiner.add(getBranchPointRefKey().toUrlQueryString(prefix + "branchPointRefKey" + suffix)); - } - - // add `date` to the URL query string - if (getDate() != null) { - joiner.add(String.format("%sdate%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getDate()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `flag` to the URL query string - if (getFlag() != null) { - joiner.add(getFlag().toUrlQueryString(prefix + "flag" + suffix)); - } - - // add `groupAccess` to the URL query string - if (getGroupAccess() != null) { - joiner.add(getGroupAccess().toUrlQueryString(prefix + "groupAccess" + suffix)); - } - - // add `name` to the URL query string - if (getName() != null) { - joiner.add(String.format("%sname%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getName()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `owner` to the URL query string - if (getOwner() != null) { - joiner.add(getOwner().toUrlQueryString(prefix + "owner" + suffix)); - } - - return joiner.toString(); - } -} - diff --git a/vcell-restclient/src/main/java/org/vcell/restclient/model/VersionFlag.java b/vcell-restclient/src/main/java/org/vcell/restclient/model/VersionFlag.java deleted file mode 100644 index e5653c87b9..0000000000 --- a/vcell-restclient/src/main/java/org/vcell/restclient/model/VersionFlag.java +++ /dev/null @@ -1,294 +0,0 @@ -/* - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.vcell.restclient.model; - -import java.net.URLEncoder; -import java.nio.charset.StandardCharsets; -import java.util.StringJoiner; -import java.util.Objects; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import java.util.Arrays; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * VersionFlag - */ -@JsonPropertyOrder({ - VersionFlag.JSON_PROPERTY_VERSION_FLAG, - VersionFlag.JSON_PROPERTY_INT_VALUE, - VersionFlag.JSON_PROPERTY_ARCHIVED, - VersionFlag.JSON_PROPERTY_CURRENT, - VersionFlag.JSON_PROPERTY_PUBLISHED -}) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class VersionFlag { - public static final String JSON_PROPERTY_VERSION_FLAG = "versionFlag"; - private Integer versionFlag; - - public static final String JSON_PROPERTY_INT_VALUE = "intValue"; - private Integer intValue; - - public static final String JSON_PROPERTY_ARCHIVED = "archived"; - private Boolean archived; - - public static final String JSON_PROPERTY_CURRENT = "current"; - private Boolean current; - - public static final String JSON_PROPERTY_PUBLISHED = "published"; - private Boolean published; - - public VersionFlag() { - } - - public VersionFlag versionFlag(Integer versionFlag) { - this.versionFlag = versionFlag; - return this; - } - - /** - * Get versionFlag - * @return versionFlag - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_VERSION_FLAG) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getVersionFlag() { - return versionFlag; - } - - - @JsonProperty(JSON_PROPERTY_VERSION_FLAG) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setVersionFlag(Integer versionFlag) { - this.versionFlag = versionFlag; - } - - - public VersionFlag intValue(Integer intValue) { - this.intValue = intValue; - return this; - } - - /** - * Get intValue - * @return intValue - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT_VALUE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getIntValue() { - return intValue; - } - - - @JsonProperty(JSON_PROPERTY_INT_VALUE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIntValue(Integer intValue) { - this.intValue = intValue; - } - - - public VersionFlag archived(Boolean archived) { - this.archived = archived; - return this; - } - - /** - * Get archived - * @return archived - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARCHIVED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getArchived() { - return archived; - } - - - @JsonProperty(JSON_PROPERTY_ARCHIVED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setArchived(Boolean archived) { - this.archived = archived; - } - - - public VersionFlag current(Boolean current) { - this.current = current; - return this; - } - - /** - * Get current - * @return current - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CURRENT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getCurrent() { - return current; - } - - - @JsonProperty(JSON_PROPERTY_CURRENT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCurrent(Boolean current) { - this.current = current; - } - - - public VersionFlag published(Boolean published) { - this.published = published; - return this; - } - - /** - * Get published - * @return published - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PUBLISHED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getPublished() { - return published; - } - - - @JsonProperty(JSON_PROPERTY_PUBLISHED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPublished(Boolean published) { - this.published = published; - } - - - /** - * Return true if this VersionFlag object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - VersionFlag versionFlag = (VersionFlag) o; - return Objects.equals(this.versionFlag, versionFlag.versionFlag) && - Objects.equals(this.intValue, versionFlag.intValue) && - Objects.equals(this.archived, versionFlag.archived) && - Objects.equals(this.current, versionFlag.current) && - Objects.equals(this.published, versionFlag.published); - } - - @Override - public int hashCode() { - return Objects.hash(versionFlag, intValue, archived, current, published); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class VersionFlag {\n"); - sb.append(" versionFlag: ").append(toIndentedString(versionFlag)).append("\n"); - sb.append(" intValue: ").append(toIndentedString(intValue)).append("\n"); - sb.append(" archived: ").append(toIndentedString(archived)).append("\n"); - sb.append(" current: ").append(toIndentedString(current)).append("\n"); - sb.append(" published: ").append(toIndentedString(published)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - /** - * Convert the instance into URL query string. - * - * @return URL query string - */ - public String toUrlQueryString() { - return toUrlQueryString(null); - } - - /** - * Convert the instance into URL query string. - * - * @param prefix prefix of the query string - * @return URL query string - */ - public String toUrlQueryString(String prefix) { - String suffix = ""; - String containerSuffix = ""; - String containerPrefix = ""; - if (prefix == null) { - // style=form, explode=true, e.g. /pet?name=cat&type=manx - prefix = ""; - } else { - // deepObject style e.g. /pet?id[name]=cat&id[type]=manx - prefix = prefix + "["; - suffix = "]"; - containerSuffix = "]"; - containerPrefix = "["; - } - - StringJoiner joiner = new StringJoiner("&"); - - // add `versionFlag` to the URL query string - if (getVersionFlag() != null) { - joiner.add(String.format("%sversionFlag%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getVersionFlag()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `intValue` to the URL query string - if (getIntValue() != null) { - joiner.add(String.format("%sintValue%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getIntValue()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `archived` to the URL query string - if (getArchived() != null) { - joiner.add(String.format("%sarchived%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getArchived()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `current` to the URL query string - if (getCurrent() != null) { - joiner.add(String.format("%scurrent%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getCurrent()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `published` to the URL query string - if (getPublished() != null) { - joiner.add(String.format("%spublished%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getPublished()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - return joiner.toString(); - } -} - diff --git a/vcell-restclient/src/main/java/org/vcell/restclient/model/VersionableType.java b/vcell-restclient/src/main/java/org/vcell/restclient/model/VersionableType.java deleted file mode 100644 index 076b8794b5..0000000000 --- a/vcell-restclient/src/main/java/org/vcell/restclient/model/VersionableType.java +++ /dev/null @@ -1,402 +0,0 @@ -/* - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.vcell.restclient.model; - -import java.net.URLEncoder; -import java.nio.charset.StandardCharsets; -import java.util.StringJoiner; -import java.util.Objects; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import java.util.Arrays; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * VersionableType - */ -@JsonPropertyOrder({ - VersionableType.JSON_PROPERTY_V_TYPE, - VersionableType.JSON_PROPERTY_NAME, - VersionableType.JSON_PROPERTY_V_CLASS, - VersionableType.JSON_PROPERTY_B_TOP_LEVEL, - VersionableType.JSON_PROPERTY_CODE, - VersionableType.JSON_PROPERTY_IS_TOP_LEVEL, - VersionableType.JSON_PROPERTY_TYPE_NAME, - VersionableType.JSON_PROPERTY_VERSION_CLASS -}) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class VersionableType { - public static final String JSON_PROPERTY_V_TYPE = "vType"; - private Integer vType; - - public static final String JSON_PROPERTY_NAME = "name"; - private String name; - - public static final String JSON_PROPERTY_V_CLASS = "vClass"; - private Object vClass; - - public static final String JSON_PROPERTY_B_TOP_LEVEL = "bTopLevel"; - private Boolean bTopLevel; - - public static final String JSON_PROPERTY_CODE = "code"; - private Integer code; - - public static final String JSON_PROPERTY_IS_TOP_LEVEL = "isTopLevel"; - private Boolean isTopLevel; - - public static final String JSON_PROPERTY_TYPE_NAME = "typeName"; - private String typeName; - - public static final String JSON_PROPERTY_VERSION_CLASS = "versionClass"; - private Object versionClass; - - public VersionableType() { - } - - public VersionableType vType(Integer vType) { - this.vType = vType; - return this; - } - - /** - * Get vType - * @return vType - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_V_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getvType() { - return vType; - } - - - @JsonProperty(JSON_PROPERTY_V_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setvType(Integer vType) { - this.vType = vType; - } - - - public VersionableType name(String name) { - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getName() { - return name; - } - - - @JsonProperty(JSON_PROPERTY_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setName(String name) { - this.name = name; - } - - - public VersionableType vClass(Object vClass) { - this.vClass = vClass; - return this; - } - - /** - * Get vClass - * @return vClass - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_V_CLASS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Object getvClass() { - return vClass; - } - - - @JsonProperty(JSON_PROPERTY_V_CLASS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setvClass(Object vClass) { - this.vClass = vClass; - } - - - public VersionableType bTopLevel(Boolean bTopLevel) { - this.bTopLevel = bTopLevel; - return this; - } - - /** - * Get bTopLevel - * @return bTopLevel - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_B_TOP_LEVEL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getbTopLevel() { - return bTopLevel; - } - - - @JsonProperty(JSON_PROPERTY_B_TOP_LEVEL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setbTopLevel(Boolean bTopLevel) { - this.bTopLevel = bTopLevel; - } - - - public VersionableType code(Integer code) { - this.code = code; - return this; - } - - /** - * Get code - * @return code - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CODE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Integer getCode() { - return code; - } - - - @JsonProperty(JSON_PROPERTY_CODE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCode(Integer code) { - this.code = code; - } - - - public VersionableType isTopLevel(Boolean isTopLevel) { - this.isTopLevel = isTopLevel; - return this; - } - - /** - * Get isTopLevel - * @return isTopLevel - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_IS_TOP_LEVEL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Boolean getIsTopLevel() { - return isTopLevel; - } - - - @JsonProperty(JSON_PROPERTY_IS_TOP_LEVEL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsTopLevel(Boolean isTopLevel) { - this.isTopLevel = isTopLevel; - } - - - public VersionableType typeName(String typeName) { - this.typeName = typeName; - return this; - } - - /** - * Get typeName - * @return typeName - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getTypeName() { - return typeName; - } - - - @JsonProperty(JSON_PROPERTY_TYPE_NAME) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTypeName(String typeName) { - this.typeName = typeName; - } - - - public VersionableType versionClass(Object versionClass) { - this.versionClass = versionClass; - return this; - } - - /** - * Get versionClass - * @return versionClass - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_VERSION_CLASS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Object getVersionClass() { - return versionClass; - } - - - @JsonProperty(JSON_PROPERTY_VERSION_CLASS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setVersionClass(Object versionClass) { - this.versionClass = versionClass; - } - - - /** - * Return true if this VersionableType object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - VersionableType versionableType = (VersionableType) o; - return Objects.equals(this.vType, versionableType.vType) && - Objects.equals(this.name, versionableType.name) && - Objects.equals(this.vClass, versionableType.vClass) && - Objects.equals(this.bTopLevel, versionableType.bTopLevel) && - Objects.equals(this.code, versionableType.code) && - Objects.equals(this.isTopLevel, versionableType.isTopLevel) && - Objects.equals(this.typeName, versionableType.typeName) && - Objects.equals(this.versionClass, versionableType.versionClass); - } - - @Override - public int hashCode() { - return Objects.hash(vType, name, vClass, bTopLevel, code, isTopLevel, typeName, versionClass); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class VersionableType {\n"); - sb.append(" vType: ").append(toIndentedString(vType)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" vClass: ").append(toIndentedString(vClass)).append("\n"); - sb.append(" bTopLevel: ").append(toIndentedString(bTopLevel)).append("\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" isTopLevel: ").append(toIndentedString(isTopLevel)).append("\n"); - sb.append(" typeName: ").append(toIndentedString(typeName)).append("\n"); - sb.append(" versionClass: ").append(toIndentedString(versionClass)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - /** - * Convert the instance into URL query string. - * - * @return URL query string - */ - public String toUrlQueryString() { - return toUrlQueryString(null); - } - - /** - * Convert the instance into URL query string. - * - * @param prefix prefix of the query string - * @return URL query string - */ - public String toUrlQueryString(String prefix) { - String suffix = ""; - String containerSuffix = ""; - String containerPrefix = ""; - if (prefix == null) { - // style=form, explode=true, e.g. /pet?name=cat&type=manx - prefix = ""; - } else { - // deepObject style e.g. /pet?id[name]=cat&id[type]=manx - prefix = prefix + "["; - suffix = "]"; - containerSuffix = "]"; - containerPrefix = "["; - } - - StringJoiner joiner = new StringJoiner("&"); - - // add `vType` to the URL query string - if (getvType() != null) { - joiner.add(String.format("%svType%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getvType()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `name` to the URL query string - if (getName() != null) { - joiner.add(String.format("%sname%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getName()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `vClass` to the URL query string - if (getvClass() != null) { - joiner.add(String.format("%svClass%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getvClass()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `bTopLevel` to the URL query string - if (getbTopLevel() != null) { - joiner.add(String.format("%sbTopLevel%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getbTopLevel()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `code` to the URL query string - if (getCode() != null) { - joiner.add(String.format("%scode%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getCode()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `isTopLevel` to the URL query string - if (getIsTopLevel() != null) { - joiner.add(String.format("%sisTopLevel%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getIsTopLevel()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `typeName` to the URL query string - if (getTypeName() != null) { - joiner.add(String.format("%stypeName%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getTypeName()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - // add `versionClass` to the URL query string - if (getVersionClass() != null) { - joiner.add(String.format("%sversionClass%s=%s", prefix, suffix, URLEncoder.encode(String.valueOf(getVersionClass()), StandardCharsets.UTF_8).replaceAll("\\+", "%20"))); - } - - return joiner.toString(); - } -} - diff --git a/vcell-restclient/src/main/java/org/vcell/restclient/model/VersionableTypeVersion.java b/vcell-restclient/src/main/java/org/vcell/restclient/model/VersionableTypeVersion.java deleted file mode 100644 index 1b2ddc921b..0000000000 --- a/vcell-restclient/src/main/java/org/vcell/restclient/model/VersionableTypeVersion.java +++ /dev/null @@ -1,188 +0,0 @@ -/* - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.vcell.restclient.model; - -import java.net.URLEncoder; -import java.nio.charset.StandardCharsets; -import java.util.StringJoiner; -import java.util.Objects; -import java.util.Map; -import java.util.HashMap; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import java.util.Arrays; -import org.vcell.restclient.model.Version; -import org.vcell.restclient.model.VersionableType; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; - - -/** - * VersionableTypeVersion - */ -@JsonPropertyOrder({ - VersionableTypeVersion.JSON_PROPERTY_V_TYPE, - VersionableTypeVersion.JSON_PROPERTY_VERSION -}) -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class VersionableTypeVersion { - public static final String JSON_PROPERTY_V_TYPE = "vType"; - private VersionableType vType; - - public static final String JSON_PROPERTY_VERSION = "version"; - private Version version; - - public VersionableTypeVersion() { - } - - public VersionableTypeVersion vType(VersionableType vType) { - this.vType = vType; - return this; - } - - /** - * Get vType - * @return vType - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_V_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public VersionableType getvType() { - return vType; - } - - - @JsonProperty(JSON_PROPERTY_V_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setvType(VersionableType vType) { - this.vType = vType; - } - - - public VersionableTypeVersion version(Version version) { - this.version = version; - return this; - } - - /** - * Get version - * @return version - **/ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_VERSION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public Version getVersion() { - return version; - } - - - @JsonProperty(JSON_PROPERTY_VERSION) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setVersion(Version version) { - this.version = version; - } - - - /** - * Return true if this VersionableTypeVersion object is equal to o. - */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - VersionableTypeVersion versionableTypeVersion = (VersionableTypeVersion) o; - return Objects.equals(this.vType, versionableTypeVersion.vType) && - Objects.equals(this.version, versionableTypeVersion.version); - } - - @Override - public int hashCode() { - return Objects.hash(vType, version); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class VersionableTypeVersion {\n"); - sb.append(" vType: ").append(toIndentedString(vType)).append("\n"); - sb.append(" version: ").append(toIndentedString(version)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - /** - * Convert the instance into URL query string. - * - * @return URL query string - */ - public String toUrlQueryString() { - return toUrlQueryString(null); - } - - /** - * Convert the instance into URL query string. - * - * @param prefix prefix of the query string - * @return URL query string - */ - public String toUrlQueryString(String prefix) { - String suffix = ""; - String containerSuffix = ""; - String containerPrefix = ""; - if (prefix == null) { - // style=form, explode=true, e.g. /pet?name=cat&type=manx - prefix = ""; - } else { - // deepObject style e.g. /pet?id[name]=cat&id[type]=manx - prefix = prefix + "["; - suffix = "]"; - containerSuffix = "]"; - containerPrefix = "["; - } - - StringJoiner joiner = new StringJoiner("&"); - - // add `vType` to the URL query string - if (getvType() != null) { - joiner.add(getvType().toUrlQueryString(prefix + "vType" + suffix)); - } - - // add `version` to the URL query string - if (getVersion() != null) { - joiner.add(getVersion().toUrlQueryString(prefix + "version" + suffix)); - } - - return joiner.toString(); - } -} - diff --git a/vcell-restclient/src/test/java/org/vcell/restclient/model/CartesianMeshTest.java b/vcell-restclient/src/test/java/org/vcell/restclient/model/CartesianMeshTest.java deleted file mode 100644 index bfea5c3459..0000000000 --- a/vcell-restclient/src/test/java/org/vcell/restclient/model/CartesianMeshTest.java +++ /dev/null @@ -1,175 +0,0 @@ -/* - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.vcell.restclient.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import java.io.File; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import org.vcell.restclient.model.ISize; -import org.vcell.restclient.model.UCDInfo; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - -/** - * Model tests for CartesianMesh - */ -public class CartesianMeshTest { - private final CartesianMesh model = new CartesianMesh(); - - /** - * Model tests for CartesianMesh - */ - @Test - public void testCartesianMesh() { - // TODO: test CartesianMesh - } - - /** - * Test the property 'compressedBytes' - */ - @Test - public void compressedBytesTest() { - // TODO: test compressedBytes - } - - /** - * Test the property 'uCDInfo' - */ - @Test - public void uCDInfoTest() { - // TODO: test uCDInfo - } - - /** - * Test the property 'geometryDimension' - */ - @Test - public void geometryDimensionTest() { - // TODO: test geometryDimension - } - - /** - * Test the property 'volumeRegionMapSubvolume' - */ - @Test - public void volumeRegionMapSubvolumeTest() { - // TODO: test volumeRegionMapSubvolume - } - - /** - * Test the property 'membraneRegionMapSubvolumesInOut' - */ - @Test - public void membraneRegionMapSubvolumesInOutTest() { - // TODO: test membraneRegionMapSubvolumesInOut - } - - /** - * Test the property 'numMembraneElements' - */ - @Test - public void numMembraneElementsTest() { - // TODO: test numMembraneElements - } - - /** - * Test the property 'numMembraneRegions' - */ - @Test - public void numMembraneRegionsTest() { - // TODO: test numMembraneRegions - } - - /** - * Test the property 'numVolumeElements' - */ - @Test - public void numVolumeElementsTest() { - // TODO: test numVolumeElements - } - - /** - * Test the property 'numVolumeRegions' - */ - @Test - public void numVolumeRegionsTest() { - // TODO: test numVolumeRegions - } - - /** - * Test the property 'iSize' - */ - @Test - public void iSizeTest() { - // TODO: test iSize - } - - /** - * Test the property 'sizeX' - */ - @Test - public void sizeXTest() { - // TODO: test sizeX - } - - /** - * Test the property 'sizeY' - */ - @Test - public void sizeYTest() { - // TODO: test sizeY - } - - /** - * Test the property 'sizeZ' - */ - @Test - public void sizeZTest() { - // TODO: test sizeZ - } - - /** - * Test the property 'membraneConnectivityOK' - */ - @Test - public void membraneConnectivityOKTest() { - // TODO: test membraneConnectivityOK - } - - /** - * Test the property 'outputFields' - */ - @Test - public void outputFieldsTest() { - // TODO: test outputFields - } - - /** - * Test the property 'chomboMesh' - */ - @Test - public void chomboMeshTest() { - // TODO: test chomboMesh - } - -} diff --git a/vcell-restclient/src/test/java/org/vcell/restclient/model/CoordinateTest.java b/vcell-restclient/src/test/java/org/vcell/restclient/model/CoordinateTest.java deleted file mode 100644 index 6bb06a0f4d..0000000000 --- a/vcell-restclient/src/test/java/org/vcell/restclient/model/CoordinateTest.java +++ /dev/null @@ -1,64 +0,0 @@ -/* - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.vcell.restclient.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import java.util.Arrays; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - -/** - * Model tests for Coordinate - */ -public class CoordinateTest { - private final Coordinate model = new Coordinate(); - - /** - * Model tests for Coordinate - */ - @Test - public void testCoordinate() { - // TODO: test Coordinate - } - - /** - * Test the property 'x' - */ - @Test - public void xTest() { - // TODO: test x - } - - /** - * Test the property 'y' - */ - @Test - public void yTest() { - // TODO: test y - } - - /** - * Test the property 'z' - */ - @Test - public void zTest() { - // TODO: test z - } - -} diff --git a/vcell-restclient/src/test/java/org/vcell/restclient/model/ExternalDataIdentifierTest.java b/vcell-restclient/src/test/java/org/vcell/restclient/model/ExternalDataIdentifierTest.java index f949abeb0a..6a85760852 100644 --- a/vcell-restclient/src/test/java/org/vcell/restclient/model/ExternalDataIdentifierTest.java +++ b/vcell-restclient/src/test/java/org/vcell/restclient/model/ExternalDataIdentifierTest.java @@ -63,14 +63,6 @@ public void nameTest() { // TODO: test name } - /** - * Test the property 'iD' - */ - @Test - public void iDTest() { - // TODO: test iD - } - /** * Test the property 'jobIndex' */ diff --git a/vcell-restclient/src/test/java/org/vcell/restclient/model/FieldDataDBOperationSpecTest.java b/vcell-restclient/src/test/java/org/vcell/restclient/model/FieldDataDBOperationSpecTest.java deleted file mode 100644 index 9372bce46b..0000000000 --- a/vcell-restclient/src/test/java/org/vcell/restclient/model/FieldDataDBOperationSpecTest.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.vcell.restclient.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import org.vcell.restclient.model.ExternalDataIdentifier; -import org.vcell.restclient.model.User; -import org.vcell.restclient.model.VersionableTypeVersion; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - -/** - * Model tests for FieldDataDBOperationSpec - */ -public class FieldDataDBOperationSpecTest { - private final FieldDataDBOperationSpec model = new FieldDataDBOperationSpec(); - - /** - * Model tests for FieldDataDBOperationSpec - */ - @Test - public void testFieldDataDBOperationSpec() { - // TODO: test FieldDataDBOperationSpec - } - - /** - * Test the property 'opType' - */ - @Test - public void opTypeTest() { - // TODO: test opType - } - - /** - * Test the property 'specEDI' - */ - @Test - public void specEDITest() { - // TODO: test specEDI - } - - /** - * Test the property 'owner' - */ - @Test - public void ownerTest() { - // TODO: test owner - } - - /** - * Test the property 'newExtDataIDName' - */ - @Test - public void newExtDataIDNameTest() { - // TODO: test newExtDataIDName - } - - /** - * Test the property 'annotation' - */ - @Test - public void annotationTest() { - // TODO: test annotation - } - - /** - * Test the property 'sourceNames' - */ - @Test - public void sourceNamesTest() { - // TODO: test sourceNames - } - - /** - * Test the property 'sourceOwner' - */ - @Test - public void sourceOwnerTest() { - // TODO: test sourceOwner - } - - /** - * Test the property 'bIncludeSimRefs' - */ - @Test - public void bIncludeSimRefsTest() { - // TODO: test bIncludeSimRefs - } - -} diff --git a/vcell-restclient/src/test/java/org/vcell/restclient/model/FieldDataExternalDataIDsTest.java b/vcell-restclient/src/test/java/org/vcell/restclient/model/FieldDataExternalDataIDsTest.java deleted file mode 100644 index 8668e9b408..0000000000 --- a/vcell-restclient/src/test/java/org/vcell/restclient/model/FieldDataExternalDataIDsTest.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.vcell.restclient.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import org.vcell.restclient.model.ExternalDataIdentifier; -import org.vcell.restclient.model.KeyValue; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - -/** - * Model tests for FieldDataExternalDataIDs - */ -public class FieldDataExternalDataIDsTest { - private final FieldDataExternalDataIDs model = new FieldDataExternalDataIDs(); - - /** - * Model tests for FieldDataExternalDataIDs - */ - @Test - public void testFieldDataExternalDataIDs() { - // TODO: test FieldDataExternalDataIDs - } - - /** - * Test the property 'externalDataIdentifiers' - */ - @Test - public void externalDataIdentifiersTest() { - // TODO: test externalDataIdentifiers - } - - /** - * Test the property 'externalDataAnnotations' - */ - @Test - public void externalDataAnnotationsTest() { - // TODO: test externalDataAnnotations - } - - /** - * Test the property 'externalDataIDSimRefs' - */ - @Test - public void externalDataIDSimRefsTest() { - // TODO: test externalDataIDSimRefs - } - -} diff --git a/vcell-restclient/src/test/java/org/vcell/restclient/model/FieldDataFileOperationSpecTest.java b/vcell-restclient/src/test/java/org/vcell/restclient/model/FieldDataFileOperationSpecTest.java deleted file mode 100644 index b1311fdcaf..0000000000 --- a/vcell-restclient/src/test/java/org/vcell/restclient/model/FieldDataFileOperationSpecTest.java +++ /dev/null @@ -1,186 +0,0 @@ -/* - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.vcell.restclient.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import org.vcell.restclient.model.CartesianMesh; -import org.vcell.restclient.model.Extent; -import org.vcell.restclient.model.ExternalDataIdentifier; -import org.vcell.restclient.model.ISize; -import org.vcell.restclient.model.KeyValue; -import org.vcell.restclient.model.Origin; -import org.vcell.restclient.model.User; -import org.vcell.restclient.model.VariableType; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - -/** - * Model tests for FieldDataFileOperationSpec - */ -public class FieldDataFileOperationSpecTest { - private final FieldDataFileOperationSpec model = new FieldDataFileOperationSpec(); - - /** - * Model tests for FieldDataFileOperationSpec - */ - @Test - public void testFieldDataFileOperationSpec() { - // TODO: test FieldDataFileOperationSpec - } - - /** - * Test the property 'opType' - */ - @Test - public void opTypeTest() { - // TODO: test opType - } - - /** - * Test the property 'shortSpecData' - */ - @Test - public void shortSpecDataTest() { - // TODO: test shortSpecData - } - - /** - * Test the property 'doubleSpecData' - */ - @Test - public void doubleSpecDataTest() { - // TODO: test doubleSpecData - } - - /** - * Test the property 'cartesianMesh' - */ - @Test - public void cartesianMeshTest() { - // TODO: test cartesianMesh - } - - /** - * Test the property 'specEDI' - */ - @Test - public void specEDITest() { - // TODO: test specEDI - } - - /** - * Test the property 'varNames' - */ - @Test - public void varNamesTest() { - // TODO: test varNames - } - - /** - * Test the property 'variableTypes' - */ - @Test - public void variableTypesTest() { - // TODO: test variableTypes - } - - /** - * Test the property 'times' - */ - @Test - public void timesTest() { - // TODO: test times - } - - /** - * Test the property 'owner' - */ - @Test - public void ownerTest() { - // TODO: test owner - } - - /** - * Test the property 'origin' - */ - @Test - public void originTest() { - // TODO: test origin - } - - /** - * Test the property 'extent' - */ - @Test - public void extentTest() { - // TODO: test extent - } - - /** - * Test the property 'isize' - */ - @Test - public void isizeTest() { - // TODO: test isize - } - - /** - * Test the property 'annotation' - */ - @Test - public void annotationTest() { - // TODO: test annotation - } - - /** - * Test the property 'sourceSimParamScanJobIndex' - */ - @Test - public void sourceSimParamScanJobIndexTest() { - // TODO: test sourceSimParamScanJobIndex - } - - /** - * Test the property 'sourceSimDataKey' - */ - @Test - public void sourceSimDataKeyTest() { - // TODO: test sourceSimDataKey - } - - /** - * Test the property 'sourceOwner' - */ - @Test - public void sourceOwnerTest() { - // TODO: test sourceOwner - } - - /** - * Test the property 'fieldDataName' - */ - @Test - public void fieldDataNameTest() { - // TODO: test fieldDataName - } - -} diff --git a/vcell-restclient/src/test/java/org/vcell/restclient/model/FieldDataInfoTest.java b/vcell-restclient/src/test/java/org/vcell/restclient/model/FieldDataInfoTest.java deleted file mode 100644 index 9b861abde9..0000000000 --- a/vcell-restclient/src/test/java/org/vcell/restclient/model/FieldDataInfoTest.java +++ /dev/null @@ -1,77 +0,0 @@ -/* - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.vcell.restclient.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import org.vcell.restclient.model.Extent; -import org.vcell.restclient.model.ISize; -import org.vcell.restclient.model.Origin; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - -/** - * Model tests for FieldDataInfo - */ -public class FieldDataInfoTest { - private final FieldDataInfo model = new FieldDataInfo(); - - /** - * Model tests for FieldDataInfo - */ - @Test - public void testFieldDataInfo() { - // TODO: test FieldDataInfo - } - - /** - * Test the property 'extent' - */ - @Test - public void extentTest() { - // TODO: test extent - } - - /** - * Test the property 'origin' - */ - @Test - public void originTest() { - // TODO: test origin - } - - /** - * Test the property 'isize' - */ - @Test - public void isizeTest() { - // TODO: test isize - } - - /** - * Test the property 'times' - */ - @Test - public void timesTest() { - // TODO: test times - } - -} diff --git a/vcell-restclient/src/test/java/org/vcell/restclient/model/FieldDataNoCopyConflictTest.java b/vcell-restclient/src/test/java/org/vcell/restclient/model/FieldDataNoCopyConflictTest.java deleted file mode 100644 index 3e095e7881..0000000000 --- a/vcell-restclient/src/test/java/org/vcell/restclient/model/FieldDataNoCopyConflictTest.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.vcell.restclient.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import java.util.Arrays; -import java.util.HashMap; -import java.util.Map; -import org.vcell.restclient.model.ExternalDataIdentifier; -import org.vcell.restclient.model.KeyValue; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - -/** - * Model tests for FieldDataNoCopyConflict - */ -public class FieldDataNoCopyConflictTest { - private final FieldDataNoCopyConflict model = new FieldDataNoCopyConflict(); - - /** - * Model tests for FieldDataNoCopyConflict - */ - @Test - public void testFieldDataNoCopyConflict() { - // TODO: test FieldDataNoCopyConflict - } - - /** - * Test the property 'oldNameNewIDHash' - */ - @Test - public void oldNameNewIDHashTest() { - // TODO: test oldNameNewIDHash - } - - /** - * Test the property 'oldNameOldExtDataIDKeyHash' - */ - @Test - public void oldNameOldExtDataIDKeyHashTest() { - // TODO: test oldNameOldExtDataIDKeyHash - } - -} diff --git a/vcell-restclient/src/test/java/org/vcell/restclient/model/FieldDataReferencesTest.java b/vcell-restclient/src/test/java/org/vcell/restclient/model/FieldDataReferencesTest.java deleted file mode 100644 index 8468e879f5..0000000000 --- a/vcell-restclient/src/test/java/org/vcell/restclient/model/FieldDataReferencesTest.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.vcell.restclient.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import org.vcell.restclient.model.ExternalDataIdentifier; -import org.vcell.restclient.model.KeyValue; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - -/** - * Model tests for FieldDataReferences - */ -public class FieldDataReferencesTest { - private final FieldDataReferences model = new FieldDataReferences(); - - /** - * Model tests for FieldDataReferences - */ - @Test - public void testFieldDataReferences() { - // TODO: test FieldDataReferences - } - - /** - * Test the property 'externalDataIdentifiers' - */ - @Test - public void externalDataIdentifiersTest() { - // TODO: test externalDataIdentifiers - } - - /** - * Test the property 'externalDataAnnotations' - */ - @Test - public void externalDataAnnotationsTest() { - // TODO: test externalDataAnnotations - } - - /** - * Test the property 'externalDataIDSimRefs' - */ - @Test - public void externalDataIDSimRefsTest() { - // TODO: test externalDataIDSimRefs - } - -} diff --git a/vcell-restclient/src/test/java/org/vcell/restclient/model/GroupAccessTest.java b/vcell-restclient/src/test/java/org/vcell/restclient/model/GroupAccessTest.java deleted file mode 100644 index 48e86d6d02..0000000000 --- a/vcell-restclient/src/test/java/org/vcell/restclient/model/GroupAccessTest.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.vcell.restclient.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import java.math.BigDecimal; -import java.util.Arrays; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - -/** - * Model tests for GroupAccess - */ -public class GroupAccessTest { - private final GroupAccess model = new GroupAccess(); - - /** - * Model tests for GroupAccess - */ - @Test - public void testGroupAccess() { - // TODO: test GroupAccess - } - - /** - * Test the property 'groupid' - */ - @Test - public void groupidTest() { - // TODO: test groupid - } - - /** - * Test the property 'description' - */ - @Test - public void descriptionTest() { - // TODO: test description - } - -} diff --git a/vcell-restclient/src/test/java/org/vcell/restclient/model/ISizeTest.java b/vcell-restclient/src/test/java/org/vcell/restclient/model/ISizeTest.java index a9360e052c..fada1b7bb9 100644 --- a/vcell-restclient/src/test/java/org/vcell/restclient/model/ISizeTest.java +++ b/vcell-restclient/src/test/java/org/vcell/restclient/model/ISizeTest.java @@ -61,12 +61,4 @@ public void zTest() { // TODO: test z } - /** - * Test the property 'xYZ' - */ - @Test - public void xYZTest() { - // TODO: test xYZ - } - } diff --git a/vcell-restclient/src/test/java/org/vcell/restclient/model/UCDInfoTest.java b/vcell-restclient/src/test/java/org/vcell/restclient/model/UCDInfoTest.java deleted file mode 100644 index 28ee478e4a..0000000000 --- a/vcell-restclient/src/test/java/org/vcell/restclient/model/UCDInfoTest.java +++ /dev/null @@ -1,139 +0,0 @@ -/* - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.vcell.restclient.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import org.vcell.restclient.model.Coordinate; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - -/** - * Model tests for UCDInfo - */ -public class UCDInfoTest { - private final UCDInfo model = new UCDInfo(); - - /** - * Model tests for UCDInfo - */ - @Test - public void testUCDInfo() { - // TODO: test UCDInfo - } - - /** - * Test the property 'ucdGridNodes' - */ - @Test - public void ucdGridNodesTest() { - // TODO: test ucdGridNodes - } - - /** - * Test the property 'ucdMembraneQuads' - */ - @Test - public void ucdMembraneQuadsTest() { - // TODO: test ucdMembraneQuads - } - - /** - * Test the property 'reducedUCDGridNodesV' - */ - @Test - public void reducedUCDGridNodesVTest() { - // TODO: test reducedUCDGridNodesV - } - - /** - * Test the property 'uCDGridNodes' - */ - @Test - public void uCDGridNodesTest() { - // TODO: test uCDGridNodes - } - - /** - * Test the property 'uCDMembraneQuads' - */ - @Test - public void uCDMembraneQuadsTest() { - // TODO: test uCDMembraneQuads - } - - /** - * Test the property 'numVolumeNodesX' - */ - @Test - public void numVolumeNodesXTest() { - // TODO: test numVolumeNodesX - } - - /** - * Test the property 'numVolumeNodesY' - */ - @Test - public void numVolumeNodesYTest() { - // TODO: test numVolumeNodesY - } - - /** - * Test the property 'numVolumeNodesZ' - */ - @Test - public void numVolumeNodesZTest() { - // TODO: test numVolumeNodesZ - } - - /** - * Test the property 'numPointsXYZ' - */ - @Test - public void numPointsXYZTest() { - // TODO: test numPointsXYZ - } - - /** - * Test the property 'numVolumeNodesXY' - */ - @Test - public void numVolumeNodesXYTest() { - // TODO: test numVolumeNodesXY - } - - /** - * Test the property 'numVolumeCells' - */ - @Test - public void numVolumeCellsTest() { - // TODO: test numVolumeCells - } - - /** - * Test the property 'numMembraneCells' - */ - @Test - public void numMembraneCellsTest() { - // TODO: test numMembraneCells - } - -} diff --git a/vcell-restclient/src/test/java/org/vcell/restclient/model/UserTest.java b/vcell-restclient/src/test/java/org/vcell/restclient/model/UserTest.java index 6d92662ce2..f8475aeef1 100644 --- a/vcell-restclient/src/test/java/org/vcell/restclient/model/UserTest.java +++ b/vcell-restclient/src/test/java/org/vcell/restclient/model/UserTest.java @@ -54,14 +54,6 @@ public void keyTest() { // TODO: test key } - /** - * Test the property 'iD' - */ - @Test - public void iDTest() { - // TODO: test iD - } - /** * Test the property 'name' */ diff --git a/vcell-restclient/src/test/java/org/vcell/restclient/model/VersionFlagTest.java b/vcell-restclient/src/test/java/org/vcell/restclient/model/VersionFlagTest.java deleted file mode 100644 index c75b3a179e..0000000000 --- a/vcell-restclient/src/test/java/org/vcell/restclient/model/VersionFlagTest.java +++ /dev/null @@ -1,80 +0,0 @@ -/* - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.vcell.restclient.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import java.util.Arrays; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - -/** - * Model tests for VersionFlag - */ -public class VersionFlagTest { - private final VersionFlag model = new VersionFlag(); - - /** - * Model tests for VersionFlag - */ - @Test - public void testVersionFlag() { - // TODO: test VersionFlag - } - - /** - * Test the property 'versionFlag' - */ - @Test - public void versionFlagTest() { - // TODO: test versionFlag - } - - /** - * Test the property 'intValue' - */ - @Test - public void intValueTest() { - // TODO: test intValue - } - - /** - * Test the property 'archived' - */ - @Test - public void archivedTest() { - // TODO: test archived - } - - /** - * Test the property 'current' - */ - @Test - public void currentTest() { - // TODO: test current - } - - /** - * Test the property 'published' - */ - @Test - public void publishedTest() { - // TODO: test published - } - -} diff --git a/vcell-restclient/src/test/java/org/vcell/restclient/model/VersionTest.java b/vcell-restclient/src/test/java/org/vcell/restclient/model/VersionTest.java deleted file mode 100644 index bc83dcdd39..0000000000 --- a/vcell-restclient/src/test/java/org/vcell/restclient/model/VersionTest.java +++ /dev/null @@ -1,182 +0,0 @@ -/* - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.vcell.restclient.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import java.math.BigDecimal; -import java.time.LocalDate; -import java.util.Arrays; -import org.vcell.restclient.model.GroupAccess; -import org.vcell.restclient.model.KeyValue; -import org.vcell.restclient.model.User; -import org.vcell.restclient.model.VersionFlag; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - -/** - * Model tests for Version - */ -public class VersionTest { - private final Version model = new Version(); - - /** - * Model tests for Version - */ - @Test - public void testVersion() { - // TODO: test Version - } - - /** - * Test the property 'versionKey' - */ - @Test - public void versionKeyTest() { - // TODO: test versionKey - } - - /** - * Test the property 'versionName' - */ - @Test - public void versionNameTest() { - // TODO: test versionName - } - - /** - * Test the property 'versionOwner' - */ - @Test - public void versionOwnerTest() { - // TODO: test versionOwner - } - - /** - * Test the property 'versionGroupAccess' - */ - @Test - public void versionGroupAccessTest() { - // TODO: test versionGroupAccess - } - - /** - * Test the property 'versionBranchPointRef' - */ - @Test - public void versionBranchPointRefTest() { - // TODO: test versionBranchPointRef - } - - /** - * Test the property 'versionBranchID' - */ - @Test - public void versionBranchIDTest() { - // TODO: test versionBranchID - } - - /** - * Test the property 'versionDate' - */ - @Test - public void versionDateTest() { - // TODO: test versionDate - } - - /** - * Test the property 'versionFlag' - */ - @Test - public void versionFlagTest() { - // TODO: test versionFlag - } - - /** - * Test the property 'versionAnnot' - */ - @Test - public void versionAnnotTest() { - // TODO: test versionAnnot - } - - /** - * Test the property 'annot' - */ - @Test - public void annotTest() { - // TODO: test annot - } - - /** - * Test the property 'branchID' - */ - @Test - public void branchIDTest() { - // TODO: test branchID - } - - /** - * Test the property 'branchPointRefKey' - */ - @Test - public void branchPointRefKeyTest() { - // TODO: test branchPointRefKey - } - - /** - * Test the property 'date' - */ - @Test - public void dateTest() { - // TODO: test date - } - - /** - * Test the property 'flag' - */ - @Test - public void flagTest() { - // TODO: test flag - } - - /** - * Test the property 'groupAccess' - */ - @Test - public void groupAccessTest() { - // TODO: test groupAccess - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - - /** - * Test the property 'owner' - */ - @Test - public void ownerTest() { - // TODO: test owner - } - -} diff --git a/vcell-restclient/src/test/java/org/vcell/restclient/model/VersionableTypeTest.java b/vcell-restclient/src/test/java/org/vcell/restclient/model/VersionableTypeTest.java deleted file mode 100644 index 733af955ef..0000000000 --- a/vcell-restclient/src/test/java/org/vcell/restclient/model/VersionableTypeTest.java +++ /dev/null @@ -1,104 +0,0 @@ -/* - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.vcell.restclient.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import java.util.Arrays; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - -/** - * Model tests for VersionableType - */ -public class VersionableTypeTest { - private final VersionableType model = new VersionableType(); - - /** - * Model tests for VersionableType - */ - @Test - public void testVersionableType() { - // TODO: test VersionableType - } - - /** - * Test the property 'vType' - */ - @Test - public void vTypeTest() { - // TODO: test vType - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - - /** - * Test the property 'vClass' - */ - @Test - public void vClassTest() { - // TODO: test vClass - } - - /** - * Test the property 'bTopLevel' - */ - @Test - public void bTopLevelTest() { - // TODO: test bTopLevel - } - - /** - * Test the property 'code' - */ - @Test - public void codeTest() { - // TODO: test code - } - - /** - * Test the property 'isTopLevel' - */ - @Test - public void isTopLevelTest() { - // TODO: test isTopLevel - } - - /** - * Test the property 'typeName' - */ - @Test - public void typeNameTest() { - // TODO: test typeName - } - - /** - * Test the property 'versionClass' - */ - @Test - public void versionClassTest() { - // TODO: test versionClass - } - -} diff --git a/vcell-restclient/src/test/java/org/vcell/restclient/model/VersionableTypeVersionTest.java b/vcell-restclient/src/test/java/org/vcell/restclient/model/VersionableTypeVersionTest.java deleted file mode 100644 index 05c8203fd5..0000000000 --- a/vcell-restclient/src/test/java/org/vcell/restclient/model/VersionableTypeVersionTest.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.vcell.restclient.model; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonTypeName; -import com.fasterxml.jackson.annotation.JsonValue; -import java.util.Arrays; -import org.vcell.restclient.model.Version; -import org.vcell.restclient.model.VersionableType; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - -/** - * Model tests for VersionableTypeVersion - */ -public class VersionableTypeVersionTest { - private final VersionableTypeVersion model = new VersionableTypeVersion(); - - /** - * Model tests for VersionableTypeVersion - */ - @Test - public void testVersionableTypeVersion() { - // TODO: test VersionableTypeVersion - } - - /** - * Test the property 'vType' - */ - @Test - public void vTypeTest() { - // TODO: test vType - } - - /** - * Test the property 'version' - */ - @Test - public void versionTest() { - // TODO: test version - } - -} diff --git a/webapp-ng/src/app/core/modules/openapi/model/access-token-representation.ts b/webapp-ng/src/app/core/modules/openapi/model/access-token-representation.ts deleted file mode 100644 index 7f0dfbb6da..0000000000 --- a/webapp-ng/src/app/core/modules/openapi/model/access-token-representation.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -export interface AccessTokenRepresentation { - token?: string; - creationDateSeconds?: number; - expireDateSeconds?: number; - userId?: string; - userKey?: string; -} - diff --git a/webapp-ng/src/app/core/modules/openapi/model/cartesian-mesh.ts b/webapp-ng/src/app/core/modules/openapi/model/cartesian-mesh.ts deleted file mode 100644 index 243cf9642e..0000000000 --- a/webapp-ng/src/app/core/modules/openapi/model/cartesian-mesh.ts +++ /dev/null @@ -1,34 +0,0 @@ -/** - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { UCDInfo } from './ucd-info'; -import { ISize } from './i-size'; - - -export interface CartesianMesh { - compressedBytes?: Blob; - uCDInfo?: UCDInfo; - geometryDimension?: number; - volumeRegionMapSubvolume?: { [key: string]: number; }; - membraneRegionMapSubvolumesInOut?: { [key: string]: any; }; - numMembraneElements?: number; - numMembraneRegions?: number; - numVolumeElements?: number; - numVolumeRegions?: number; - iSize?: ISize; - sizeX?: number; - sizeY?: number; - sizeZ?: number; - membraneConnectivityOK?: boolean; - outputFields?: Array; - chomboMesh?: boolean; -} - diff --git a/webapp-ng/src/app/core/modules/openapi/model/coordinate.ts b/webapp-ng/src/app/core/modules/openapi/model/coordinate.ts deleted file mode 100644 index d91314ddc1..0000000000 --- a/webapp-ng/src/app/core/modules/openapi/model/coordinate.ts +++ /dev/null @@ -1,19 +0,0 @@ -/** - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -export interface Coordinate { - x?: number; - y?: number; - z?: number; -} - diff --git a/webapp-ng/src/app/core/modules/openapi/model/field-data-db-operation-spec.ts b/webapp-ng/src/app/core/modules/openapi/model/field-data-db-operation-spec.ts deleted file mode 100644 index 19220adf5a..0000000000 --- a/webapp-ng/src/app/core/modules/openapi/model/field-data-db-operation-spec.ts +++ /dev/null @@ -1,27 +0,0 @@ -/** - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { User } from './user'; -import { VersionableTypeVersion } from './versionable-type-version'; -import { ExternalDataIdentifier } from './external-data-identifier'; - - -export interface FieldDataDBOperationSpec { - opType?: number; - specEDI?: ExternalDataIdentifier; - owner?: User; - newExtDataIDName?: string; - annotation?: string; - sourceNames?: Array; - sourceOwner?: VersionableTypeVersion; - bIncludeSimRefs?: boolean; -} - diff --git a/webapp-ng/src/app/core/modules/openapi/model/field-data-external-data-ids.ts b/webapp-ng/src/app/core/modules/openapi/model/field-data-external-data-ids.ts deleted file mode 100644 index 1947a69a7c..0000000000 --- a/webapp-ng/src/app/core/modules/openapi/model/field-data-external-data-ids.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { KeyValue } from './key-value'; -import { ExternalDataIdentifier } from './external-data-identifier'; - - -export interface FieldDataExternalDataIDs { - externalDataIdentifiers?: Array; - externalDataAnnotations?: Array; - externalDataIDSimRefs?: { [key: string]: Array; }; -} - diff --git a/webapp-ng/src/app/core/modules/openapi/model/field-data-file-operation-results.ts b/webapp-ng/src/app/core/modules/openapi/model/field-data-file-operation-results.ts deleted file mode 100644 index 976e4bfd83..0000000000 --- a/webapp-ng/src/app/core/modules/openapi/model/field-data-file-operation-results.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { FieldDataReferenceInfo } from './field-data-reference-info'; -import { Origin } from './origin'; -import { DataIdentifier } from './data-identifier'; -import { Extent } from './extent'; -import { ISize } from './i-size'; -import { ExternalDataIdentifier } from './external-data-identifier'; - - -export interface FieldDataFileOperationResults { - dataIdentifierArr?: Array; - externalDataIdentifier?: ExternalDataIdentifier; - iSize?: ISize; - origin?: Origin; - extent?: Extent; - times?: Array; - dependantFunctionInfo?: Array; -} - diff --git a/webapp-ng/src/app/core/modules/openapi/model/field-data-file-operation-spec.ts b/webapp-ng/src/app/core/modules/openapi/model/field-data-file-operation-spec.ts deleted file mode 100644 index 4269ff82b5..0000000000 --- a/webapp-ng/src/app/core/modules/openapi/model/field-data-file-operation-spec.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { Origin } from './origin'; -import { CartesianMesh } from './cartesian-mesh'; -import { KeyValue } from './key-value'; -import { User } from './user'; -import { VariableType } from './variable-type'; -import { Extent } from './extent'; -import { ISize } from './i-size'; -import { ExternalDataIdentifier } from './external-data-identifier'; - - -export interface FieldDataFileOperationSpec { - opType?: number; - shortSpecData?: Array>>; - doubleSpecData?: Array>>; - cartesianMesh?: CartesianMesh; - specEDI?: ExternalDataIdentifier; - varNames?: Array; - variableTypes?: Array; - times?: Array; - owner?: User; - origin?: Origin; - extent?: Extent; - isize?: ISize; - annotation?: string; - sourceSimParamScanJobIndex?: number; - sourceSimDataKey?: KeyValue; - sourceOwner?: User; - fieldDataName?: string; -} - diff --git a/webapp-ng/src/app/core/modules/openapi/model/field-data-info.ts b/webapp-ng/src/app/core/modules/openapi/model/field-data-info.ts deleted file mode 100644 index 25ace3c17f..0000000000 --- a/webapp-ng/src/app/core/modules/openapi/model/field-data-info.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { Origin } from './origin'; -import { DataIdentifier } from './data-identifier'; -import { Extent } from './extent'; -import { ISize } from './i-size'; - - -export interface FieldDataInfo { - extent?: Extent; - origin?: Origin; - isize?: ISize; - dataIdentifier?: Array; - times?: Array; -} - diff --git a/webapp-ng/src/app/core/modules/openapi/model/field-data-no-copy-conflict.ts b/webapp-ng/src/app/core/modules/openapi/model/field-data-no-copy-conflict.ts deleted file mode 100644 index 140220cb0f..0000000000 --- a/webapp-ng/src/app/core/modules/openapi/model/field-data-no-copy-conflict.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { KeyValue } from './key-value'; -import { ExternalDataIdentifier } from './external-data-identifier'; - - -export interface FieldDataNoCopyConflict { - oldNameNewIDHash?: { [key: string]: ExternalDataIdentifier; }; - oldNameOldExtDataIDKeyHash?: { [key: string]: KeyValue; }; -} - diff --git a/webapp-ng/src/app/core/modules/openapi/model/field-data-reference-info.ts b/webapp-ng/src/app/core/modules/openapi/model/field-data-reference-info.ts deleted file mode 100644 index 22e40b3ca2..0000000000 --- a/webapp-ng/src/app/core/modules/openapi/model/field-data-reference-info.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { KeyValue } from './key-value'; - - -export interface FieldDataReferenceInfo { - referenceSourceType?: string; - referenceSourceName?: string; - applicationName?: string; - simulationName?: string; - refSourceVersionDate?: string; - funcNames?: Array; - refSourceVersionKey?: KeyValue; -} - diff --git a/webapp-ng/src/app/core/modules/openapi/model/field-data-references.ts b/webapp-ng/src/app/core/modules/openapi/model/field-data-references.ts deleted file mode 100644 index 58acf5cfa4..0000000000 --- a/webapp-ng/src/app/core/modules/openapi/model/field-data-references.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { KeyValue } from './key-value'; -import { ExternalDataIdentifier } from './external-data-identifier'; - - -export interface FieldDataReferences { - externalDataIdentifiers?: Array; - externalDataAnnotations?: Array; - externalDataIDSimRefs?: { [key: string]: Array; }; -} - diff --git a/webapp-ng/src/app/core/modules/openapi/model/group-access.ts b/webapp-ng/src/app/core/modules/openapi/model/group-access.ts deleted file mode 100644 index d963010a25..0000000000 --- a/webapp-ng/src/app/core/modules/openapi/model/group-access.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -export interface GroupAccess { - groupid?: number; - description?: string; -} - diff --git a/webapp-ng/src/app/core/modules/openapi/model/identity-provider.ts b/webapp-ng/src/app/core/modules/openapi/model/identity-provider.ts deleted file mode 100644 index 3a69667da1..0000000000 --- a/webapp-ng/src/app/core/modules/openapi/model/identity-provider.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -export type IdentityProvider = 'AUTH0' | 'KEYCLOAK'; - -export const IdentityProvider = { - Auth0: 'AUTH0' as IdentityProvider, - Keycloak: 'KEYCLOAK' as IdentityProvider -}; - diff --git a/webapp-ng/src/app/core/modules/openapi/model/map-user.ts b/webapp-ng/src/app/core/modules/openapi/model/map-user.ts deleted file mode 100644 index 3338008938..0000000000 --- a/webapp-ng/src/app/core/modules/openapi/model/map-user.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -export interface MapUser { - userID?: string; - password?: string; -} - diff --git a/webapp-ng/src/app/core/modules/openapi/model/override-representation.ts b/webapp-ng/src/app/core/modules/openapi/model/override-representation.ts deleted file mode 100644 index 645bfe7ceb..0000000000 --- a/webapp-ng/src/app/core/modules/openapi/model/override-representation.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -export interface OverrideRepresentation { - name?: string; - type?: string; - expression?: string; - values?: Array; - cardinality?: number; -} - diff --git a/webapp-ng/src/app/core/modules/openapi/model/save-field-data-from-file.ts b/webapp-ng/src/app/core/modules/openapi/model/save-field-data-from-file.ts deleted file mode 100644 index 5b2dd937cb..0000000000 --- a/webapp-ng/src/app/core/modules/openapi/model/save-field-data-from-file.ts +++ /dev/null @@ -1,27 +0,0 @@ -/** - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { Origin } from './origin'; -import { Extent } from './extent'; -import { ISize } from './i-size'; - - -export interface SaveFieldDataFromFile { - shortSpecData?: Array>>; - varNames?: Array; - times?: Array; - origin?: Origin; - extent?: Extent; - isize?: ISize; - annotation?: string; - name?: string; -} - diff --git a/webapp-ng/src/app/core/modules/openapi/model/simulation-execution-status.ts b/webapp-ng/src/app/core/modules/openapi/model/simulation-execution-status.ts deleted file mode 100644 index a219c89670..0000000000 --- a/webapp-ng/src/app/core/modules/openapi/model/simulation-execution-status.ts +++ /dev/null @@ -1,28 +0,0 @@ -/** - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { HtcJobID } from './htc-job-id'; - - -export interface SimulationExecutionStatus { - fieldStartDate?: string; - fieldLatestUpdateDate?: string; - fieldEndDate?: string; - fieldComputeHost?: string; - fieldHasData?: boolean; - fieldHtcJobID?: HtcJobID; - computeHost?: string; - endDate?: string; - latestUpdateDate?: string; - startDate?: string; - htcJobID?: HtcJobID; -} - diff --git a/webapp-ng/src/app/core/modules/openapi/model/simulation-job-status.ts b/webapp-ng/src/app/core/modules/openapi/model/simulation-job-status.ts deleted file mode 100644 index 4ff18b5395..0000000000 --- a/webapp-ng/src/app/core/modules/openapi/model/simulation-job-status.ts +++ /dev/null @@ -1,48 +0,0 @@ -/** - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { SimulationExecutionStatus } from './simulation-execution-status'; -import { VCSimulationIdentifier } from './vc-simulation-identifier'; -import { SchedulerStatus } from './scheduler-status'; -import { VCellServerID } from './v-cell-server-id'; -import { SimulationMessage } from './simulation-message'; -import { SimulationQueueEntryStatus } from './simulation-queue-entry-status'; - - -export interface SimulationJobStatus { - fieldTimeDateStamp?: string; - fieldVCSimID?: VCSimulationIdentifier; - fieldSubmitDate?: string; - fieldSchedulerStatus?: SchedulerStatus; - fieldTaskID?: number; - fieldSimulationMessage?: SimulationMessage; - fieldServerID?: VCellServerID; - fieldJobIndex?: number; - fieldSimulationQueueEntryStatus?: SimulationQueueEntryStatus; - fieldSimulationExecutionStatus?: SimulationExecutionStatus; - computeHost?: string; - endDate?: string; - jobIndex?: number; - schedulerStatus?: SchedulerStatus; - serverID?: VCellServerID; - simulationExecutionStatus?: SimulationExecutionStatus; - simulationQueueEntryStatus?: SimulationQueueEntryStatus; - startDate?: string; - simulationMessage?: SimulationMessage; - submitDate?: string; - taskID?: number; - timeDateStamp?: string; - vCSimulationIdentifier?: VCSimulationIdentifier; -} -export namespace SimulationJobStatus { -} - - diff --git a/webapp-ng/src/app/core/modules/openapi/model/simulation-queue-entry-status.ts b/webapp-ng/src/app/core/modules/openapi/model/simulation-queue-entry-status.ts deleted file mode 100644 index 3bef98151e..0000000000 --- a/webapp-ng/src/app/core/modules/openapi/model/simulation-queue-entry-status.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { SimulationQueueID } from './simulation-queue-id'; - - -export interface SimulationQueueEntryStatus { - fieldQueuePriority?: number; - fieldQueueDate?: string; - fieldQueueID?: SimulationQueueID; - queueDate?: string; - queueID?: SimulationQueueID; - queuePriority?: number; -} -export namespace SimulationQueueEntryStatus { -} - - diff --git a/webapp-ng/src/app/core/modules/openapi/model/simulation.ts b/webapp-ng/src/app/core/modules/openapi/model/simulation.ts deleted file mode 100644 index 99214ce7c9..0000000000 --- a/webapp-ng/src/app/core/modules/openapi/model/simulation.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -export interface Simulation { - name?: string; -} - diff --git a/webapp-ng/src/app/core/modules/openapi/model/ucd-info.ts b/webapp-ng/src/app/core/modules/openapi/model/ucd-info.ts deleted file mode 100644 index 531b2fe777..0000000000 --- a/webapp-ng/src/app/core/modules/openapi/model/ucd-info.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { Coordinate } from './coordinate'; - - -export interface UCDInfo { - ucdGridNodes?: Array>>; - ucdMembraneQuads?: Array>; - reducedUCDGridNodesV?: Array; - uCDGridNodes?: Array>>; - uCDMembraneQuads?: Array>; - numVolumeNodesX?: number; - numVolumeNodesY?: number; - numVolumeNodesZ?: number; - numPointsXYZ?: number; - numVolumeNodesXY?: number; - numVolumeCells?: number; - numMembraneCells?: number; -} - diff --git a/webapp-ng/src/app/core/modules/openapi/model/user-identity.ts b/webapp-ng/src/app/core/modules/openapi/model/user-identity.ts deleted file mode 100644 index 92f489448e..0000000000 --- a/webapp-ng/src/app/core/modules/openapi/model/user-identity.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -export interface UserIdentity { - id?: number; - userName?: string; - subject?: string; - insertDate?: string; -} - diff --git a/webapp-ng/src/app/core/modules/openapi/model/user1.ts b/webapp-ng/src/app/core/modules/openapi/model/user1.ts deleted file mode 100644 index e9b8b4a4e8..0000000000 --- a/webapp-ng/src/app/core/modules/openapi/model/user1.ts +++ /dev/null @@ -1,23 +0,0 @@ -/** - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { KeyValue } from './key-value'; - - -export interface User1 { - userName?: string; - key?: KeyValue; - iD?: KeyValue; - name?: string; - publisher?: boolean; - testAccount?: boolean; -} - diff --git a/webapp-ng/src/app/core/modules/openapi/model/v-cell-server-id.ts b/webapp-ng/src/app/core/modules/openapi/model/v-cell-server-id.ts deleted file mode 100644 index 4fcf42ebdb..0000000000 --- a/webapp-ng/src/app/core/modules/openapi/model/v-cell-server-id.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -export interface VCellServerID { - serverID?: string; -} - diff --git a/webapp-ng/src/app/core/modules/openapi/model/version-flag.ts b/webapp-ng/src/app/core/modules/openapi/model/version-flag.ts deleted file mode 100644 index d5c92ad51b..0000000000 --- a/webapp-ng/src/app/core/modules/openapi/model/version-flag.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -export interface VersionFlag { - versionFlag?: number; - intValue?: number; - archived?: boolean; - current?: boolean; - published?: boolean; -} - diff --git a/webapp-ng/src/app/core/modules/openapi/model/version.ts b/webapp-ng/src/app/core/modules/openapi/model/version.ts deleted file mode 100644 index 6eff5f51b0..0000000000 --- a/webapp-ng/src/app/core/modules/openapi/model/version.ts +++ /dev/null @@ -1,37 +0,0 @@ -/** - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { VersionFlag } from './version-flag'; -import { KeyValue } from './key-value'; -import { User } from './user'; -import { GroupAccess } from './group-access'; - - -export interface Version { - versionKey?: KeyValue; - versionName?: string; - versionOwner?: User; - versionGroupAccess?: GroupAccess; - versionBranchPointRef?: KeyValue; - versionBranchID?: number; - versionDate?: string; - versionFlag?: VersionFlag; - versionAnnot?: string; - annot?: string; - branchID?: number; - branchPointRefKey?: KeyValue; - date?: string; - flag?: VersionFlag; - groupAccess?: GroupAccess; - name?: string; - owner?: User; -} - diff --git a/webapp-ng/src/app/core/modules/openapi/model/versionable-type-version.ts b/webapp-ng/src/app/core/modules/openapi/model/versionable-type-version.ts deleted file mode 100644 index 97dc69511a..0000000000 --- a/webapp-ng/src/app/core/modules/openapi/model/versionable-type-version.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ -import { Version } from './version'; -import { VersionableType } from './versionable-type'; - - -export interface VersionableTypeVersion { - vType?: VersionableType; - version?: Version; -} - diff --git a/webapp-ng/src/app/core/modules/openapi/model/versionable-type.ts b/webapp-ng/src/app/core/modules/openapi/model/versionable-type.ts deleted file mode 100644 index 6b03bb2b3e..0000000000 --- a/webapp-ng/src/app/core/modules/openapi/model/versionable-type.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * VCell API - * VCell API - * - * The version of the OpenAPI document: 1.0.1 - * Contact: vcell_support@uchc.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -export interface VersionableType { - vType?: number; - name?: string; - vClass?: object; - bTopLevel?: boolean; - code?: number; - isTopLevel?: boolean; - typeName?: string; - versionClass?: object; -} -