diff --git a/v1/python/README.md b/v1/python/README.md index b22cb44..c23f6e0 100755 --- a/v1/python/README.md +++ b/v1/python/README.md @@ -4,8 +4,8 @@ Welcome to the Carbon DLS API docs! This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 0.4.12 -- Package version: 0.4.12 +- API version: 0.4.16 +- Package version: 0.4.16 - Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit [https://www.carbon3d.com](https://www.carbon3d.com) @@ -96,6 +96,7 @@ Class | Method | HTTP request | Description *BuildsApi* | [**get_build**](docs/BuildsApi.md#get_build) | **GET** /builds/{uuid} | Fetch a build *BuildsApi* | [**get_builds**](docs/BuildsApi.md#get_builds) | **GET** /builds | Fetch builds *ModelProgramRunsApi* | [**create_model_program_run**](docs/ModelProgramRunsApi.md#create_model_program_run) | **POST** /model_program_runs | Run a model program to alter your models +*ModelProgramRunsApi* | [**create_model_program_run_typed_params**](docs/ModelProgramRunsApi.md#create_model_program_run_typed_params) | **POST** /model_program_runs_typed_params | Run a model program to alter your models with typed params *ModelProgramRunsApi* | [**get_model_program_run**](docs/ModelProgramRunsApi.md#get_model_program_run) | **GET** /model_program_runs/{uuid} | Get a model program run by UUID *ModelProgramRunsApi* | [**get_model_program_runs**](docs/ModelProgramRunsApi.md#get_model_program_runs) | **GET** /model_program_runs | Get a list of model program runs based on their uuids *ModelsApi* | [**download_model**](docs/ModelsApi.md#download_model) | **GET** /models/{uuid}/download | Download a model by UUID @@ -118,6 +119,7 @@ Class | Method | HTTP request | Description *PrintOrdersApi* | [**get_print_order**](docs/PrintOrdersApi.md#get_print_order) | **GET** /print_orders/{uuid} | Get a PrintOrder *PrintOrdersApi* | [**get_print_orders**](docs/PrintOrdersApi.md#get_print_orders) | **GET** /print_orders | Fetch print orders *PrintOrdersApi* | [**update_print_order**](docs/PrintOrdersApi.md#update_print_order) | **PATCH** /print_orders/{uuid} | Update a PrintOrder +*PrintQualityDataApi* | [**get_print_quality_data**](docs/PrintQualityDataApi.md#get_print_quality_data) | **GET** /print_quality_data | List finished print's quality metrics *PrintedPartsApi* | [**get_printed_part**](docs/PrintedPartsApi.md#get_printed_part) | **GET** /printed_parts/{uuid} | Fetch a printed Part *PrintedPartsApi* | [**get_printed_parts**](docs/PrintedPartsApi.md#get_printed_parts) | **GET** /printed_parts | Fetch printed parts *PrintersApi* | [**get_printer**](docs/PrintersApi.md#get_printer) | **GET** /printers/{serial} | Get a specific printer's status information @@ -135,12 +137,19 @@ Class | Method | HTTP request | Description - [BuildAttachments](docs/BuildAttachments.md) - [BuildPartOrders](docs/BuildPartOrders.md) - [BuildsResponse](docs/BuildsResponse.md) + - [DoubleParameter](docs/DoubleParameter.md) + - [IntegerParameter](docs/IntegerParameter.md) - [Model](docs/Model.md) - [ModelPresignedUploadUrlRequest](docs/ModelPresignedUploadUrlRequest.md) - [ModelPresignedUploadUrlResponse](docs/ModelPresignedUploadUrlResponse.md) - [ModelPrint](docs/ModelPrint.md) + - [ModelProgramOperation](docs/ModelProgramOperation.md) + - [ModelProgramOperationAllOf](docs/ModelProgramOperationAllOf.md) - [ModelProgramRun](docs/ModelProgramRun.md) + - [ModelProgramRunAllOf](docs/ModelProgramRunAllOf.md) - [ModelProgramRunRequest](docs/ModelProgramRunRequest.md) + - [ModelProgramRunStatusInfo](docs/ModelProgramRunStatusInfo.md) + - [ModelProgramRunTypedRequest](docs/ModelProgramRunTypedRequest.md) - [ModelProgramRuns](docs/ModelProgramRuns.md) - [ModelResolveUploadRequest](docs/ModelResolveUploadRequest.md) - [ModelsResponse](docs/ModelsResponse.md) @@ -160,6 +169,7 @@ Class | Method | HTTP request | Description - [PartRequest](docs/PartRequest.md) - [PartsResponse](docs/PartsResponse.md) - [PrintConfig](docs/PrintConfig.md) + - [PrintDataQa](docs/PrintDataQa.md) - [PrintFeedback](docs/PrintFeedback.md) - [PrintMetrics](docs/PrintMetrics.md) - [PrintOrder](docs/PrintOrder.md) @@ -183,7 +193,9 @@ Class | Method | HTTP request | Description - [PrinterQueuesResponse](docs/PrinterQueuesResponse.md) - [PrinterStatus](docs/PrinterStatus.md) - [PrintersResponse](docs/PrintersResponse.md) + - [PrintsDataQAResponse](docs/PrintsDataQAResponse.md) - [PrintsResponse](docs/PrintsResponse.md) + - [StringParameter](docs/StringParameter.md) ## Documentation For Authorization diff --git a/v1/python/carbon3d/__init__.py b/v1/python/carbon3d/__init__.py index 16c1e1e..e59dcd2 100755 --- a/v1/python/carbon3d/__init__.py +++ b/v1/python/carbon3d/__init__.py @@ -7,7 +7,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ @@ -15,7 +15,7 @@ from __future__ import absolute_import -__version__ = "0.4.12" +__version__ = "0.4.16" # import apis into sdk package from carbon3d.api.applications_api import ApplicationsApi @@ -28,6 +28,7 @@ from carbon3d.api.part_orders_api import PartOrdersApi from carbon3d.api.parts_api import PartsApi from carbon3d.api.print_orders_api import PrintOrdersApi +from carbon3d.api.print_quality_data_api import PrintQualityDataApi from carbon3d.api.printed_parts_api import PrintedPartsApi from carbon3d.api.printers_api import PrintersApi from carbon3d.api.prints_api import PrintsApi @@ -48,12 +49,19 @@ from carbon3d.models.build_attachments import BuildAttachments from carbon3d.models.build_part_orders import BuildPartOrders from carbon3d.models.builds_response import BuildsResponse +from carbon3d.models.double_parameter import DoubleParameter +from carbon3d.models.integer_parameter import IntegerParameter from carbon3d.models.model import Model from carbon3d.models.model_presigned_upload_url_request import ModelPresignedUploadUrlRequest from carbon3d.models.model_presigned_upload_url_response import ModelPresignedUploadUrlResponse from carbon3d.models.model_print import ModelPrint +from carbon3d.models.model_program_operation import ModelProgramOperation +from carbon3d.models.model_program_operation_all_of import ModelProgramOperationAllOf from carbon3d.models.model_program_run import ModelProgramRun +from carbon3d.models.model_program_run_all_of import ModelProgramRunAllOf from carbon3d.models.model_program_run_request import ModelProgramRunRequest +from carbon3d.models.model_program_run_status_info import ModelProgramRunStatusInfo +from carbon3d.models.model_program_run_typed_request import ModelProgramRunTypedRequest from carbon3d.models.model_program_runs import ModelProgramRuns from carbon3d.models.model_resolve_upload_request import ModelResolveUploadRequest from carbon3d.models.models_response import ModelsResponse @@ -73,6 +81,7 @@ from carbon3d.models.part_request import PartRequest from carbon3d.models.parts_response import PartsResponse from carbon3d.models.print_config import PrintConfig +from carbon3d.models.print_data_qa import PrintDataQa from carbon3d.models.print_feedback import PrintFeedback from carbon3d.models.print_metrics import PrintMetrics from carbon3d.models.print_order import PrintOrder @@ -96,5 +105,7 @@ from carbon3d.models.printer_queues_response import PrinterQueuesResponse from carbon3d.models.printer_status import PrinterStatus from carbon3d.models.printers_response import PrintersResponse +from carbon3d.models.prints_data_qa_response import PrintsDataQAResponse from carbon3d.models.prints_response import PrintsResponse +from carbon3d.models.string_parameter import StringParameter diff --git a/v1/python/carbon3d/api/__init__.py b/v1/python/carbon3d/api/__init__.py index 677d3dd..6d35b9b 100755 --- a/v1/python/carbon3d/api/__init__.py +++ b/v1/python/carbon3d/api/__init__.py @@ -13,6 +13,7 @@ from carbon3d.api.part_orders_api import PartOrdersApi from carbon3d.api.parts_api import PartsApi from carbon3d.api.print_orders_api import PrintOrdersApi +from carbon3d.api.print_quality_data_api import PrintQualityDataApi from carbon3d.api.printed_parts_api import PrintedPartsApi from carbon3d.api.printers_api import PrintersApi from carbon3d.api.prints_api import PrintsApi diff --git a/v1/python/carbon3d/api/applications_api.py b/v1/python/carbon3d/api/applications_api.py index 31e220b..81189f7 100755 --- a/v1/python/carbon3d/api/applications_api.py +++ b/v1/python/carbon3d/api/applications_api.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/api/attachments_api.py b/v1/python/carbon3d/api/attachments_api.py index 95acb43..6d478d3 100755 --- a/v1/python/carbon3d/api/attachments_api.py +++ b/v1/python/carbon3d/api/attachments_api.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/api/builds_api.py b/v1/python/carbon3d/api/builds_api.py index dd3d203..3f0a4ef 100755 --- a/v1/python/carbon3d/api/builds_api.py +++ b/v1/python/carbon3d/api/builds_api.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/api/model_program_runs_api.py b/v1/python/carbon3d/api/model_program_runs_api.py index 9b170a2..216bf65 100755 --- a/v1/python/carbon3d/api/model_program_runs_api.py +++ b/v1/python/carbon3d/api/model_program_runs_api.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ @@ -151,6 +151,120 @@ def create_model_program_run_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) + def create_model_program_run_typed_params(self, **kwargs): # noqa: E501 + """Run a model program to alter your models with typed params # noqa: E501 + + Create a new model program run with typed params # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_model_program_run_typed_params(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param ModelProgramRunTypedRequest model_program_run_typed_request: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: ModelProgramRun + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.create_model_program_run_typed_params_with_http_info(**kwargs) # noqa: E501 + + def create_model_program_run_typed_params_with_http_info(self, **kwargs): # noqa: E501 + """Run a model program to alter your models with typed params # noqa: E501 + + Create a new model program run with typed params # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_model_program_run_typed_params_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param ModelProgramRunTypedRequest model_program_run_typed_request: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(ModelProgramRun, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'model_program_run_typed_request' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_model_program_run_typed_params" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'model_program_run_typed_request' in local_var_params: + body_params = local_var_params['model_program_run_typed_request'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['bearerAuth'] # noqa: E501 + + return self.api_client.call_api( + '/model_program_runs_typed_params', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ModelProgramRun', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + def get_model_program_run(self, uuid, **kwargs): # noqa: E501 """Get a model program run by UUID # noqa: E501 diff --git a/v1/python/carbon3d/api/models_api.py b/v1/python/carbon3d/api/models_api.py index 51e5f6d..937eac2 100755 --- a/v1/python/carbon3d/api/models_api.py +++ b/v1/python/carbon3d/api/models_api.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/api/part_measurement_templates_api.py b/v1/python/carbon3d/api/part_measurement_templates_api.py index 61fc3f6..33fa92d 100755 --- a/v1/python/carbon3d/api/part_measurement_templates_api.py +++ b/v1/python/carbon3d/api/part_measurement_templates_api.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/api/part_measurements_api.py b/v1/python/carbon3d/api/part_measurements_api.py index aeb7fa4..aa5e95f 100755 --- a/v1/python/carbon3d/api/part_measurements_api.py +++ b/v1/python/carbon3d/api/part_measurements_api.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/api/part_orders_api.py b/v1/python/carbon3d/api/part_orders_api.py index 33e70af..29e386c 100755 --- a/v1/python/carbon3d/api/part_orders_api.py +++ b/v1/python/carbon3d/api/part_orders_api.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/api/parts_api.py b/v1/python/carbon3d/api/parts_api.py index 8b730e0..284b5de 100755 --- a/v1/python/carbon3d/api/parts_api.py +++ b/v1/python/carbon3d/api/parts_api.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/api/print_orders_api.py b/v1/python/carbon3d/api/print_orders_api.py index 312f08e..d865353 100755 --- a/v1/python/carbon3d/api/print_orders_api.py +++ b/v1/python/carbon3d/api/print_orders_api.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/api/print_quality_data_api.py b/v1/python/carbon3d/api/print_quality_data_api.py new file mode 100755 index 0000000..75fe8c4 --- /dev/null +++ b/v1/python/carbon3d/api/print_quality_data_api.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Carbon DLS API + + Welcome to the Carbon DLS API docs! # noqa: E501 + + The version of the OpenAPI document: 0.4.16 + Contact: api-list@carbon3d.com + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from carbon3d.api_client import ApiClient +from carbon3d.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError +) + + +class PrintQualityDataApi(object): + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def get_print_quality_data(self, print_ids, **kwargs): # noqa: E501 + """List finished print's quality metrics # noqa: E501 + + List quality assurance data for prints # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_print_quality_data(print_ids, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param list[str] print_ids: Print ID (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: PrintsDataQAResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.get_print_quality_data_with_http_info(print_ids, **kwargs) # noqa: E501 + + def get_print_quality_data_with_http_info(self, print_ids, **kwargs): # noqa: E501 + """List finished print's quality metrics # noqa: E501 + + List quality assurance data for prints # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_print_quality_data_with_http_info(print_ids, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param list[str] print_ids: Print ID (required) + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(PrintsDataQAResponse, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'print_ids' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_print_quality_data" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'print_ids' is set + if self.api_client.client_side_validation and ('print_ids' not in local_var_params or # noqa: E501 + local_var_params['print_ids'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `print_ids` when calling `get_print_quality_data`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'print_ids' in local_var_params and local_var_params['print_ids'] is not None: # noqa: E501 + query_params.append(('printIds', local_var_params['print_ids'])) # noqa: E501 + collection_formats['printIds'] = 'multi' # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['bearerAuth'] # noqa: E501 + + return self.api_client.call_api( + '/print_quality_data', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='PrintsDataQAResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/v1/python/carbon3d/api/printed_parts_api.py b/v1/python/carbon3d/api/printed_parts_api.py index f4897c2..dd6e5fb 100755 --- a/v1/python/carbon3d/api/printed_parts_api.py +++ b/v1/python/carbon3d/api/printed_parts_api.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/api/printers_api.py b/v1/python/carbon3d/api/printers_api.py index 0ad9274..2220cce 100755 --- a/v1/python/carbon3d/api/printers_api.py +++ b/v1/python/carbon3d/api/printers_api.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/api/prints_api.py b/v1/python/carbon3d/api/prints_api.py index 5740391..a4738b7 100755 --- a/v1/python/carbon3d/api/prints_api.py +++ b/v1/python/carbon3d/api/prints_api.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/api/queues_api.py b/v1/python/carbon3d/api/queues_api.py index 6f5a964..ca34670 100755 --- a/v1/python/carbon3d/api/queues_api.py +++ b/v1/python/carbon3d/api/queues_api.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/api_client.py b/v1/python/carbon3d/api_client.py index 76c995a..772e2af 100755 --- a/v1/python/carbon3d/api_client.py +++ b/v1/python/carbon3d/api_client.py @@ -4,7 +4,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ @@ -79,7 +79,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/0.4.12/python' + self.user_agent = 'OpenAPI-Generator/0.4.16/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/v1/python/carbon3d/configuration.py b/v1/python/carbon3d/configuration.py index 175b62c..98e71fe 100755 --- a/v1/python/carbon3d/configuration.py +++ b/v1/python/carbon3d/configuration.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ @@ -337,8 +337,8 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 0.4.12\n"\ - "SDK Package Version: 0.4.12".\ + "Version of the API: 0.4.16\n"\ + "SDK Package Version: 0.4.16".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/v1/python/carbon3d/exceptions.py b/v1/python/carbon3d/exceptions.py index c0eed8e..46fc791 100755 --- a/v1/python/carbon3d/exceptions.py +++ b/v1/python/carbon3d/exceptions.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/__init__.py b/v1/python/carbon3d/models/__init__.py index 0ff5b2c..4d17ad8 100755 --- a/v1/python/carbon3d/models/__init__.py +++ b/v1/python/carbon3d/models/__init__.py @@ -6,7 +6,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ @@ -21,12 +21,19 @@ from carbon3d.models.build_attachments import BuildAttachments from carbon3d.models.build_part_orders import BuildPartOrders from carbon3d.models.builds_response import BuildsResponse +from carbon3d.models.double_parameter import DoubleParameter +from carbon3d.models.integer_parameter import IntegerParameter from carbon3d.models.model import Model from carbon3d.models.model_presigned_upload_url_request import ModelPresignedUploadUrlRequest from carbon3d.models.model_presigned_upload_url_response import ModelPresignedUploadUrlResponse from carbon3d.models.model_print import ModelPrint +from carbon3d.models.model_program_operation import ModelProgramOperation +from carbon3d.models.model_program_operation_all_of import ModelProgramOperationAllOf from carbon3d.models.model_program_run import ModelProgramRun +from carbon3d.models.model_program_run_all_of import ModelProgramRunAllOf from carbon3d.models.model_program_run_request import ModelProgramRunRequest +from carbon3d.models.model_program_run_status_info import ModelProgramRunStatusInfo +from carbon3d.models.model_program_run_typed_request import ModelProgramRunTypedRequest from carbon3d.models.model_program_runs import ModelProgramRuns from carbon3d.models.model_resolve_upload_request import ModelResolveUploadRequest from carbon3d.models.models_response import ModelsResponse @@ -46,6 +53,7 @@ from carbon3d.models.part_request import PartRequest from carbon3d.models.parts_response import PartsResponse from carbon3d.models.print_config import PrintConfig +from carbon3d.models.print_data_qa import PrintDataQa from carbon3d.models.print_feedback import PrintFeedback from carbon3d.models.print_metrics import PrintMetrics from carbon3d.models.print_order import PrintOrder @@ -69,4 +77,6 @@ from carbon3d.models.printer_queues_response import PrinterQueuesResponse from carbon3d.models.printer_status import PrinterStatus from carbon3d.models.printers_response import PrintersResponse +from carbon3d.models.prints_data_qa_response import PrintsDataQAResponse from carbon3d.models.prints_response import PrintsResponse +from carbon3d.models.string_parameter import StringParameter diff --git a/v1/python/carbon3d/models/application.py b/v1/python/carbon3d/models/application.py index 941dd5d..0a95e2e 100755 --- a/v1/python/carbon3d/models/application.py +++ b/v1/python/carbon3d/models/application.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/applications_response.py b/v1/python/carbon3d/models/applications_response.py index c02791d..b261cec 100755 --- a/v1/python/carbon3d/models/applications_response.py +++ b/v1/python/carbon3d/models/applications_response.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/build.py b/v1/python/carbon3d/models/build.py index 542d6d6..7f35bf5 100755 --- a/v1/python/carbon3d/models/build.py +++ b/v1/python/carbon3d/models/build.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/build_attachments.py b/v1/python/carbon3d/models/build_attachments.py index 0f248e0..b9100ef 100755 --- a/v1/python/carbon3d/models/build_attachments.py +++ b/v1/python/carbon3d/models/build_attachments.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/build_part_orders.py b/v1/python/carbon3d/models/build_part_orders.py index 779a4b6..2bb5b0c 100755 --- a/v1/python/carbon3d/models/build_part_orders.py +++ b/v1/python/carbon3d/models/build_part_orders.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/builds_response.py b/v1/python/carbon3d/models/builds_response.py index 320f1b9..3cd9bf8 100755 --- a/v1/python/carbon3d/models/builds_response.py +++ b/v1/python/carbon3d/models/builds_response.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/double_parameter.py b/v1/python/carbon3d/models/double_parameter.py new file mode 100755 index 0000000..e247116 --- /dev/null +++ b/v1/python/carbon3d/models/double_parameter.py @@ -0,0 +1,176 @@ +# coding: utf-8 + +""" + Carbon DLS API + + Welcome to the Carbon DLS API docs! # noqa: E501 + + The version of the OpenAPI document: 0.4.16 + Contact: api-list@carbon3d.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from carbon3d.configuration import Configuration + + +class DoubleParameter(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'key': 'str', + 'type': 'str', + 'value': 'float' + } + + attribute_map = { + 'key': 'key', + 'type': 'type', + 'value': 'value' + } + + def __init__(self, key=None, type=None, value=None, local_vars_configuration=None): # noqa: E501 + """DoubleParameter - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._key = None + self._type = None + self._value = None + self.discriminator = None + + self.key = key + self.type = type + self.value = value + + @property + def key(self): + """Gets the key of this DoubleParameter. # noqa: E501 + + + :return: The key of this DoubleParameter. # noqa: E501 + :rtype: str + """ + return self._key + + @key.setter + def key(self, key): + """Sets the key of this DoubleParameter. + + + :param key: The key of this DoubleParameter. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and key is None: # noqa: E501 + raise ValueError("Invalid value for `key`, must not be `None`") # noqa: E501 + + self._key = key + + @property + def type(self): + """Gets the type of this DoubleParameter. # noqa: E501 + + + :return: The type of this DoubleParameter. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this DoubleParameter. + + + :param type: The type of this DoubleParameter. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + @property + def value(self): + """Gets the value of this DoubleParameter. # noqa: E501 + + + :return: The value of this DoubleParameter. # noqa: E501 + :rtype: float + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this DoubleParameter. + + + :param value: The value of this DoubleParameter. # noqa: E501 + :type: float + """ + if self.local_vars_configuration.client_side_validation and value is None: # noqa: E501 + raise ValueError("Invalid value for `value`, must not be `None`") # noqa: E501 + + self._value = value + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, DoubleParameter): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, DoubleParameter): + return True + + return self.to_dict() != other.to_dict() diff --git a/v1/python/carbon3d/models/integer_parameter.py b/v1/python/carbon3d/models/integer_parameter.py new file mode 100755 index 0000000..f239db0 --- /dev/null +++ b/v1/python/carbon3d/models/integer_parameter.py @@ -0,0 +1,176 @@ +# coding: utf-8 + +""" + Carbon DLS API + + Welcome to the Carbon DLS API docs! # noqa: E501 + + The version of the OpenAPI document: 0.4.16 + Contact: api-list@carbon3d.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from carbon3d.configuration import Configuration + + +class IntegerParameter(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'key': 'str', + 'type': 'str', + 'value': 'int' + } + + attribute_map = { + 'key': 'key', + 'type': 'type', + 'value': 'value' + } + + def __init__(self, key=None, type=None, value=None, local_vars_configuration=None): # noqa: E501 + """IntegerParameter - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._key = None + self._type = None + self._value = None + self.discriminator = None + + self.key = key + self.type = type + self.value = value + + @property + def key(self): + """Gets the key of this IntegerParameter. # noqa: E501 + + + :return: The key of this IntegerParameter. # noqa: E501 + :rtype: str + """ + return self._key + + @key.setter + def key(self, key): + """Sets the key of this IntegerParameter. + + + :param key: The key of this IntegerParameter. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and key is None: # noqa: E501 + raise ValueError("Invalid value for `key`, must not be `None`") # noqa: E501 + + self._key = key + + @property + def type(self): + """Gets the type of this IntegerParameter. # noqa: E501 + + + :return: The type of this IntegerParameter. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this IntegerParameter. + + + :param type: The type of this IntegerParameter. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + @property + def value(self): + """Gets the value of this IntegerParameter. # noqa: E501 + + + :return: The value of this IntegerParameter. # noqa: E501 + :rtype: int + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this IntegerParameter. + + + :param value: The value of this IntegerParameter. # noqa: E501 + :type: int + """ + if self.local_vars_configuration.client_side_validation and value is None: # noqa: E501 + raise ValueError("Invalid value for `value`, must not be `None`") # noqa: E501 + + self._value = value + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, IntegerParameter): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, IntegerParameter): + return True + + return self.to_dict() != other.to_dict() diff --git a/v1/python/carbon3d/models/model.py b/v1/python/carbon3d/models/model.py index 1afe58d..49328cc 100755 --- a/v1/python/carbon3d/models/model.py +++ b/v1/python/carbon3d/models/model.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/model_presigned_upload_url_request.py b/v1/python/carbon3d/models/model_presigned_upload_url_request.py index c320659..085872c 100755 --- a/v1/python/carbon3d/models/model_presigned_upload_url_request.py +++ b/v1/python/carbon3d/models/model_presigned_upload_url_request.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/model_presigned_upload_url_response.py b/v1/python/carbon3d/models/model_presigned_upload_url_response.py index 45411df..34d2b5f 100755 --- a/v1/python/carbon3d/models/model_presigned_upload_url_response.py +++ b/v1/python/carbon3d/models/model_presigned_upload_url_response.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/model_print.py b/v1/python/carbon3d/models/model_print.py index b850036..ee94f21 100755 --- a/v1/python/carbon3d/models/model_print.py +++ b/v1/python/carbon3d/models/model_print.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/model_program_operation.py b/v1/python/carbon3d/models/model_program_operation.py new file mode 100755 index 0000000..b1f4995 --- /dev/null +++ b/v1/python/carbon3d/models/model_program_operation.py @@ -0,0 +1,248 @@ +# coding: utf-8 + +""" + Carbon DLS API + + Welcome to the Carbon DLS API docs! # noqa: E501 + + The version of the OpenAPI document: 0.4.16 + Contact: api-list@carbon3d.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from carbon3d.configuration import Configuration + + +class ModelProgramOperation(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'status': 'str', + 'progress': 'float', + 'model_uuid': 'str', + 'failure_message': 'str', + 'external_id': 'str' + } + + attribute_map = { + 'status': 'status', + 'progress': 'progress', + 'model_uuid': 'model_uuid', + 'failure_message': 'failure_message', + 'external_id': 'external_id' + } + + def __init__(self, status=None, progress=None, model_uuid=None, failure_message=None, external_id=None, local_vars_configuration=None): # noqa: E501 + """ModelProgramOperation - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._status = None + self._progress = None + self._model_uuid = None + self._failure_message = None + self._external_id = None + self.discriminator = None + + self.status = status + self.progress = progress + self.model_uuid = model_uuid + self.failure_message = failure_message + self.external_id = external_id + + @property + def status(self): + """Gets the status of this ModelProgramOperation. # noqa: E501 + + status of the current operation # noqa: E501 + + :return: The status of this ModelProgramOperation. # noqa: E501 + :rtype: str + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this ModelProgramOperation. + + status of the current operation # noqa: E501 + + :param status: The status of this ModelProgramOperation. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + allowed_values = ["complete", "failed", "preparing", "pending"] # noqa: E501 + if self.local_vars_configuration.client_side_validation and status not in allowed_values: # noqa: E501 + raise ValueError( + "Invalid value for `status` ({0}), must be one of {1}" # noqa: E501 + .format(status, allowed_values) + ) + + self._status = status + + @property + def progress(self): + """Gets the progress of this ModelProgramOperation. # noqa: E501 + + current progress of the concerned operation as a number between 0 and 1 # noqa: E501 + + :return: The progress of this ModelProgramOperation. # noqa: E501 + :rtype: float + """ + return self._progress + + @progress.setter + def progress(self, progress): + """Sets the progress of this ModelProgramOperation. + + current progress of the concerned operation as a number between 0 and 1 # noqa: E501 + + :param progress: The progress of this ModelProgramOperation. # noqa: E501 + :type: float + """ + if self.local_vars_configuration.client_side_validation and progress is None: # noqa: E501 + raise ValueError("Invalid value for `progress`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + progress is not None and progress > 1): # noqa: E501 + raise ValueError("Invalid value for `progress`, must be a value less than or equal to `1`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + progress is not None and progress < 0): # noqa: E501 + raise ValueError("Invalid value for `progress`, must be a value greater than or equal to `0`") # noqa: E501 + + self._progress = progress + + @property + def model_uuid(self): + """Gets the model_uuid of this ModelProgramOperation. # noqa: E501 + + uuid of the output model # noqa: E501 + + :return: The model_uuid of this ModelProgramOperation. # noqa: E501 + :rtype: str + """ + return self._model_uuid + + @model_uuid.setter + def model_uuid(self, model_uuid): + """Sets the model_uuid of this ModelProgramOperation. + + uuid of the output model # noqa: E501 + + :param model_uuid: The model_uuid of this ModelProgramOperation. # noqa: E501 + :type: str + """ + + self._model_uuid = model_uuid + + @property + def failure_message(self): + """Gets the failure_message of this ModelProgramOperation. # noqa: E501 + + message in case of failure # noqa: E501 + + :return: The failure_message of this ModelProgramOperation. # noqa: E501 + :rtype: str + """ + return self._failure_message + + @failure_message.setter + def failure_message(self, failure_message): + """Sets the failure_message of this ModelProgramOperation. + + message in case of failure # noqa: E501 + + :param failure_message: The failure_message of this ModelProgramOperation. # noqa: E501 + :type: str + """ + + self._failure_message = failure_message + + @property + def external_id(self): + """Gets the external_id of this ModelProgramOperation. # noqa: E501 + + customer specified name of the concerned operation, which should be unique within a given model_program # noqa: E501 + + :return: The external_id of this ModelProgramOperation. # noqa: E501 + :rtype: str + """ + return self._external_id + + @external_id.setter + def external_id(self, external_id): + """Sets the external_id of this ModelProgramOperation. + + customer specified name of the concerned operation, which should be unique within a given model_program # noqa: E501 + + :param external_id: The external_id of this ModelProgramOperation. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and external_id is None: # noqa: E501 + raise ValueError("Invalid value for `external_id`, must not be `None`") # noqa: E501 + + self._external_id = external_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ModelProgramOperation): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ModelProgramOperation): + return True + + return self.to_dict() != other.to_dict() diff --git a/v1/python/carbon3d/models/model_program_operation_all_of.py b/v1/python/carbon3d/models/model_program_operation_all_of.py new file mode 100755 index 0000000..432f4c6 --- /dev/null +++ b/v1/python/carbon3d/models/model_program_operation_all_of.py @@ -0,0 +1,124 @@ +# coding: utf-8 + +""" + Carbon DLS API + + Welcome to the Carbon DLS API docs! # noqa: E501 + + The version of the OpenAPI document: 0.4.16 + Contact: api-list@carbon3d.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from carbon3d.configuration import Configuration + + +class ModelProgramOperationAllOf(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'external_id': 'str' + } + + attribute_map = { + 'external_id': 'external_id' + } + + def __init__(self, external_id=None, local_vars_configuration=None): # noqa: E501 + """ModelProgramOperationAllOf - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._external_id = None + self.discriminator = None + + self.external_id = external_id + + @property + def external_id(self): + """Gets the external_id of this ModelProgramOperationAllOf. # noqa: E501 + + customer specified name of the concerned operation, which should be unique within a given model_program # noqa: E501 + + :return: The external_id of this ModelProgramOperationAllOf. # noqa: E501 + :rtype: str + """ + return self._external_id + + @external_id.setter + def external_id(self, external_id): + """Sets the external_id of this ModelProgramOperationAllOf. + + customer specified name of the concerned operation, which should be unique within a given model_program # noqa: E501 + + :param external_id: The external_id of this ModelProgramOperationAllOf. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and external_id is None: # noqa: E501 + raise ValueError("Invalid value for `external_id`, must not be `None`") # noqa: E501 + + self._external_id = external_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ModelProgramOperationAllOf): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ModelProgramOperationAllOf): + return True + + return self.to_dict() != other.to_dict() diff --git a/v1/python/carbon3d/models/model_program_run.py b/v1/python/carbon3d/models/model_program_run.py index 40bc5b8..aeea78a 100755 --- a/v1/python/carbon3d/models/model_program_run.py +++ b/v1/python/carbon3d/models/model_program_run.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ @@ -34,66 +34,50 @@ class ModelProgramRun(object): and the value is json key in definition. """ openapi_types = { - 'uuid': 'str', 'status': 'str', + 'progress': 'float', 'model_uuid': 'str', - 'failure_message': 'str' + 'failure_message': 'str', + 'uuid': 'str', + 'operation_status': 'list[ModelProgramOperation]' } attribute_map = { - 'uuid': 'uuid', 'status': 'status', + 'progress': 'progress', 'model_uuid': 'model_uuid', - 'failure_message': 'failure_message' + 'failure_message': 'failure_message', + 'uuid': 'uuid', + 'operation_status': 'operation_status' } - def __init__(self, uuid=None, status=None, model_uuid=None, failure_message=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, status=None, progress=None, model_uuid=None, failure_message=None, uuid=None, operation_status=None, local_vars_configuration=None): # noqa: E501 """ModelProgramRun - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration - self._uuid = None self._status = None + self._progress = None self._model_uuid = None self._failure_message = None + self._uuid = None + self._operation_status = None self.discriminator = None - if uuid is not None: - self.uuid = uuid - if status is not None: - self.status = status + self.status = status + self.progress = progress self.model_uuid = model_uuid self.failure_message = failure_message - - @property - def uuid(self): - """Gets the uuid of this ModelProgramRun. # noqa: E501 - - uuid of the model program run # noqa: E501 - - :return: The uuid of this ModelProgramRun. # noqa: E501 - :rtype: str - """ - return self._uuid - - @uuid.setter - def uuid(self, uuid): - """Sets the uuid of this ModelProgramRun. - - uuid of the model program run # noqa: E501 - - :param uuid: The uuid of this ModelProgramRun. # noqa: E501 - :type: str - """ - - self._uuid = uuid + if uuid is not None: + self.uuid = uuid + self.operation_status = operation_status @property def status(self): """Gets the status of this ModelProgramRun. # noqa: E501 - status of the model program run # noqa: E501 + status of the current operation # noqa: E501 :return: The status of this ModelProgramRun. # noqa: E501 :rtype: str @@ -104,12 +88,14 @@ def status(self): def status(self, status): """Sets the status of this ModelProgramRun. - status of the model program run # noqa: E501 + status of the current operation # noqa: E501 :param status: The status of this ModelProgramRun. # noqa: E501 :type: str """ - allowed_values = ["complete", "failed", "preparing"] # noqa: E501 + if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + allowed_values = ["complete", "failed", "preparing", "pending"] # noqa: E501 if self.local_vars_configuration.client_side_validation and status not in allowed_values: # noqa: E501 raise ValueError( "Invalid value for `status` ({0}), must be one of {1}" # noqa: E501 @@ -118,11 +104,42 @@ def status(self, status): self._status = status + @property + def progress(self): + """Gets the progress of this ModelProgramRun. # noqa: E501 + + current progress of the concerned operation as a number between 0 and 1 # noqa: E501 + + :return: The progress of this ModelProgramRun. # noqa: E501 + :rtype: float + """ + return self._progress + + @progress.setter + def progress(self, progress): + """Sets the progress of this ModelProgramRun. + + current progress of the concerned operation as a number between 0 and 1 # noqa: E501 + + :param progress: The progress of this ModelProgramRun. # noqa: E501 + :type: float + """ + if self.local_vars_configuration.client_side_validation and progress is None: # noqa: E501 + raise ValueError("Invalid value for `progress`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + progress is not None and progress > 1): # noqa: E501 + raise ValueError("Invalid value for `progress`, must be a value less than or equal to `1`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + progress is not None and progress < 0): # noqa: E501 + raise ValueError("Invalid value for `progress`, must be a value greater than or equal to `0`") # noqa: E501 + + self._progress = progress + @property def model_uuid(self): """Gets the model_uuid of this ModelProgramRun. # noqa: E501 - uuid of output model # noqa: E501 + uuid of the output model # noqa: E501 :return: The model_uuid of this ModelProgramRun. # noqa: E501 :rtype: str @@ -133,7 +150,7 @@ def model_uuid(self): def model_uuid(self, model_uuid): """Sets the model_uuid of this ModelProgramRun. - uuid of output model # noqa: E501 + uuid of the output model # noqa: E501 :param model_uuid: The model_uuid of this ModelProgramRun. # noqa: E501 :type: str @@ -164,6 +181,52 @@ def failure_message(self, failure_message): self._failure_message = failure_message + @property + def uuid(self): + """Gets the uuid of this ModelProgramRun. # noqa: E501 + + uuid of the model program run # noqa: E501 + + :return: The uuid of this ModelProgramRun. # noqa: E501 + :rtype: str + """ + return self._uuid + + @uuid.setter + def uuid(self, uuid): + """Sets the uuid of this ModelProgramRun. + + uuid of the model program run # noqa: E501 + + :param uuid: The uuid of this ModelProgramRun. # noqa: E501 + :type: str + """ + + self._uuid = uuid + + @property + def operation_status(self): + """Gets the operation_status of this ModelProgramRun. # noqa: E501 + + details about the statuses and outputs of named operations specified by the customer # noqa: E501 + + :return: The operation_status of this ModelProgramRun. # noqa: E501 + :rtype: list[ModelProgramOperation] + """ + return self._operation_status + + @operation_status.setter + def operation_status(self, operation_status): + """Sets the operation_status of this ModelProgramRun. + + details about the statuses and outputs of named operations specified by the customer # noqa: E501 + + :param operation_status: The operation_status of this ModelProgramRun. # noqa: E501 + :type: list[ModelProgramOperation] + """ + + self._operation_status = operation_status + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/v1/python/carbon3d/models/model_program_run_all_of.py b/v1/python/carbon3d/models/model_program_run_all_of.py new file mode 100755 index 0000000..66c2e0a --- /dev/null +++ b/v1/python/carbon3d/models/model_program_run_all_of.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Carbon DLS API + + Welcome to the Carbon DLS API docs! # noqa: E501 + + The version of the OpenAPI document: 0.4.16 + Contact: api-list@carbon3d.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from carbon3d.configuration import Configuration + + +class ModelProgramRunAllOf(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'uuid': 'str', + 'operation_status': 'list[ModelProgramOperation]' + } + + attribute_map = { + 'uuid': 'uuid', + 'operation_status': 'operation_status' + } + + def __init__(self, uuid=None, operation_status=None, local_vars_configuration=None): # noqa: E501 + """ModelProgramRunAllOf - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._uuid = None + self._operation_status = None + self.discriminator = None + + if uuid is not None: + self.uuid = uuid + self.operation_status = operation_status + + @property + def uuid(self): + """Gets the uuid of this ModelProgramRunAllOf. # noqa: E501 + + uuid of the model program run # noqa: E501 + + :return: The uuid of this ModelProgramRunAllOf. # noqa: E501 + :rtype: str + """ + return self._uuid + + @uuid.setter + def uuid(self, uuid): + """Sets the uuid of this ModelProgramRunAllOf. + + uuid of the model program run # noqa: E501 + + :param uuid: The uuid of this ModelProgramRunAllOf. # noqa: E501 + :type: str + """ + + self._uuid = uuid + + @property + def operation_status(self): + """Gets the operation_status of this ModelProgramRunAllOf. # noqa: E501 + + details about the statuses and outputs of named operations specified by the customer # noqa: E501 + + :return: The operation_status of this ModelProgramRunAllOf. # noqa: E501 + :rtype: list[ModelProgramOperation] + """ + return self._operation_status + + @operation_status.setter + def operation_status(self, operation_status): + """Sets the operation_status of this ModelProgramRunAllOf. + + details about the statuses and outputs of named operations specified by the customer # noqa: E501 + + :param operation_status: The operation_status of this ModelProgramRunAllOf. # noqa: E501 + :type: list[ModelProgramOperation] + """ + + self._operation_status = operation_status + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ModelProgramRunAllOf): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ModelProgramRunAllOf): + return True + + return self.to_dict() != other.to_dict() diff --git a/v1/python/carbon3d/models/model_program_run_request.py b/v1/python/carbon3d/models/model_program_run_request.py index 26e3a38..fa4828a 100755 --- a/v1/python/carbon3d/models/model_program_run_request.py +++ b/v1/python/carbon3d/models/model_program_run_request.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/model_program_run_status_info.py b/v1/python/carbon3d/models/model_program_run_status_info.py new file mode 100755 index 0000000..131a836 --- /dev/null +++ b/v1/python/carbon3d/models/model_program_run_status_info.py @@ -0,0 +1,219 @@ +# coding: utf-8 + +""" + Carbon DLS API + + Welcome to the Carbon DLS API docs! # noqa: E501 + + The version of the OpenAPI document: 0.4.16 + Contact: api-list@carbon3d.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from carbon3d.configuration import Configuration + + +class ModelProgramRunStatusInfo(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'status': 'str', + 'progress': 'float', + 'model_uuid': 'str', + 'failure_message': 'str' + } + + attribute_map = { + 'status': 'status', + 'progress': 'progress', + 'model_uuid': 'model_uuid', + 'failure_message': 'failure_message' + } + + def __init__(self, status=None, progress=None, model_uuid=None, failure_message=None, local_vars_configuration=None): # noqa: E501 + """ModelProgramRunStatusInfo - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._status = None + self._progress = None + self._model_uuid = None + self._failure_message = None + self.discriminator = None + + self.status = status + self.progress = progress + self.model_uuid = model_uuid + self.failure_message = failure_message + + @property + def status(self): + """Gets the status of this ModelProgramRunStatusInfo. # noqa: E501 + + status of the current operation # noqa: E501 + + :return: The status of this ModelProgramRunStatusInfo. # noqa: E501 + :rtype: str + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this ModelProgramRunStatusInfo. + + status of the current operation # noqa: E501 + + :param status: The status of this ModelProgramRunStatusInfo. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + allowed_values = ["complete", "failed", "preparing", "pending"] # noqa: E501 + if self.local_vars_configuration.client_side_validation and status not in allowed_values: # noqa: E501 + raise ValueError( + "Invalid value for `status` ({0}), must be one of {1}" # noqa: E501 + .format(status, allowed_values) + ) + + self._status = status + + @property + def progress(self): + """Gets the progress of this ModelProgramRunStatusInfo. # noqa: E501 + + current progress of the concerned operation as a number between 0 and 1 # noqa: E501 + + :return: The progress of this ModelProgramRunStatusInfo. # noqa: E501 + :rtype: float + """ + return self._progress + + @progress.setter + def progress(self, progress): + """Sets the progress of this ModelProgramRunStatusInfo. + + current progress of the concerned operation as a number between 0 and 1 # noqa: E501 + + :param progress: The progress of this ModelProgramRunStatusInfo. # noqa: E501 + :type: float + """ + if self.local_vars_configuration.client_side_validation and progress is None: # noqa: E501 + raise ValueError("Invalid value for `progress`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + progress is not None and progress > 1): # noqa: E501 + raise ValueError("Invalid value for `progress`, must be a value less than or equal to `1`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + progress is not None and progress < 0): # noqa: E501 + raise ValueError("Invalid value for `progress`, must be a value greater than or equal to `0`") # noqa: E501 + + self._progress = progress + + @property + def model_uuid(self): + """Gets the model_uuid of this ModelProgramRunStatusInfo. # noqa: E501 + + uuid of the output model # noqa: E501 + + :return: The model_uuid of this ModelProgramRunStatusInfo. # noqa: E501 + :rtype: str + """ + return self._model_uuid + + @model_uuid.setter + def model_uuid(self, model_uuid): + """Sets the model_uuid of this ModelProgramRunStatusInfo. + + uuid of the output model # noqa: E501 + + :param model_uuid: The model_uuid of this ModelProgramRunStatusInfo. # noqa: E501 + :type: str + """ + + self._model_uuid = model_uuid + + @property + def failure_message(self): + """Gets the failure_message of this ModelProgramRunStatusInfo. # noqa: E501 + + message in case of failure # noqa: E501 + + :return: The failure_message of this ModelProgramRunStatusInfo. # noqa: E501 + :rtype: str + """ + return self._failure_message + + @failure_message.setter + def failure_message(self, failure_message): + """Sets the failure_message of this ModelProgramRunStatusInfo. + + message in case of failure # noqa: E501 + + :param failure_message: The failure_message of this ModelProgramRunStatusInfo. # noqa: E501 + :type: str + """ + + self._failure_message = failure_message + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ModelProgramRunStatusInfo): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ModelProgramRunStatusInfo): + return True + + return self.to_dict() != other.to_dict() diff --git a/v1/python/carbon3d/models/model_program_run_typed_request.py b/v1/python/carbon3d/models/model_program_run_typed_request.py new file mode 100755 index 0000000..f8594c4 --- /dev/null +++ b/v1/python/carbon3d/models/model_program_run_typed_request.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Carbon DLS API + + Welcome to the Carbon DLS API docs! # noqa: E501 + + The version of the OpenAPI document: 0.4.16 + Contact: api-list@carbon3d.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from carbon3d.configuration import Configuration + + +class ModelProgramRunTypedRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'model_program_uuid': 'str', + 'parameters': 'list[OneOfStringParameterIntegerParameterDoubleParameter]' + } + + attribute_map = { + 'model_program_uuid': 'model_program_uuid', + 'parameters': 'parameters' + } + + def __init__(self, model_program_uuid=None, parameters=None, local_vars_configuration=None): # noqa: E501 + """ModelProgramRunTypedRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._model_program_uuid = None + self._parameters = None + self.discriminator = None + + self.model_program_uuid = model_program_uuid + self.parameters = parameters + + @property + def model_program_uuid(self): + """Gets the model_program_uuid of this ModelProgramRunTypedRequest. # noqa: E501 + + uuid for a model program # noqa: E501 + + :return: The model_program_uuid of this ModelProgramRunTypedRequest. # noqa: E501 + :rtype: str + """ + return self._model_program_uuid + + @model_program_uuid.setter + def model_program_uuid(self, model_program_uuid): + """Sets the model_program_uuid of this ModelProgramRunTypedRequest. + + uuid for a model program # noqa: E501 + + :param model_program_uuid: The model_program_uuid of this ModelProgramRunTypedRequest. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and model_program_uuid is None: # noqa: E501 + raise ValueError("Invalid value for `model_program_uuid`, must not be `None`") # noqa: E501 + + self._model_program_uuid = model_program_uuid + + @property + def parameters(self): + """Gets the parameters of this ModelProgramRunTypedRequest. # noqa: E501 + + parameters for the model program # noqa: E501 + + :return: The parameters of this ModelProgramRunTypedRequest. # noqa: E501 + :rtype: list[OneOfStringParameterIntegerParameterDoubleParameter] + """ + return self._parameters + + @parameters.setter + def parameters(self, parameters): + """Sets the parameters of this ModelProgramRunTypedRequest. + + parameters for the model program # noqa: E501 + + :param parameters: The parameters of this ModelProgramRunTypedRequest. # noqa: E501 + :type: list[OneOfStringParameterIntegerParameterDoubleParameter] + """ + if self.local_vars_configuration.client_side_validation and parameters is None: # noqa: E501 + raise ValueError("Invalid value for `parameters`, must not be `None`") # noqa: E501 + + self._parameters = parameters + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ModelProgramRunTypedRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ModelProgramRunTypedRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/v1/python/carbon3d/models/model_program_runs.py b/v1/python/carbon3d/models/model_program_runs.py index cfdce35..0d73e6f 100755 --- a/v1/python/carbon3d/models/model_program_runs.py +++ b/v1/python/carbon3d/models/model_program_runs.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/model_resolve_upload_request.py b/v1/python/carbon3d/models/model_resolve_upload_request.py index 10c9b3c..2df8beb 100755 --- a/v1/python/carbon3d/models/model_resolve_upload_request.py +++ b/v1/python/carbon3d/models/model_resolve_upload_request.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/models_response.py b/v1/python/carbon3d/models/models_response.py index c3aaa44..19a6d8d 100755 --- a/v1/python/carbon3d/models/models_response.py +++ b/v1/python/carbon3d/models/models_response.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/part.py b/v1/python/carbon3d/models/part.py index ed2e977..bdf091e 100755 --- a/v1/python/carbon3d/models/part.py +++ b/v1/python/carbon3d/models/part.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/part_measurement.py b/v1/python/carbon3d/models/part_measurement.py index 19bd9f1..581b74f 100755 --- a/v1/python/carbon3d/models/part_measurement.py +++ b/v1/python/carbon3d/models/part_measurement.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/part_measurement_response.py b/v1/python/carbon3d/models/part_measurement_response.py index 09d6eb9..0f8772e 100755 --- a/v1/python/carbon3d/models/part_measurement_response.py +++ b/v1/python/carbon3d/models/part_measurement_response.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/part_measurement_template.py b/v1/python/carbon3d/models/part_measurement_template.py index b20f7bc..9b93eb2 100755 --- a/v1/python/carbon3d/models/part_measurement_template.py +++ b/v1/python/carbon3d/models/part_measurement_template.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/part_measurement_template_category_options.py b/v1/python/carbon3d/models/part_measurement_template_category_options.py index 5f2d0d3..759d3cb 100755 --- a/v1/python/carbon3d/models/part_measurement_template_category_options.py +++ b/v1/python/carbon3d/models/part_measurement_template_category_options.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/part_measurement_template_response.py b/v1/python/carbon3d/models/part_measurement_template_response.py index e27b9e3..e30ebae 100755 --- a/v1/python/carbon3d/models/part_measurement_template_response.py +++ b/v1/python/carbon3d/models/part_measurement_template_response.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/part_order.py b/v1/python/carbon3d/models/part_order.py index add8757..6afb28e 100755 --- a/v1/python/carbon3d/models/part_order.py +++ b/v1/python/carbon3d/models/part_order.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/part_order_request.py b/v1/python/carbon3d/models/part_order_request.py index 1ab6c84..e4ed7a6 100755 --- a/v1/python/carbon3d/models/part_order_request.py +++ b/v1/python/carbon3d/models/part_order_request.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/part_order_request_parts.py b/v1/python/carbon3d/models/part_order_request_parts.py index 85aca59..af668bf 100755 --- a/v1/python/carbon3d/models/part_order_request_parts.py +++ b/v1/python/carbon3d/models/part_order_request_parts.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/part_order_status.py b/v1/python/carbon3d/models/part_order_status.py index 4bef386..898bcbb 100755 --- a/v1/python/carbon3d/models/part_order_status.py +++ b/v1/python/carbon3d/models/part_order_status.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/part_order_update_request.py b/v1/python/carbon3d/models/part_order_update_request.py index 9b12416..6662b77 100755 --- a/v1/python/carbon3d/models/part_order_update_request.py +++ b/v1/python/carbon3d/models/part_order_update_request.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/part_orders_response.py b/v1/python/carbon3d/models/part_orders_response.py index 39ad8ed..da88a8c 100755 --- a/v1/python/carbon3d/models/part_orders_response.py +++ b/v1/python/carbon3d/models/part_orders_response.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/part_orders_response_part_orders.py b/v1/python/carbon3d/models/part_orders_response_part_orders.py index 751cdfb..c1bb9f6 100755 --- a/v1/python/carbon3d/models/part_orders_response_part_orders.py +++ b/v1/python/carbon3d/models/part_orders_response_part_orders.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/part_request.py b/v1/python/carbon3d/models/part_request.py index 58280ff..82d6c36 100755 --- a/v1/python/carbon3d/models/part_request.py +++ b/v1/python/carbon3d/models/part_request.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/parts_response.py b/v1/python/carbon3d/models/parts_response.py index a89518d..9d1d359 100755 --- a/v1/python/carbon3d/models/parts_response.py +++ b/v1/python/carbon3d/models/parts_response.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/print_config.py b/v1/python/carbon3d/models/print_config.py index 326b234..fad40e9 100755 --- a/v1/python/carbon3d/models/print_config.py +++ b/v1/python/carbon3d/models/print_config.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/print_data_qa.py b/v1/python/carbon3d/models/print_data_qa.py new file mode 100755 index 0000000..a248346 --- /dev/null +++ b/v1/python/carbon3d/models/print_data_qa.py @@ -0,0 +1,1317 @@ +# coding: utf-8 + +""" + Carbon DLS API + + Welcome to the Carbon DLS API docs! # noqa: E501 + + The version of the OpenAPI document: 0.4.16 + Contact: api-list@carbon3d.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from carbon3d.configuration import Configuration + + +class PrintDataQa(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'print_id': 'str', + 'printer_id': 'str', + 'total_slices': 'str', + 'cassette_name': 'str', + 'estimated_print_time__ms': 'str', + 'resin_exposure_compensation': 'str', + 'base_exposure_multiplier': 'str', + 'heater_setpoint__c': 'str', + 'printer_serial': 'str', + 'project_id': 'str', + 'print_number': 'str', + 'software_version': 'str', + 'printer_name': 'str', + 'ffb_enabled_print': 'str', + 'hardware_profile': 'str', + 'cassette_serial': 'str', + 'window_serial': 'str', + 'platform_serial': 'str', + 'resin_name': 'str', + 'blackline__um': 'str', + 'estimated_consumed_resin_volume__ml': 'str', + 'minimum_required_resin_volume__ml': 'str', + 'script_name': 'str', + 'project_name': 'str', + 'print_finished_status': 'str', + 'print_alerts': 'str', + 'started_date_time': 'str', + 'finished_date_time': 'str', + 'total_time__min': 'str', + 'move_time__min': 'str', + 'exposure_time_total__min': 'str', + 'total_delay_time__min': 'str', + 'light_engine_intensity__m_w_cm2': 'str', + 'current_to_light_engine__m_a': 'str', + 'avg_o2_partial_pressure_at_window__': 'str', + 'avg_o2_concentration__': 'str', + 'avg_o2_flow__ml_min': 'str', + 'estimated_resin_volume__ml': 'str', + 'slice_thickness__um': 'str', + 'build_height__mm': 'str', + 'created_at': 'str', + 'peak_wavelength__nm': 'str', + 'resin_alpha': 'str', + 'resin_dc': 'str', + 'resin_fc': 'str', + 'resin_viscosity': 'str', + 'light_engine_turned_on': 'str' + } + + attribute_map = { + 'print_id': 'Print ID', + 'printer_id': 'Printer ID', + 'total_slices': 'Total Slices', + 'cassette_name': 'Cassette Name', + 'estimated_print_time__ms': 'Estimated Print Time (ms)', + 'resin_exposure_compensation': 'Resin Exposure Compensation', + 'base_exposure_multiplier': 'Base Exposure Multiplier', + 'heater_setpoint__c': 'Heater Setpoint (C)', + 'printer_serial': 'Printer Serial', + 'project_id': 'Project ID', + 'print_number': 'Print Number', + 'software_version': 'Software Version', + 'printer_name': 'Printer Name', + 'ffb_enabled_print': 'FFB Enabled Print', + 'hardware_profile': 'Hardware Profile', + 'cassette_serial': 'Cassette Serial', + 'window_serial': 'Window Serial', + 'platform_serial': 'Platform Serial', + 'resin_name': 'Resin Name', + 'blackline__um': 'Blackline (um)', + 'estimated_consumed_resin_volume__ml': 'Estimated Consumed Resin Volume (ml)', + 'minimum_required_resin_volume__ml': 'Minimum Required Resin Volume (ml)', + 'script_name': 'Script Name', + 'project_name': 'Project Name', + 'print_finished_status': 'Print Finished Status', + 'print_alerts': 'Print Alerts', + 'started_date_time': 'Started Date-Time', + 'finished_date_time': 'Finished Date-Time', + 'total_time__min': 'Total Time (min)', + 'move_time__min': 'Move Time (min)', + 'exposure_time_total__min': 'Exposure Time Total (min)', + 'total_delay_time__min': 'Total Delay Time (min)', + 'light_engine_intensity__m_w_cm2': 'Light Engine Intensity (mW/cm2)', + 'current_to_light_engine__m_a': 'Current to Light Engine (mA)', + 'avg_o2_partial_pressure_at_window__': 'Avg O2 Partial Pressure at Window (%)', + 'avg_o2_concentration__': 'Avg O2 Concentration (%)', + 'avg_o2_flow__ml_min': 'Avg O2 Flow (ml/min)', + 'estimated_resin_volume__ml': 'Estimated Resin Volume (ml)', + 'slice_thickness__um': 'Slice Thickness (um)', + 'build_height__mm': 'Build Height (mm)', + 'created_at': 'Created At', + 'peak_wavelength__nm': 'Peak Wavelength (nm)', + 'resin_alpha': 'Resin Alpha', + 'resin_dc': 'Resin DC', + 'resin_fc': 'Resin FC', + 'resin_viscosity': 'Resin Viscosity', + 'light_engine_turned_on': 'Light Engine Turned On' + } + + def __init__(self, print_id=None, printer_id=None, total_slices=None, cassette_name=None, estimated_print_time__ms=None, resin_exposure_compensation=None, base_exposure_multiplier=None, heater_setpoint__c=None, printer_serial=None, project_id=None, print_number=None, software_version=None, printer_name=None, ffb_enabled_print=None, hardware_profile=None, cassette_serial=None, window_serial=None, platform_serial=None, resin_name=None, blackline__um=None, estimated_consumed_resin_volume__ml=None, minimum_required_resin_volume__ml=None, script_name=None, project_name=None, print_finished_status=None, print_alerts=None, started_date_time=None, finished_date_time=None, total_time__min=None, move_time__min=None, exposure_time_total__min=None, total_delay_time__min=None, light_engine_intensity__m_w_cm2=None, current_to_light_engine__m_a=None, avg_o2_partial_pressure_at_window__=None, avg_o2_concentration__=None, avg_o2_flow__ml_min=None, estimated_resin_volume__ml=None, slice_thickness__um=None, build_height__mm=None, created_at=None, peak_wavelength__nm=None, resin_alpha=None, resin_dc=None, resin_fc=None, resin_viscosity=None, light_engine_turned_on=None, local_vars_configuration=None): # noqa: E501 + """PrintDataQa - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._print_id = None + self._printer_id = None + self._total_slices = None + self._cassette_name = None + self._estimated_print_time__ms = None + self._resin_exposure_compensation = None + self._base_exposure_multiplier = None + self._heater_setpoint__c = None + self._printer_serial = None + self._project_id = None + self._print_number = None + self._software_version = None + self._printer_name = None + self._ffb_enabled_print = None + self._hardware_profile = None + self._cassette_serial = None + self._window_serial = None + self._platform_serial = None + self._resin_name = None + self._blackline__um = None + self._estimated_consumed_resin_volume__ml = None + self._minimum_required_resin_volume__ml = None + self._script_name = None + self._project_name = None + self._print_finished_status = None + self._print_alerts = None + self._started_date_time = None + self._finished_date_time = None + self._total_time__min = None + self._move_time__min = None + self._exposure_time_total__min = None + self._total_delay_time__min = None + self._light_engine_intensity__m_w_cm2 = None + self._current_to_light_engine__m_a = None + self._avg_o2_partial_pressure_at_window__ = None + self._avg_o2_concentration__ = None + self._avg_o2_flow__ml_min = None + self._estimated_resin_volume__ml = None + self._slice_thickness__um = None + self._build_height__mm = None + self._created_at = None + self._peak_wavelength__nm = None + self._resin_alpha = None + self._resin_dc = None + self._resin_fc = None + self._resin_viscosity = None + self._light_engine_turned_on = None + self.discriminator = None + + if print_id is not None: + self.print_id = print_id + if printer_id is not None: + self.printer_id = printer_id + if total_slices is not None: + self.total_slices = total_slices + if cassette_name is not None: + self.cassette_name = cassette_name + if estimated_print_time__ms is not None: + self.estimated_print_time__ms = estimated_print_time__ms + if resin_exposure_compensation is not None: + self.resin_exposure_compensation = resin_exposure_compensation + if base_exposure_multiplier is not None: + self.base_exposure_multiplier = base_exposure_multiplier + if heater_setpoint__c is not None: + self.heater_setpoint__c = heater_setpoint__c + if printer_serial is not None: + self.printer_serial = printer_serial + if project_id is not None: + self.project_id = project_id + if print_number is not None: + self.print_number = print_number + if software_version is not None: + self.software_version = software_version + if printer_name is not None: + self.printer_name = printer_name + if ffb_enabled_print is not None: + self.ffb_enabled_print = ffb_enabled_print + if hardware_profile is not None: + self.hardware_profile = hardware_profile + if cassette_serial is not None: + self.cassette_serial = cassette_serial + if window_serial is not None: + self.window_serial = window_serial + if platform_serial is not None: + self.platform_serial = platform_serial + if resin_name is not None: + self.resin_name = resin_name + if blackline__um is not None: + self.blackline__um = blackline__um + if estimated_consumed_resin_volume__ml is not None: + self.estimated_consumed_resin_volume__ml = estimated_consumed_resin_volume__ml + if minimum_required_resin_volume__ml is not None: + self.minimum_required_resin_volume__ml = minimum_required_resin_volume__ml + if script_name is not None: + self.script_name = script_name + if project_name is not None: + self.project_name = project_name + if print_finished_status is not None: + self.print_finished_status = print_finished_status + if print_alerts is not None: + self.print_alerts = print_alerts + if started_date_time is not None: + self.started_date_time = started_date_time + if finished_date_time is not None: + self.finished_date_time = finished_date_time + if total_time__min is not None: + self.total_time__min = total_time__min + if move_time__min is not None: + self.move_time__min = move_time__min + if exposure_time_total__min is not None: + self.exposure_time_total__min = exposure_time_total__min + if total_delay_time__min is not None: + self.total_delay_time__min = total_delay_time__min + if light_engine_intensity__m_w_cm2 is not None: + self.light_engine_intensity__m_w_cm2 = light_engine_intensity__m_w_cm2 + if current_to_light_engine__m_a is not None: + self.current_to_light_engine__m_a = current_to_light_engine__m_a + if avg_o2_partial_pressure_at_window__ is not None: + self.avg_o2_partial_pressure_at_window__ = avg_o2_partial_pressure_at_window__ + if avg_o2_concentration__ is not None: + self.avg_o2_concentration__ = avg_o2_concentration__ + if avg_o2_flow__ml_min is not None: + self.avg_o2_flow__ml_min = avg_o2_flow__ml_min + if estimated_resin_volume__ml is not None: + self.estimated_resin_volume__ml = estimated_resin_volume__ml + if slice_thickness__um is not None: + self.slice_thickness__um = slice_thickness__um + if build_height__mm is not None: + self.build_height__mm = build_height__mm + if created_at is not None: + self.created_at = created_at + if peak_wavelength__nm is not None: + self.peak_wavelength__nm = peak_wavelength__nm + if resin_alpha is not None: + self.resin_alpha = resin_alpha + if resin_dc is not None: + self.resin_dc = resin_dc + if resin_fc is not None: + self.resin_fc = resin_fc + if resin_viscosity is not None: + self.resin_viscosity = resin_viscosity + if light_engine_turned_on is not None: + self.light_engine_turned_on = light_engine_turned_on + + @property + def print_id(self): + """Gets the print_id of this PrintDataQa. # noqa: E501 + + + :return: The print_id of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._print_id + + @print_id.setter + def print_id(self, print_id): + """Sets the print_id of this PrintDataQa. + + + :param print_id: The print_id of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._print_id = print_id + + @property + def printer_id(self): + """Gets the printer_id of this PrintDataQa. # noqa: E501 + + + :return: The printer_id of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._printer_id + + @printer_id.setter + def printer_id(self, printer_id): + """Sets the printer_id of this PrintDataQa. + + + :param printer_id: The printer_id of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._printer_id = printer_id + + @property + def total_slices(self): + """Gets the total_slices of this PrintDataQa. # noqa: E501 + + + :return: The total_slices of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._total_slices + + @total_slices.setter + def total_slices(self, total_slices): + """Sets the total_slices of this PrintDataQa. + + + :param total_slices: The total_slices of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._total_slices = total_slices + + @property + def cassette_name(self): + """Gets the cassette_name of this PrintDataQa. # noqa: E501 + + + :return: The cassette_name of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._cassette_name + + @cassette_name.setter + def cassette_name(self, cassette_name): + """Sets the cassette_name of this PrintDataQa. + + + :param cassette_name: The cassette_name of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._cassette_name = cassette_name + + @property + def estimated_print_time__ms(self): + """Gets the estimated_print_time__ms of this PrintDataQa. # noqa: E501 + + + :return: The estimated_print_time__ms of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._estimated_print_time__ms + + @estimated_print_time__ms.setter + def estimated_print_time__ms(self, estimated_print_time__ms): + """Sets the estimated_print_time__ms of this PrintDataQa. + + + :param estimated_print_time__ms: The estimated_print_time__ms of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._estimated_print_time__ms = estimated_print_time__ms + + @property + def resin_exposure_compensation(self): + """Gets the resin_exposure_compensation of this PrintDataQa. # noqa: E501 + + + :return: The resin_exposure_compensation of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._resin_exposure_compensation + + @resin_exposure_compensation.setter + def resin_exposure_compensation(self, resin_exposure_compensation): + """Sets the resin_exposure_compensation of this PrintDataQa. + + + :param resin_exposure_compensation: The resin_exposure_compensation of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._resin_exposure_compensation = resin_exposure_compensation + + @property + def base_exposure_multiplier(self): + """Gets the base_exposure_multiplier of this PrintDataQa. # noqa: E501 + + + :return: The base_exposure_multiplier of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._base_exposure_multiplier + + @base_exposure_multiplier.setter + def base_exposure_multiplier(self, base_exposure_multiplier): + """Sets the base_exposure_multiplier of this PrintDataQa. + + + :param base_exposure_multiplier: The base_exposure_multiplier of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._base_exposure_multiplier = base_exposure_multiplier + + @property + def heater_setpoint__c(self): + """Gets the heater_setpoint__c of this PrintDataQa. # noqa: E501 + + + :return: The heater_setpoint__c of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._heater_setpoint__c + + @heater_setpoint__c.setter + def heater_setpoint__c(self, heater_setpoint__c): + """Sets the heater_setpoint__c of this PrintDataQa. + + + :param heater_setpoint__c: The heater_setpoint__c of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._heater_setpoint__c = heater_setpoint__c + + @property + def printer_serial(self): + """Gets the printer_serial of this PrintDataQa. # noqa: E501 + + + :return: The printer_serial of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._printer_serial + + @printer_serial.setter + def printer_serial(self, printer_serial): + """Sets the printer_serial of this PrintDataQa. + + + :param printer_serial: The printer_serial of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._printer_serial = printer_serial + + @property + def project_id(self): + """Gets the project_id of this PrintDataQa. # noqa: E501 + + + :return: The project_id of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._project_id + + @project_id.setter + def project_id(self, project_id): + """Sets the project_id of this PrintDataQa. + + + :param project_id: The project_id of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._project_id = project_id + + @property + def print_number(self): + """Gets the print_number of this PrintDataQa. # noqa: E501 + + + :return: The print_number of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._print_number + + @print_number.setter + def print_number(self, print_number): + """Sets the print_number of this PrintDataQa. + + + :param print_number: The print_number of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._print_number = print_number + + @property + def software_version(self): + """Gets the software_version of this PrintDataQa. # noqa: E501 + + + :return: The software_version of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._software_version + + @software_version.setter + def software_version(self, software_version): + """Sets the software_version of this PrintDataQa. + + + :param software_version: The software_version of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._software_version = software_version + + @property + def printer_name(self): + """Gets the printer_name of this PrintDataQa. # noqa: E501 + + + :return: The printer_name of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._printer_name + + @printer_name.setter + def printer_name(self, printer_name): + """Sets the printer_name of this PrintDataQa. + + + :param printer_name: The printer_name of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._printer_name = printer_name + + @property + def ffb_enabled_print(self): + """Gets the ffb_enabled_print of this PrintDataQa. # noqa: E501 + + + :return: The ffb_enabled_print of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._ffb_enabled_print + + @ffb_enabled_print.setter + def ffb_enabled_print(self, ffb_enabled_print): + """Sets the ffb_enabled_print of this PrintDataQa. + + + :param ffb_enabled_print: The ffb_enabled_print of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._ffb_enabled_print = ffb_enabled_print + + @property + def hardware_profile(self): + """Gets the hardware_profile of this PrintDataQa. # noqa: E501 + + + :return: The hardware_profile of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._hardware_profile + + @hardware_profile.setter + def hardware_profile(self, hardware_profile): + """Sets the hardware_profile of this PrintDataQa. + + + :param hardware_profile: The hardware_profile of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._hardware_profile = hardware_profile + + @property + def cassette_serial(self): + """Gets the cassette_serial of this PrintDataQa. # noqa: E501 + + + :return: The cassette_serial of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._cassette_serial + + @cassette_serial.setter + def cassette_serial(self, cassette_serial): + """Sets the cassette_serial of this PrintDataQa. + + + :param cassette_serial: The cassette_serial of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._cassette_serial = cassette_serial + + @property + def window_serial(self): + """Gets the window_serial of this PrintDataQa. # noqa: E501 + + + :return: The window_serial of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._window_serial + + @window_serial.setter + def window_serial(self, window_serial): + """Sets the window_serial of this PrintDataQa. + + + :param window_serial: The window_serial of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._window_serial = window_serial + + @property + def platform_serial(self): + """Gets the platform_serial of this PrintDataQa. # noqa: E501 + + + :return: The platform_serial of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._platform_serial + + @platform_serial.setter + def platform_serial(self, platform_serial): + """Sets the platform_serial of this PrintDataQa. + + + :param platform_serial: The platform_serial of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._platform_serial = platform_serial + + @property + def resin_name(self): + """Gets the resin_name of this PrintDataQa. # noqa: E501 + + + :return: The resin_name of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._resin_name + + @resin_name.setter + def resin_name(self, resin_name): + """Sets the resin_name of this PrintDataQa. + + + :param resin_name: The resin_name of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._resin_name = resin_name + + @property + def blackline__um(self): + """Gets the blackline__um of this PrintDataQa. # noqa: E501 + + + :return: The blackline__um of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._blackline__um + + @blackline__um.setter + def blackline__um(self, blackline__um): + """Sets the blackline__um of this PrintDataQa. + + + :param blackline__um: The blackline__um of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._blackline__um = blackline__um + + @property + def estimated_consumed_resin_volume__ml(self): + """Gets the estimated_consumed_resin_volume__ml of this PrintDataQa. # noqa: E501 + + + :return: The estimated_consumed_resin_volume__ml of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._estimated_consumed_resin_volume__ml + + @estimated_consumed_resin_volume__ml.setter + def estimated_consumed_resin_volume__ml(self, estimated_consumed_resin_volume__ml): + """Sets the estimated_consumed_resin_volume__ml of this PrintDataQa. + + + :param estimated_consumed_resin_volume__ml: The estimated_consumed_resin_volume__ml of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._estimated_consumed_resin_volume__ml = estimated_consumed_resin_volume__ml + + @property + def minimum_required_resin_volume__ml(self): + """Gets the minimum_required_resin_volume__ml of this PrintDataQa. # noqa: E501 + + + :return: The minimum_required_resin_volume__ml of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._minimum_required_resin_volume__ml + + @minimum_required_resin_volume__ml.setter + def minimum_required_resin_volume__ml(self, minimum_required_resin_volume__ml): + """Sets the minimum_required_resin_volume__ml of this PrintDataQa. + + + :param minimum_required_resin_volume__ml: The minimum_required_resin_volume__ml of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._minimum_required_resin_volume__ml = minimum_required_resin_volume__ml + + @property + def script_name(self): + """Gets the script_name of this PrintDataQa. # noqa: E501 + + + :return: The script_name of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._script_name + + @script_name.setter + def script_name(self, script_name): + """Sets the script_name of this PrintDataQa. + + + :param script_name: The script_name of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._script_name = script_name + + @property + def project_name(self): + """Gets the project_name of this PrintDataQa. # noqa: E501 + + + :return: The project_name of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._project_name + + @project_name.setter + def project_name(self, project_name): + """Sets the project_name of this PrintDataQa. + + + :param project_name: The project_name of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._project_name = project_name + + @property + def print_finished_status(self): + """Gets the print_finished_status of this PrintDataQa. # noqa: E501 + + + :return: The print_finished_status of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._print_finished_status + + @print_finished_status.setter + def print_finished_status(self, print_finished_status): + """Sets the print_finished_status of this PrintDataQa. + + + :param print_finished_status: The print_finished_status of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._print_finished_status = print_finished_status + + @property + def print_alerts(self): + """Gets the print_alerts of this PrintDataQa. # noqa: E501 + + + :return: The print_alerts of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._print_alerts + + @print_alerts.setter + def print_alerts(self, print_alerts): + """Sets the print_alerts of this PrintDataQa. + + + :param print_alerts: The print_alerts of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._print_alerts = print_alerts + + @property + def started_date_time(self): + """Gets the started_date_time of this PrintDataQa. # noqa: E501 + + + :return: The started_date_time of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._started_date_time + + @started_date_time.setter + def started_date_time(self, started_date_time): + """Sets the started_date_time of this PrintDataQa. + + + :param started_date_time: The started_date_time of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._started_date_time = started_date_time + + @property + def finished_date_time(self): + """Gets the finished_date_time of this PrintDataQa. # noqa: E501 + + + :return: The finished_date_time of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._finished_date_time + + @finished_date_time.setter + def finished_date_time(self, finished_date_time): + """Sets the finished_date_time of this PrintDataQa. + + + :param finished_date_time: The finished_date_time of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._finished_date_time = finished_date_time + + @property + def total_time__min(self): + """Gets the total_time__min of this PrintDataQa. # noqa: E501 + + + :return: The total_time__min of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._total_time__min + + @total_time__min.setter + def total_time__min(self, total_time__min): + """Sets the total_time__min of this PrintDataQa. + + + :param total_time__min: The total_time__min of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._total_time__min = total_time__min + + @property + def move_time__min(self): + """Gets the move_time__min of this PrintDataQa. # noqa: E501 + + + :return: The move_time__min of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._move_time__min + + @move_time__min.setter + def move_time__min(self, move_time__min): + """Sets the move_time__min of this PrintDataQa. + + + :param move_time__min: The move_time__min of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._move_time__min = move_time__min + + @property + def exposure_time_total__min(self): + """Gets the exposure_time_total__min of this PrintDataQa. # noqa: E501 + + + :return: The exposure_time_total__min of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._exposure_time_total__min + + @exposure_time_total__min.setter + def exposure_time_total__min(self, exposure_time_total__min): + """Sets the exposure_time_total__min of this PrintDataQa. + + + :param exposure_time_total__min: The exposure_time_total__min of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._exposure_time_total__min = exposure_time_total__min + + @property + def total_delay_time__min(self): + """Gets the total_delay_time__min of this PrintDataQa. # noqa: E501 + + + :return: The total_delay_time__min of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._total_delay_time__min + + @total_delay_time__min.setter + def total_delay_time__min(self, total_delay_time__min): + """Sets the total_delay_time__min of this PrintDataQa. + + + :param total_delay_time__min: The total_delay_time__min of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._total_delay_time__min = total_delay_time__min + + @property + def light_engine_intensity__m_w_cm2(self): + """Gets the light_engine_intensity__m_w_cm2 of this PrintDataQa. # noqa: E501 + + + :return: The light_engine_intensity__m_w_cm2 of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._light_engine_intensity__m_w_cm2 + + @light_engine_intensity__m_w_cm2.setter + def light_engine_intensity__m_w_cm2(self, light_engine_intensity__m_w_cm2): + """Sets the light_engine_intensity__m_w_cm2 of this PrintDataQa. + + + :param light_engine_intensity__m_w_cm2: The light_engine_intensity__m_w_cm2 of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._light_engine_intensity__m_w_cm2 = light_engine_intensity__m_w_cm2 + + @property + def current_to_light_engine__m_a(self): + """Gets the current_to_light_engine__m_a of this PrintDataQa. # noqa: E501 + + + :return: The current_to_light_engine__m_a of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._current_to_light_engine__m_a + + @current_to_light_engine__m_a.setter + def current_to_light_engine__m_a(self, current_to_light_engine__m_a): + """Sets the current_to_light_engine__m_a of this PrintDataQa. + + + :param current_to_light_engine__m_a: The current_to_light_engine__m_a of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._current_to_light_engine__m_a = current_to_light_engine__m_a + + @property + def avg_o2_partial_pressure_at_window__(self): + """Gets the avg_o2_partial_pressure_at_window__ of this PrintDataQa. # noqa: E501 + + + :return: The avg_o2_partial_pressure_at_window__ of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._avg_o2_partial_pressure_at_window__ + + @avg_o2_partial_pressure_at_window__.setter + def avg_o2_partial_pressure_at_window__(self, avg_o2_partial_pressure_at_window__): + """Sets the avg_o2_partial_pressure_at_window__ of this PrintDataQa. + + + :param avg_o2_partial_pressure_at_window__: The avg_o2_partial_pressure_at_window__ of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._avg_o2_partial_pressure_at_window__ = avg_o2_partial_pressure_at_window__ + + @property + def avg_o2_concentration__(self): + """Gets the avg_o2_concentration__ of this PrintDataQa. # noqa: E501 + + + :return: The avg_o2_concentration__ of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._avg_o2_concentration__ + + @avg_o2_concentration__.setter + def avg_o2_concentration__(self, avg_o2_concentration__): + """Sets the avg_o2_concentration__ of this PrintDataQa. + + + :param avg_o2_concentration__: The avg_o2_concentration__ of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._avg_o2_concentration__ = avg_o2_concentration__ + + @property + def avg_o2_flow__ml_min(self): + """Gets the avg_o2_flow__ml_min of this PrintDataQa. # noqa: E501 + + + :return: The avg_o2_flow__ml_min of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._avg_o2_flow__ml_min + + @avg_o2_flow__ml_min.setter + def avg_o2_flow__ml_min(self, avg_o2_flow__ml_min): + """Sets the avg_o2_flow__ml_min of this PrintDataQa. + + + :param avg_o2_flow__ml_min: The avg_o2_flow__ml_min of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._avg_o2_flow__ml_min = avg_o2_flow__ml_min + + @property + def estimated_resin_volume__ml(self): + """Gets the estimated_resin_volume__ml of this PrintDataQa. # noqa: E501 + + + :return: The estimated_resin_volume__ml of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._estimated_resin_volume__ml + + @estimated_resin_volume__ml.setter + def estimated_resin_volume__ml(self, estimated_resin_volume__ml): + """Sets the estimated_resin_volume__ml of this PrintDataQa. + + + :param estimated_resin_volume__ml: The estimated_resin_volume__ml of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._estimated_resin_volume__ml = estimated_resin_volume__ml + + @property + def slice_thickness__um(self): + """Gets the slice_thickness__um of this PrintDataQa. # noqa: E501 + + + :return: The slice_thickness__um of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._slice_thickness__um + + @slice_thickness__um.setter + def slice_thickness__um(self, slice_thickness__um): + """Sets the slice_thickness__um of this PrintDataQa. + + + :param slice_thickness__um: The slice_thickness__um of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._slice_thickness__um = slice_thickness__um + + @property + def build_height__mm(self): + """Gets the build_height__mm of this PrintDataQa. # noqa: E501 + + + :return: The build_height__mm of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._build_height__mm + + @build_height__mm.setter + def build_height__mm(self, build_height__mm): + """Sets the build_height__mm of this PrintDataQa. + + + :param build_height__mm: The build_height__mm of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._build_height__mm = build_height__mm + + @property + def created_at(self): + """Gets the created_at of this PrintDataQa. # noqa: E501 + + + :return: The created_at of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this PrintDataQa. + + + :param created_at: The created_at of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._created_at = created_at + + @property + def peak_wavelength__nm(self): + """Gets the peak_wavelength__nm of this PrintDataQa. # noqa: E501 + + + :return: The peak_wavelength__nm of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._peak_wavelength__nm + + @peak_wavelength__nm.setter + def peak_wavelength__nm(self, peak_wavelength__nm): + """Sets the peak_wavelength__nm of this PrintDataQa. + + + :param peak_wavelength__nm: The peak_wavelength__nm of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._peak_wavelength__nm = peak_wavelength__nm + + @property + def resin_alpha(self): + """Gets the resin_alpha of this PrintDataQa. # noqa: E501 + + + :return: The resin_alpha of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._resin_alpha + + @resin_alpha.setter + def resin_alpha(self, resin_alpha): + """Sets the resin_alpha of this PrintDataQa. + + + :param resin_alpha: The resin_alpha of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._resin_alpha = resin_alpha + + @property + def resin_dc(self): + """Gets the resin_dc of this PrintDataQa. # noqa: E501 + + + :return: The resin_dc of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._resin_dc + + @resin_dc.setter + def resin_dc(self, resin_dc): + """Sets the resin_dc of this PrintDataQa. + + + :param resin_dc: The resin_dc of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._resin_dc = resin_dc + + @property + def resin_fc(self): + """Gets the resin_fc of this PrintDataQa. # noqa: E501 + + + :return: The resin_fc of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._resin_fc + + @resin_fc.setter + def resin_fc(self, resin_fc): + """Sets the resin_fc of this PrintDataQa. + + + :param resin_fc: The resin_fc of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._resin_fc = resin_fc + + @property + def resin_viscosity(self): + """Gets the resin_viscosity of this PrintDataQa. # noqa: E501 + + + :return: The resin_viscosity of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._resin_viscosity + + @resin_viscosity.setter + def resin_viscosity(self, resin_viscosity): + """Sets the resin_viscosity of this PrintDataQa. + + + :param resin_viscosity: The resin_viscosity of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._resin_viscosity = resin_viscosity + + @property + def light_engine_turned_on(self): + """Gets the light_engine_turned_on of this PrintDataQa. # noqa: E501 + + + :return: The light_engine_turned_on of this PrintDataQa. # noqa: E501 + :rtype: str + """ + return self._light_engine_turned_on + + @light_engine_turned_on.setter + def light_engine_turned_on(self, light_engine_turned_on): + """Sets the light_engine_turned_on of this PrintDataQa. + + + :param light_engine_turned_on: The light_engine_turned_on of this PrintDataQa. # noqa: E501 + :type: str + """ + + self._light_engine_turned_on = light_engine_turned_on + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, PrintDataQa): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, PrintDataQa): + return True + + return self.to_dict() != other.to_dict() diff --git a/v1/python/carbon3d/models/print_feedback.py b/v1/python/carbon3d/models/print_feedback.py index 75cfe3f..77b0eb8 100755 --- a/v1/python/carbon3d/models/print_feedback.py +++ b/v1/python/carbon3d/models/print_feedback.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/print_metrics.py b/v1/python/carbon3d/models/print_metrics.py index 6b63f48..d42b306 100755 --- a/v1/python/carbon3d/models/print_metrics.py +++ b/v1/python/carbon3d/models/print_metrics.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/print_order.py b/v1/python/carbon3d/models/print_order.py index b531839..2a1dda8 100755 --- a/v1/python/carbon3d/models/print_order.py +++ b/v1/python/carbon3d/models/print_order.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/print_order_request.py b/v1/python/carbon3d/models/print_order_request.py index 88c0ee7..e4c5c18 100755 --- a/v1/python/carbon3d/models/print_order_request.py +++ b/v1/python/carbon3d/models/print_order_request.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/print_order_routed_to.py b/v1/python/carbon3d/models/print_order_routed_to.py index a849a8b..e8747c9 100755 --- a/v1/python/carbon3d/models/print_order_routed_to.py +++ b/v1/python/carbon3d/models/print_order_routed_to.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/print_order_update_request.py b/v1/python/carbon3d/models/print_order_update_request.py index 0211dbd..f33c0a9 100755 --- a/v1/python/carbon3d/models/print_order_update_request.py +++ b/v1/python/carbon3d/models/print_order_update_request.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/print_orders_response.py b/v1/python/carbon3d/models/print_orders_response.py index 9cbc0ee..e1f1674 100755 --- a/v1/python/carbon3d/models/print_orders_response.py +++ b/v1/python/carbon3d/models/print_orders_response.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/print_origin.py b/v1/python/carbon3d/models/print_origin.py index d0b892b..25ba555 100755 --- a/v1/python/carbon3d/models/print_origin.py +++ b/v1/python/carbon3d/models/print_origin.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/print_ref.py b/v1/python/carbon3d/models/print_ref.py index 3cf8b65..a93f989 100755 --- a/v1/python/carbon3d/models/print_ref.py +++ b/v1/python/carbon3d/models/print_ref.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/printed_part.py b/v1/python/carbon3d/models/printed_part.py index af5e581..8c977d9 100755 --- a/v1/python/carbon3d/models/printed_part.py +++ b/v1/python/carbon3d/models/printed_part.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/printed_part_ref.py b/v1/python/carbon3d/models/printed_part_ref.py index 7f37271..955fa15 100755 --- a/v1/python/carbon3d/models/printed_part_ref.py +++ b/v1/python/carbon3d/models/printed_part_ref.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/printed_part_status.py b/v1/python/carbon3d/models/printed_part_status.py index 86ba95e..474877c 100755 --- a/v1/python/carbon3d/models/printed_part_status.py +++ b/v1/python/carbon3d/models/printed_part_status.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/printed_part_tags.py b/v1/python/carbon3d/models/printed_part_tags.py index faa3ceb..536452d 100755 --- a/v1/python/carbon3d/models/printed_part_tags.py +++ b/v1/python/carbon3d/models/printed_part_tags.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/printed_parts_response.py b/v1/python/carbon3d/models/printed_parts_response.py index c6e03e8..09c77c8 100755 --- a/v1/python/carbon3d/models/printed_parts_response.py +++ b/v1/python/carbon3d/models/printed_parts_response.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/printer.py b/v1/python/carbon3d/models/printer.py index fd22f50..6ff8f63 100755 --- a/v1/python/carbon3d/models/printer.py +++ b/v1/python/carbon3d/models/printer.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/printer_prints.py b/v1/python/carbon3d/models/printer_prints.py index b738aba..29c7faa 100755 --- a/v1/python/carbon3d/models/printer_prints.py +++ b/v1/python/carbon3d/models/printer_prints.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/printer_queue.py b/v1/python/carbon3d/models/printer_queue.py index 2d6cddd..aae3c69 100755 --- a/v1/python/carbon3d/models/printer_queue.py +++ b/v1/python/carbon3d/models/printer_queue.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/printer_queue_delete_request.py b/v1/python/carbon3d/models/printer_queue_delete_request.py index 440929a..6815ba1 100755 --- a/v1/python/carbon3d/models/printer_queue_delete_request.py +++ b/v1/python/carbon3d/models/printer_queue_delete_request.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/printer_queue_move_request.py b/v1/python/carbon3d/models/printer_queue_move_request.py index 8337082..17d30d6 100755 --- a/v1/python/carbon3d/models/printer_queue_move_request.py +++ b/v1/python/carbon3d/models/printer_queue_move_request.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/printer_queue_update_response.py b/v1/python/carbon3d/models/printer_queue_update_response.py index a62516b..977a86c 100755 --- a/v1/python/carbon3d/models/printer_queue_update_response.py +++ b/v1/python/carbon3d/models/printer_queue_update_response.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/printer_queues_response.py b/v1/python/carbon3d/models/printer_queues_response.py index ae492f2..ee958fb 100755 --- a/v1/python/carbon3d/models/printer_queues_response.py +++ b/v1/python/carbon3d/models/printer_queues_response.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/printer_status.py b/v1/python/carbon3d/models/printer_status.py index bb4e172..eaaae32 100755 --- a/v1/python/carbon3d/models/printer_status.py +++ b/v1/python/carbon3d/models/printer_status.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/printers_response.py b/v1/python/carbon3d/models/printers_response.py index 985c096..e626a39 100755 --- a/v1/python/carbon3d/models/printers_response.py +++ b/v1/python/carbon3d/models/printers_response.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/prints_data_qa_response.py b/v1/python/carbon3d/models/prints_data_qa_response.py new file mode 100755 index 0000000..1c189d3 --- /dev/null +++ b/v1/python/carbon3d/models/prints_data_qa_response.py @@ -0,0 +1,121 @@ +# coding: utf-8 + +""" + Carbon DLS API + + Welcome to the Carbon DLS API docs! # noqa: E501 + + The version of the OpenAPI document: 0.4.16 + Contact: api-list@carbon3d.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from carbon3d.configuration import Configuration + + +class PrintsDataQAResponse(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'prints': 'list[PrintDataQa]' + } + + attribute_map = { + 'prints': 'prints' + } + + def __init__(self, prints=None, local_vars_configuration=None): # noqa: E501 + """PrintsDataQAResponse - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._prints = None + self.discriminator = None + + if prints is not None: + self.prints = prints + + @property + def prints(self): + """Gets the prints of this PrintsDataQAResponse. # noqa: E501 + + + :return: The prints of this PrintsDataQAResponse. # noqa: E501 + :rtype: list[PrintDataQa] + """ + return self._prints + + @prints.setter + def prints(self, prints): + """Sets the prints of this PrintsDataQAResponse. + + + :param prints: The prints of this PrintsDataQAResponse. # noqa: E501 + :type: list[PrintDataQa] + """ + + self._prints = prints + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, PrintsDataQAResponse): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, PrintsDataQAResponse): + return True + + return self.to_dict() != other.to_dict() diff --git a/v1/python/carbon3d/models/prints_response.py b/v1/python/carbon3d/models/prints_response.py index e800e93..ffefaf3 100755 --- a/v1/python/carbon3d/models/prints_response.py +++ b/v1/python/carbon3d/models/prints_response.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/carbon3d/models/string_parameter.py b/v1/python/carbon3d/models/string_parameter.py new file mode 100755 index 0000000..7fb1fa6 --- /dev/null +++ b/v1/python/carbon3d/models/string_parameter.py @@ -0,0 +1,175 @@ +# coding: utf-8 + +""" + Carbon DLS API + + Welcome to the Carbon DLS API docs! # noqa: E501 + + The version of the OpenAPI document: 0.4.16 + Contact: api-list@carbon3d.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from carbon3d.configuration import Configuration + + +class StringParameter(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'key': 'str', + 'type': 'str', + 'value': 'str' + } + + attribute_map = { + 'key': 'key', + 'type': 'type', + 'value': 'value' + } + + def __init__(self, key=None, type=None, value=None, local_vars_configuration=None): # noqa: E501 + """StringParameter - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._key = None + self._type = None + self._value = None + self.discriminator = None + + self.key = key + if type is not None: + self.type = type + self.value = value + + @property + def key(self): + """Gets the key of this StringParameter. # noqa: E501 + + + :return: The key of this StringParameter. # noqa: E501 + :rtype: str + """ + return self._key + + @key.setter + def key(self, key): + """Sets the key of this StringParameter. + + + :param key: The key of this StringParameter. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and key is None: # noqa: E501 + raise ValueError("Invalid value for `key`, must not be `None`") # noqa: E501 + + self._key = key + + @property + def type(self): + """Gets the type of this StringParameter. # noqa: E501 + + + :return: The type of this StringParameter. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this StringParameter. + + + :param type: The type of this StringParameter. # noqa: E501 + :type: str + """ + + self._type = type + + @property + def value(self): + """Gets the value of this StringParameter. # noqa: E501 + + + :return: The value of this StringParameter. # noqa: E501 + :rtype: str + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this StringParameter. + + + :param value: The value of this StringParameter. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and value is None: # noqa: E501 + raise ValueError("Invalid value for `value`, must not be `None`") # noqa: E501 + + self._value = value + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, StringParameter): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, StringParameter): + return True + + return self.to_dict() != other.to_dict() diff --git a/v1/python/carbon3d/rest.py b/v1/python/carbon3d/rest.py index a88b17e..61869df 100755 --- a/v1/python/carbon3d/rest.py +++ b/v1/python/carbon3d/rest.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/docs/DoubleParameter.md b/v1/python/docs/DoubleParameter.md new file mode 100755 index 0000000..756abee --- /dev/null +++ b/v1/python/docs/DoubleParameter.md @@ -0,0 +1,12 @@ +# DoubleParameter + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**key** | **str** | | +**type** | **str** | | +**value** | **float** | | + +[[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/v1/python/docs/IntegerParameter.md b/v1/python/docs/IntegerParameter.md new file mode 100755 index 0000000..3257984 --- /dev/null +++ b/v1/python/docs/IntegerParameter.md @@ -0,0 +1,12 @@ +# IntegerParameter + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**key** | **str** | | +**type** | **str** | | +**value** | **int** | | + +[[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/v1/python/docs/ModelProgramOperation.md b/v1/python/docs/ModelProgramOperation.md new file mode 100755 index 0000000..3fc5e05 --- /dev/null +++ b/v1/python/docs/ModelProgramOperation.md @@ -0,0 +1,15 @@ +# ModelProgramOperation + +Details about the status and output of a model program operation +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | **str** | status of the current operation | +**progress** | **float** | current progress of the concerned operation as a number between 0 and 1 | +**model_uuid** | **str** | uuid of the output model | [optional] +**failure_message** | **str** | message in case of failure | [optional] +**external_id** | **str** | customer specified name of the concerned operation, which should be unique within a given model_program | + +[[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/v1/python/docs/ModelProgramOperationAllOf.md b/v1/python/docs/ModelProgramOperationAllOf.md new file mode 100755 index 0000000..6a9dfad --- /dev/null +++ b/v1/python/docs/ModelProgramOperationAllOf.md @@ -0,0 +1,10 @@ +# ModelProgramOperationAllOf + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**external_id** | **str** | customer specified name of the concerned operation, which should be unique within a given model_program | + +[[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/v1/python/docs/ModelProgramRun.md b/v1/python/docs/ModelProgramRun.md index ba0b2b5..dd6092b 100755 --- a/v1/python/docs/ModelProgramRun.md +++ b/v1/python/docs/ModelProgramRun.md @@ -1,12 +1,15 @@ # ModelProgramRun +Response containing the details about a model_program_run ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**uuid** | **str** | uuid of the model program run | [optional] -**status** | **str** | status of the model program run | [optional] -**model_uuid** | **str** | uuid of output model | [optional] +**status** | **str** | status of the current operation | +**progress** | **float** | current progress of the concerned operation as a number between 0 and 1 | +**model_uuid** | **str** | uuid of the output model | [optional] **failure_message** | **str** | message in case of failure | [optional] +**uuid** | **str** | uuid of the model program run | [optional] +**operation_status** | [**list[ModelProgramOperation]**](ModelProgramOperation.md) | details about the statuses and outputs of named operations specified by the customer | [optional] [[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/v1/python/docs/ModelProgramRunAllOf.md b/v1/python/docs/ModelProgramRunAllOf.md new file mode 100755 index 0000000..cc4d685 --- /dev/null +++ b/v1/python/docs/ModelProgramRunAllOf.md @@ -0,0 +1,11 @@ +# ModelProgramRunAllOf + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**uuid** | **str** | uuid of the model program run | [optional] +**operation_status** | [**list[ModelProgramOperation]**](ModelProgramOperation.md) | details about the statuses and outputs of named operations specified by the customer | [optional] + +[[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/v1/python/docs/ModelProgramRunRequest.md b/v1/python/docs/ModelProgramRunRequest.md index bbc1d78..85db5f5 100755 --- a/v1/python/docs/ModelProgramRunRequest.md +++ b/v1/python/docs/ModelProgramRunRequest.md @@ -1,5 +1,6 @@ # ModelProgramRunRequest +This schema is deprecated. Please Use the 'ModelProgramRunTypedRequest' schema instead. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/v1/python/docs/ModelProgramRunStatusInfo.md b/v1/python/docs/ModelProgramRunStatusInfo.md new file mode 100755 index 0000000..3eee20d --- /dev/null +++ b/v1/python/docs/ModelProgramRunStatusInfo.md @@ -0,0 +1,14 @@ +# ModelProgramRunStatusInfo + +Details about the status and results of the concerned operation +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | **str** | status of the current operation | +**progress** | **float** | current progress of the concerned operation as a number between 0 and 1 | +**model_uuid** | **str** | uuid of the output model | [optional] +**failure_message** | **str** | message in case of failure | [optional] + +[[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/v1/python/docs/ModelProgramRunTypedRequest.md b/v1/python/docs/ModelProgramRunTypedRequest.md new file mode 100755 index 0000000..bc9c8b2 --- /dev/null +++ b/v1/python/docs/ModelProgramRunTypedRequest.md @@ -0,0 +1,11 @@ +# ModelProgramRunTypedRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**model_program_uuid** | **str** | uuid for a model program | +**parameters** | [**list[OneOfStringParameterIntegerParameterDoubleParameter]**](OneOfStringParameterIntegerParameterDoubleParameter.md) | parameters for the model program | + +[[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/v1/python/docs/ModelProgramRunsApi.md b/v1/python/docs/ModelProgramRunsApi.md index e1dd0b0..b5e4fe8 100755 --- a/v1/python/docs/ModelProgramRunsApi.md +++ b/v1/python/docs/ModelProgramRunsApi.md @@ -5,6 +5,7 @@ All URIs are relative to *https://api.carbon3d.com/v1* Method | HTTP request | Description ------------- | ------------- | ------------- [**create_model_program_run**](ModelProgramRunsApi.md#create_model_program_run) | **POST** /model_program_runs | Run a model program to alter your models +[**create_model_program_run_typed_params**](ModelProgramRunsApi.md#create_model_program_run_typed_params) | **POST** /model_program_runs_typed_params | Run a model program to alter your models with typed params [**get_model_program_run**](ModelProgramRunsApi.md#get_model_program_run) | **GET** /model_program_runs/{uuid} | Get a model program run by UUID [**get_model_program_runs**](ModelProgramRunsApi.md#get_model_program_runs) | **GET** /model_program_runs | Get a list of model program runs based on their uuids @@ -82,6 +83,79 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **create_model_program_run_typed_params** +> ModelProgramRun create_model_program_run_typed_params(model_program_run_typed_request=model_program_run_typed_request) + +Run a model program to alter your models with typed params + +Create a new model program run with typed params + +### Example + +* Bearer (JWT) Authentication (bearerAuth): +```python +from __future__ import print_function +import time +import carbon3d +from carbon3d.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.carbon3d.com/v1 +# See configuration.py for a list of all supported configuration parameters. +configuration = carbon3d.Configuration( + host = "https://api.carbon3d.com/v1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization (JWT): bearerAuth +configuration = carbon3d.Configuration( + access_token = 'YOUR_BEARER_TOKEN' +) + +# Enter a context with an instance of the API client +with carbon3d.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = carbon3d.ModelProgramRunsApi(api_client) + model_program_run_typed_request = carbon3d.ModelProgramRunTypedRequest() # ModelProgramRunTypedRequest | (optional) + + try: + # Run a model program to alter your models with typed params + api_response = api_instance.create_model_program_run_typed_params(model_program_run_typed_request=model_program_run_typed_request) + pprint(api_response) + except ApiException as e: + print("Exception when calling ModelProgramRunsApi->create_model_program_run_typed_params: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **model_program_run_typed_request** | [**ModelProgramRunTypedRequest**](ModelProgramRunTypedRequest.md)| | [optional] + +### Return type + +[**ModelProgramRun**](ModelProgramRun.md) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful operation | - | +**400** | Invalid input | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_model_program_run** > ModelProgramRun get_model_program_run(uuid) diff --git a/v1/python/docs/PrintDataQa.md b/v1/python/docs/PrintDataQa.md new file mode 100755 index 0000000..a3da53c --- /dev/null +++ b/v1/python/docs/PrintDataQa.md @@ -0,0 +1,57 @@ +# PrintDataQa + +Print related QA data +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**print_id** | **str** | | [optional] +**printer_id** | **str** | | [optional] +**total_slices** | **str** | | [optional] +**cassette_name** | **str** | | [optional] +**estimated_print_time__ms** | **str** | | [optional] +**resin_exposure_compensation** | **str** | | [optional] +**base_exposure_multiplier** | **str** | | [optional] +**heater_setpoint__c** | **str** | | [optional] +**printer_serial** | **str** | | [optional] +**project_id** | **str** | | [optional] +**print_number** | **str** | | [optional] +**software_version** | **str** | | [optional] +**printer_name** | **str** | | [optional] +**ffb_enabled_print** | **str** | | [optional] +**hardware_profile** | **str** | | [optional] +**cassette_serial** | **str** | | [optional] +**window_serial** | **str** | | [optional] +**platform_serial** | **str** | | [optional] +**resin_name** | **str** | | [optional] +**blackline__um** | **str** | | [optional] +**estimated_consumed_resin_volume__ml** | **str** | | [optional] +**minimum_required_resin_volume__ml** | **str** | | [optional] +**script_name** | **str** | | [optional] +**project_name** | **str** | | [optional] +**print_finished_status** | **str** | | [optional] +**print_alerts** | **str** | | [optional] +**started_date_time** | **str** | | [optional] +**finished_date_time** | **str** | | [optional] +**total_time__min** | **str** | | [optional] +**move_time__min** | **str** | | [optional] +**exposure_time_total__min** | **str** | | [optional] +**total_delay_time__min** | **str** | | [optional] +**light_engine_intensity__m_w_cm2** | **str** | | [optional] +**current_to_light_engine__m_a** | **str** | | [optional] +**avg_o2_partial_pressure_at_window__** | **str** | | [optional] +**avg_o2_concentration__** | **str** | | [optional] +**avg_o2_flow__ml_min** | **str** | | [optional] +**estimated_resin_volume__ml** | **str** | | [optional] +**slice_thickness__um** | **str** | | [optional] +**build_height__mm** | **str** | | [optional] +**created_at** | **str** | | [optional] +**peak_wavelength__nm** | **str** | | [optional] +**resin_alpha** | **str** | | [optional] +**resin_dc** | **str** | | [optional] +**resin_fc** | **str** | | [optional] +**resin_viscosity** | **str** | | [optional] +**light_engine_turned_on** | **str** | | [optional] + +[[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/v1/python/docs/PrintQualityDataApi.md b/v1/python/docs/PrintQualityDataApi.md new file mode 100755 index 0000000..16477c0 --- /dev/null +++ b/v1/python/docs/PrintQualityDataApi.md @@ -0,0 +1,81 @@ +# carbon3d.PrintQualityDataApi + +All URIs are relative to *https://api.carbon3d.com/v1* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**get_print_quality_data**](PrintQualityDataApi.md#get_print_quality_data) | **GET** /print_quality_data | List finished print's quality metrics + + +# **get_print_quality_data** +> PrintsDataQAResponse get_print_quality_data(print_ids) + +List finished print's quality metrics + +List quality assurance data for prints + +### Example + +* Bearer (JWT) Authentication (bearerAuth): +```python +from __future__ import print_function +import time +import carbon3d +from carbon3d.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://api.carbon3d.com/v1 +# See configuration.py for a list of all supported configuration parameters. +configuration = carbon3d.Configuration( + host = "https://api.carbon3d.com/v1" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization (JWT): bearerAuth +configuration = carbon3d.Configuration( + access_token = 'YOUR_BEARER_TOKEN' +) + +# Enter a context with an instance of the API client +with carbon3d.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = carbon3d.PrintQualityDataApi(api_client) + print_ids = ['print_ids_example'] # list[str] | Print ID + + try: + # List finished print's quality metrics + api_response = api_instance.get_print_quality_data(print_ids) + pprint(api_response) + except ApiException as e: + print("Exception when calling PrintQualityDataApi->get_print_quality_data: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **print_ids** | [**list[str]**](str.md)| Print ID | + +### Return type + +[**PrintsDataQAResponse**](PrintsDataQAResponse.md) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/v1/python/docs/PrintsDataQAResponse.md b/v1/python/docs/PrintsDataQAResponse.md new file mode 100755 index 0000000..4011e63 --- /dev/null +++ b/v1/python/docs/PrintsDataQAResponse.md @@ -0,0 +1,10 @@ +# PrintsDataQAResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**prints** | [**list[PrintDataQa]**](PrintDataQa.md) | | [optional] + +[[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/v1/python/docs/StringParameter.md b/v1/python/docs/StringParameter.md new file mode 100755 index 0000000..53bed83 --- /dev/null +++ b/v1/python/docs/StringParameter.md @@ -0,0 +1,12 @@ +# StringParameter + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**key** | **str** | | +**type** | **str** | | [optional] +**value** | **str** | | + +[[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/v1/python/setup.py b/v1/python/setup.py index 83b1fbd..5cab95f 100755 --- a/v1/python/setup.py +++ b/v1/python/setup.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ @@ -14,7 +14,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "carbon3d-client" -VERSION = "0.4.12" +VERSION = "0.4.16" # To install the library, run the following # # python setup.py install diff --git a/v1/python/test/test_application.py b/v1/python/test/test_application.py index 29fec4b..5fa1e1c 100755 --- a/v1/python/test/test_application.py +++ b/v1/python/test/test_application.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_applications_api.py b/v1/python/test/test_applications_api.py index 6aec6bb..dcc269a 100755 --- a/v1/python/test/test_applications_api.py +++ b/v1/python/test/test_applications_api.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_applications_response.py b/v1/python/test/test_applications_response.py index 16e7c50..2e7ff67 100755 --- a/v1/python/test/test_applications_response.py +++ b/v1/python/test/test_applications_response.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_attachments_api.py b/v1/python/test/test_attachments_api.py index c978f38..a395fd1 100755 --- a/v1/python/test/test_attachments_api.py +++ b/v1/python/test/test_attachments_api.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_build.py b/v1/python/test/test_build.py index 79a8c94..34a0b3b 100755 --- a/v1/python/test/test_build.py +++ b/v1/python/test/test_build.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_build_attachments.py b/v1/python/test/test_build_attachments.py index 28cb571..8a23945 100755 --- a/v1/python/test/test_build_attachments.py +++ b/v1/python/test/test_build_attachments.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_build_part_orders.py b/v1/python/test/test_build_part_orders.py index bf5c767..a3afcf1 100755 --- a/v1/python/test/test_build_part_orders.py +++ b/v1/python/test/test_build_part_orders.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_builds_api.py b/v1/python/test/test_builds_api.py index 1894e40..08cb618 100755 --- a/v1/python/test/test_builds_api.py +++ b/v1/python/test/test_builds_api.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_builds_response.py b/v1/python/test/test_builds_response.py index bd1d60d..02c5418 100755 --- a/v1/python/test/test_builds_response.py +++ b/v1/python/test/test_builds_response.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_double_parameter.py b/v1/python/test/test_double_parameter.py new file mode 100755 index 0000000..9319a1b --- /dev/null +++ b/v1/python/test/test_double_parameter.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Carbon DLS API + + Welcome to the Carbon DLS API docs! # noqa: E501 + + The version of the OpenAPI document: 0.4.16 + Contact: api-list@carbon3d.com + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import carbon3d +from carbon3d.models.double_parameter import DoubleParameter # noqa: E501 +from carbon3d.rest import ApiException + +class TestDoubleParameter(unittest.TestCase): + """DoubleParameter unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test DoubleParameter + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = carbon3d.models.double_parameter.DoubleParameter() # noqa: E501 + if include_optional : + return DoubleParameter( + key = '~WALL_THICKNESS_MM~', + type = 'double', + value = 1.2 + ) + else : + return DoubleParameter( + key = '~WALL_THICKNESS_MM~', + type = 'double', + value = 1.2, + ) + + def testDoubleParameter(self): + """Test DoubleParameter""" + 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/v1/python/test/test_integer_parameter.py b/v1/python/test/test_integer_parameter.py new file mode 100755 index 0000000..3b7060a --- /dev/null +++ b/v1/python/test/test_integer_parameter.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Carbon DLS API + + Welcome to the Carbon DLS API docs! # noqa: E501 + + The version of the OpenAPI document: 0.4.16 + Contact: api-list@carbon3d.com + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import carbon3d +from carbon3d.models.integer_parameter import IntegerParameter # noqa: E501 +from carbon3d.rest import ApiException + +class TestIntegerParameter(unittest.TestCase): + """IntegerParameter unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test IntegerParameter + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = carbon3d.models.integer_parameter.IntegerParameter() # noqa: E501 + if include_optional : + return IntegerParameter( + key = '~NUM_SIDES~', + type = 'integer', + value = 2 + ) + else : + return IntegerParameter( + key = '~NUM_SIDES~', + type = 'integer', + value = 2, + ) + + def testIntegerParameter(self): + """Test IntegerParameter""" + 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/v1/python/test/test_model.py b/v1/python/test/test_model.py index 8ecdb86..644322d 100755 --- a/v1/python/test/test_model.py +++ b/v1/python/test/test_model.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_model_presigned_upload_url_request.py b/v1/python/test/test_model_presigned_upload_url_request.py index 63aa4c4..ed5a87d 100755 --- a/v1/python/test/test_model_presigned_upload_url_request.py +++ b/v1/python/test/test_model_presigned_upload_url_request.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_model_presigned_upload_url_response.py b/v1/python/test/test_model_presigned_upload_url_response.py index 76f1154..c8e8e3f 100755 --- a/v1/python/test/test_model_presigned_upload_url_response.py +++ b/v1/python/test/test_model_presigned_upload_url_response.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_model_print.py b/v1/python/test/test_model_print.py index 8d84774..e503fca 100755 --- a/v1/python/test/test_model_print.py +++ b/v1/python/test/test_model_print.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_model_program_operation.py b/v1/python/test/test_model_program_operation.py new file mode 100755 index 0000000..98ec639 --- /dev/null +++ b/v1/python/test/test_model_program_operation.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + Carbon DLS API + + Welcome to the Carbon DLS API docs! # noqa: E501 + + The version of the OpenAPI document: 0.4.16 + Contact: api-list@carbon3d.com + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import carbon3d +from carbon3d.models.model_program_operation import ModelProgramOperation # noqa: E501 +from carbon3d.rest import ApiException + +class TestModelProgramOperation(unittest.TestCase): + """ModelProgramOperation unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ModelProgramOperation + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = carbon3d.models.model_program_operation.ModelProgramOperation() # noqa: E501 + if include_optional : + return ModelProgramOperation( + status = 'complete', + progress = 0, + model_uuid = '0', + failure_message = '0', + external_id = '0' + ) + else : + return ModelProgramOperation( + status = 'complete', + progress = 0, + external_id = '0', + ) + + def testModelProgramOperation(self): + """Test ModelProgramOperation""" + 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/v1/python/test/test_model_program_operation_all_of.py b/v1/python/test/test_model_program_operation_all_of.py new file mode 100755 index 0000000..9fc3242 --- /dev/null +++ b/v1/python/test/test_model_program_operation_all_of.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Carbon DLS API + + Welcome to the Carbon DLS API docs! # noqa: E501 + + The version of the OpenAPI document: 0.4.16 + Contact: api-list@carbon3d.com + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import carbon3d +from carbon3d.models.model_program_operation_all_of import ModelProgramOperationAllOf # noqa: E501 +from carbon3d.rest import ApiException + +class TestModelProgramOperationAllOf(unittest.TestCase): + """ModelProgramOperationAllOf unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ModelProgramOperationAllOf + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = carbon3d.models.model_program_operation_all_of.ModelProgramOperationAllOf() # noqa: E501 + if include_optional : + return ModelProgramOperationAllOf( + external_id = '0' + ) + else : + return ModelProgramOperationAllOf( + external_id = '0', + ) + + def testModelProgramOperationAllOf(self): + """Test ModelProgramOperationAllOf""" + 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/v1/python/test/test_model_program_run.py b/v1/python/test/test_model_program_run.py index a06cbd6..65ee645 100755 --- a/v1/python/test/test_model_program_run.py +++ b/v1/python/test/test_model_program_run.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ @@ -37,13 +37,19 @@ def make_instance(self, include_optional): # model = carbon3d.models.model_program_run.ModelProgramRun() # noqa: E501 if include_optional : return ModelProgramRun( - uuid = '0', status = 'complete', + progress = 0, model_uuid = '0', - failure_message = '0' + failure_message = '0', + uuid = '0', + operation_status = [ + {"external_id":"operation_external_id","status":"complete","progress":1,"model_uuid":"3427f879-4a36-409a-b09c-4196cb2f5cd0","failure_message":null} + ] ) else : return ModelProgramRun( + status = 'complete', + progress = 0, ) def testModelProgramRun(self): diff --git a/v1/python/test/test_model_program_run_all_of.py b/v1/python/test/test_model_program_run_all_of.py new file mode 100755 index 0000000..35abab3 --- /dev/null +++ b/v1/python/test/test_model_program_run_all_of.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Carbon DLS API + + Welcome to the Carbon DLS API docs! # noqa: E501 + + The version of the OpenAPI document: 0.4.16 + Contact: api-list@carbon3d.com + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import carbon3d +from carbon3d.models.model_program_run_all_of import ModelProgramRunAllOf # noqa: E501 +from carbon3d.rest import ApiException + +class TestModelProgramRunAllOf(unittest.TestCase): + """ModelProgramRunAllOf unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ModelProgramRunAllOf + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = carbon3d.models.model_program_run_all_of.ModelProgramRunAllOf() # noqa: E501 + if include_optional : + return ModelProgramRunAllOf( + uuid = '0', + operation_status = [ + {"external_id":"operation_external_id","status":"complete","progress":1,"model_uuid":"3427f879-4a36-409a-b09c-4196cb2f5cd0","failure_message":null} + ] + ) + else : + return ModelProgramRunAllOf( + ) + + def testModelProgramRunAllOf(self): + """Test ModelProgramRunAllOf""" + 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/v1/python/test/test_model_program_run_request.py b/v1/python/test/test_model_program_run_request.py index de69dfb..c64dac6 100755 --- a/v1/python/test/test_model_program_run_request.py +++ b/v1/python/test/test_model_program_run_request.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_model_program_run_status_info.py b/v1/python/test/test_model_program_run_status_info.py new file mode 100755 index 0000000..14143f9 --- /dev/null +++ b/v1/python/test/test_model_program_run_status_info.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Carbon DLS API + + Welcome to the Carbon DLS API docs! # noqa: E501 + + The version of the OpenAPI document: 0.4.16 + Contact: api-list@carbon3d.com + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import carbon3d +from carbon3d.models.model_program_run_status_info import ModelProgramRunStatusInfo # noqa: E501 +from carbon3d.rest import ApiException + +class TestModelProgramRunStatusInfo(unittest.TestCase): + """ModelProgramRunStatusInfo unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ModelProgramRunStatusInfo + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = carbon3d.models.model_program_run_status_info.ModelProgramRunStatusInfo() # noqa: E501 + if include_optional : + return ModelProgramRunStatusInfo( + status = 'complete', + progress = 0, + model_uuid = '0', + failure_message = '0' + ) + else : + return ModelProgramRunStatusInfo( + status = 'complete', + progress = 0, + ) + + def testModelProgramRunStatusInfo(self): + """Test ModelProgramRunStatusInfo""" + 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/v1/python/test/test_model_program_run_typed_request.py b/v1/python/test/test_model_program_run_typed_request.py new file mode 100755 index 0000000..a4af88e --- /dev/null +++ b/v1/python/test/test_model_program_run_typed_request.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + Carbon DLS API + + Welcome to the Carbon DLS API docs! # noqa: E501 + + The version of the OpenAPI document: 0.4.16 + Contact: api-list@carbon3d.com + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import carbon3d +from carbon3d.models.model_program_run_typed_request import ModelProgramRunTypedRequest # noqa: E501 +from carbon3d.rest import ApiException + +class TestModelProgramRunTypedRequest(unittest.TestCase): + """ModelProgramRunTypedRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ModelProgramRunTypedRequest + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = carbon3d.models.model_program_run_typed_request.ModelProgramRunTypedRequest() # noqa: E501 + if include_optional : + return ModelProgramRunTypedRequest( + model_program_uuid = '0', + parameters = [ + null + ] + ) + else : + return ModelProgramRunTypedRequest( + model_program_uuid = '0', + parameters = [ + null + ], + ) + + def testModelProgramRunTypedRequest(self): + """Test ModelProgramRunTypedRequest""" + 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/v1/python/test/test_model_program_runs.py b/v1/python/test/test_model_program_runs.py index 0690de6..c1b4afc 100755 --- a/v1/python/test/test_model_program_runs.py +++ b/v1/python/test/test_model_program_runs.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ @@ -38,21 +38,13 @@ def make_instance(self, include_optional): if include_optional : return ModelProgramRuns( model_program_runs = [ - carbon3d.models.model_program_run.ModelProgramRun( - uuid = '0', - status = 'complete', - model_uuid = '0', - failure_message = '0', ) + {"uuid":"63db11ee-a130-4ddf-b3d2-ab2c5d1852ed","status":"complete","progress":1,"model_uuid":"3427f879-4a36-409a-b09c-4196cb2f5cd0","failure_message":null,"operation_status":[{"external_id":"operation_external_id","status":"complete","progress":1,"model_uuid":"3427f879-4a36-409a-b09c-4196cb2f5cd0","failure_message":null}]} ] ) else : return ModelProgramRuns( model_program_runs = [ - carbon3d.models.model_program_run.ModelProgramRun( - uuid = '0', - status = 'complete', - model_uuid = '0', - failure_message = '0', ) + {"uuid":"63db11ee-a130-4ddf-b3d2-ab2c5d1852ed","status":"complete","progress":1,"model_uuid":"3427f879-4a36-409a-b09c-4196cb2f5cd0","failure_message":null,"operation_status":[{"external_id":"operation_external_id","status":"complete","progress":1,"model_uuid":"3427f879-4a36-409a-b09c-4196cb2f5cd0","failure_message":null}]} ], ) diff --git a/v1/python/test/test_model_program_runs_api.py b/v1/python/test/test_model_program_runs_api.py index 27d6d07..63c69b5 100755 --- a/v1/python/test/test_model_program_runs_api.py +++ b/v1/python/test/test_model_program_runs_api.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ @@ -36,6 +36,13 @@ def test_create_model_program_run(self): """ pass + def test_create_model_program_run_typed_params(self): + """Test case for create_model_program_run_typed_params + + Run a model program to alter your models with typed params # noqa: E501 + """ + pass + def test_get_model_program_run(self): """Test case for get_model_program_run diff --git a/v1/python/test/test_model_resolve_upload_request.py b/v1/python/test/test_model_resolve_upload_request.py index 9edb433..ed4849d 100755 --- a/v1/python/test/test_model_resolve_upload_request.py +++ b/v1/python/test/test_model_resolve_upload_request.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_models_api.py b/v1/python/test/test_models_api.py index 4da3689..77c8c79 100755 --- a/v1/python/test/test_models_api.py +++ b/v1/python/test/test_models_api.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_models_response.py b/v1/python/test/test_models_response.py index 67492ea..5dfe14d 100755 --- a/v1/python/test/test_models_response.py +++ b/v1/python/test/test_models_response.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_part.py b/v1/python/test/test_part.py index 20d6eb6..b5a78e2 100755 --- a/v1/python/test/test_part.py +++ b/v1/python/test/test_part.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_part_measurement.py b/v1/python/test/test_part_measurement.py index 4d58726..97404a5 100755 --- a/v1/python/test/test_part_measurement.py +++ b/v1/python/test/test_part_measurement.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_part_measurement_response.py b/v1/python/test/test_part_measurement_response.py index 236260e..734ccfd 100755 --- a/v1/python/test/test_part_measurement_response.py +++ b/v1/python/test/test_part_measurement_response.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_part_measurement_template.py b/v1/python/test/test_part_measurement_template.py index 9c4d8ff..4dc4d12 100755 --- a/v1/python/test/test_part_measurement_template.py +++ b/v1/python/test/test_part_measurement_template.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_part_measurement_template_category_options.py b/v1/python/test/test_part_measurement_template_category_options.py index cd43007..19d6858 100755 --- a/v1/python/test/test_part_measurement_template_category_options.py +++ b/v1/python/test/test_part_measurement_template_category_options.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_part_measurement_template_response.py b/v1/python/test/test_part_measurement_template_response.py index 53c0c21..7dcf935 100755 --- a/v1/python/test/test_part_measurement_template_response.py +++ b/v1/python/test/test_part_measurement_template_response.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_part_measurement_templates_api.py b/v1/python/test/test_part_measurement_templates_api.py index dbb1dc1..1ac7fd6 100755 --- a/v1/python/test/test_part_measurement_templates_api.py +++ b/v1/python/test/test_part_measurement_templates_api.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_part_measurements_api.py b/v1/python/test/test_part_measurements_api.py index 0161673..0440693 100755 --- a/v1/python/test/test_part_measurements_api.py +++ b/v1/python/test/test_part_measurements_api.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_part_order.py b/v1/python/test/test_part_order.py index 814edba..501f56a 100755 --- a/v1/python/test/test_part_order.py +++ b/v1/python/test/test_part_order.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_part_order_request.py b/v1/python/test/test_part_order_request.py index 547c32f..18af8ed 100755 --- a/v1/python/test/test_part_order_request.py +++ b/v1/python/test/test_part_order_request.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_part_order_request_parts.py b/v1/python/test/test_part_order_request_parts.py index d99e024..4978ad2 100755 --- a/v1/python/test/test_part_order_request_parts.py +++ b/v1/python/test/test_part_order_request_parts.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_part_order_status.py b/v1/python/test/test_part_order_status.py index 746c6ca..f4a43f8 100755 --- a/v1/python/test/test_part_order_status.py +++ b/v1/python/test/test_part_order_status.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_part_order_update_request.py b/v1/python/test/test_part_order_update_request.py index 0302728..b4c45f6 100755 --- a/v1/python/test/test_part_order_update_request.py +++ b/v1/python/test/test_part_order_update_request.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_part_orders_api.py b/v1/python/test/test_part_orders_api.py index 37c164f..9fcb03f 100755 --- a/v1/python/test/test_part_orders_api.py +++ b/v1/python/test/test_part_orders_api.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_part_orders_response.py b/v1/python/test/test_part_orders_response.py index 494bb24..6448ebc 100755 --- a/v1/python/test/test_part_orders_response.py +++ b/v1/python/test/test_part_orders_response.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_part_orders_response_part_orders.py b/v1/python/test/test_part_orders_response_part_orders.py index 567fc10..062f2cc 100755 --- a/v1/python/test/test_part_orders_response_part_orders.py +++ b/v1/python/test/test_part_orders_response_part_orders.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_part_request.py b/v1/python/test/test_part_request.py index 50836ff..527d8c7 100755 --- a/v1/python/test/test_part_request.py +++ b/v1/python/test/test_part_request.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_parts_api.py b/v1/python/test/test_parts_api.py index c168771..d695f53 100755 --- a/v1/python/test/test_parts_api.py +++ b/v1/python/test/test_parts_api.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_parts_response.py b/v1/python/test/test_parts_response.py index 775e507..d8faf01 100755 --- a/v1/python/test/test_parts_response.py +++ b/v1/python/test/test_parts_response.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_print_config.py b/v1/python/test/test_print_config.py index ed1fed7..f3ec6f7 100755 --- a/v1/python/test/test_print_config.py +++ b/v1/python/test/test_print_config.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_print_data_qa.py b/v1/python/test/test_print_data_qa.py new file mode 100755 index 0000000..53f60d2 --- /dev/null +++ b/v1/python/test/test_print_data_qa.py @@ -0,0 +1,99 @@ +# coding: utf-8 + +""" + Carbon DLS API + + Welcome to the Carbon DLS API docs! # noqa: E501 + + The version of the OpenAPI document: 0.4.16 + Contact: api-list@carbon3d.com + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import carbon3d +from carbon3d.models.print_data_qa import PrintDataQa # noqa: E501 +from carbon3d.rest import ApiException + +class TestPrintDataQa(unittest.TestCase): + """PrintDataQa unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test PrintDataQa + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = carbon3d.models.print_data_qa.PrintDataQa() # noqa: E501 + if include_optional : + return PrintDataQa( + print_id = '0', + printer_id = '0', + total_slices = '0', + cassette_name = '0', + estimated_print_time__ms = '0', + resin_exposure_compensation = '0', + base_exposure_multiplier = '0', + heater_setpoint__c = '0', + printer_serial = '0', + project_id = '0', + print_number = '0', + software_version = '0', + printer_name = '0', + ffb_enabled_print = '0', + hardware_profile = '0', + cassette_serial = '0', + window_serial = '0', + platform_serial = '0', + resin_name = '0', + blackline__um = '0', + estimated_consumed_resin_volume__ml = '0', + minimum_required_resin_volume__ml = '0', + script_name = '0', + project_name = '0', + print_finished_status = '0', + print_alerts = '0', + started_date_time = '0', + finished_date_time = '0', + total_time__min = '0', + move_time__min = '0', + exposure_time_total__min = '0', + total_delay_time__min = '0', + light_engine_intensity__m_w_cm2 = '0', + current_to_light_engine__m_a = '0', + avg_o2_partial_pressure_at_window__ = '0', + avg_o2_concentration__ = '0', + avg_o2_flow__ml_min = '0', + estimated_resin_volume__ml = '0', + slice_thickness__um = '0', + build_height__mm = '0', + created_at = '0', + peak_wavelength__nm = '0', + resin_alpha = '0', + resin_dc = '0', + resin_fc = '0', + resin_viscosity = '0', + light_engine_turned_on = '0' + ) + else : + return PrintDataQa( + ) + + def testPrintDataQa(self): + """Test PrintDataQa""" + 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/v1/python/test/test_print_feedback.py b/v1/python/test/test_print_feedback.py index d014b27..ae88390 100755 --- a/v1/python/test/test_print_feedback.py +++ b/v1/python/test/test_print_feedback.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_print_metrics.py b/v1/python/test/test_print_metrics.py index 9e3f6c7..241b0ee 100755 --- a/v1/python/test/test_print_metrics.py +++ b/v1/python/test/test_print_metrics.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_print_order.py b/v1/python/test/test_print_order.py index 6cd7167..521ba67 100755 --- a/v1/python/test/test_print_order.py +++ b/v1/python/test/test_print_order.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_print_order_request.py b/v1/python/test/test_print_order_request.py index 351d3dc..c57fa9b 100755 --- a/v1/python/test/test_print_order_request.py +++ b/v1/python/test/test_print_order_request.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_print_order_routed_to.py b/v1/python/test/test_print_order_routed_to.py index b2cc4f5..8cf68ec 100755 --- a/v1/python/test/test_print_order_routed_to.py +++ b/v1/python/test/test_print_order_routed_to.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_print_order_update_request.py b/v1/python/test/test_print_order_update_request.py index 8086c63..b8707c4 100755 --- a/v1/python/test/test_print_order_update_request.py +++ b/v1/python/test/test_print_order_update_request.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_print_orders_api.py b/v1/python/test/test_print_orders_api.py index 3498111..54454db 100755 --- a/v1/python/test/test_print_orders_api.py +++ b/v1/python/test/test_print_orders_api.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_print_orders_response.py b/v1/python/test/test_print_orders_response.py index e73cc40..3262cc6 100755 --- a/v1/python/test/test_print_orders_response.py +++ b/v1/python/test/test_print_orders_response.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_print_origin.py b/v1/python/test/test_print_origin.py index 9bd8f2d..4688a46 100755 --- a/v1/python/test/test_print_origin.py +++ b/v1/python/test/test_print_origin.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_print_quality_data_api.py b/v1/python/test/test_print_quality_data_api.py new file mode 100755 index 0000000..24f8622 --- /dev/null +++ b/v1/python/test/test_print_quality_data_api.py @@ -0,0 +1,41 @@ +# coding: utf-8 + +""" + Carbon DLS API + + Welcome to the Carbon DLS API docs! # noqa: E501 + + The version of the OpenAPI document: 0.4.16 + Contact: api-list@carbon3d.com + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import carbon3d +from carbon3d.api.print_quality_data_api import PrintQualityDataApi # noqa: E501 +from carbon3d.rest import ApiException + + +class TestPrintQualityDataApi(unittest.TestCase): + """PrintQualityDataApi unit test stubs""" + + def setUp(self): + self.api = carbon3d.api.print_quality_data_api.PrintQualityDataApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_print_quality_data(self): + """Test case for get_print_quality_data + + List finished print's quality metrics # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/v1/python/test/test_print_ref.py b/v1/python/test/test_print_ref.py index 588ab3a..63b0443 100755 --- a/v1/python/test/test_print_ref.py +++ b/v1/python/test/test_print_ref.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_printed_part.py b/v1/python/test/test_printed_part.py index 2170c26..31b3e9d 100755 --- a/v1/python/test/test_printed_part.py +++ b/v1/python/test/test_printed_part.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_printed_part_ref.py b/v1/python/test/test_printed_part_ref.py index c513758..609b1c8 100755 --- a/v1/python/test/test_printed_part_ref.py +++ b/v1/python/test/test_printed_part_ref.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_printed_part_status.py b/v1/python/test/test_printed_part_status.py index c3fb1e4..d29ecea 100755 --- a/v1/python/test/test_printed_part_status.py +++ b/v1/python/test/test_printed_part_status.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_printed_part_tags.py b/v1/python/test/test_printed_part_tags.py index c83aaf9..9f59542 100755 --- a/v1/python/test/test_printed_part_tags.py +++ b/v1/python/test/test_printed_part_tags.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_printed_parts_api.py b/v1/python/test/test_printed_parts_api.py index e206443..bc22ed8 100755 --- a/v1/python/test/test_printed_parts_api.py +++ b/v1/python/test/test_printed_parts_api.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_printed_parts_response.py b/v1/python/test/test_printed_parts_response.py index 7e107f7..1729286 100755 --- a/v1/python/test/test_printed_parts_response.py +++ b/v1/python/test/test_printed_parts_response.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_printer.py b/v1/python/test/test_printer.py index 49aab50..062c1d7 100755 --- a/v1/python/test/test_printer.py +++ b/v1/python/test/test_printer.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_printer_prints.py b/v1/python/test/test_printer_prints.py index ad827e5..0ec6ca1 100755 --- a/v1/python/test/test_printer_prints.py +++ b/v1/python/test/test_printer_prints.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_printer_queue.py b/v1/python/test/test_printer_queue.py index f23b972..cc0515b 100755 --- a/v1/python/test/test_printer_queue.py +++ b/v1/python/test/test_printer_queue.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_printer_queue_delete_request.py b/v1/python/test/test_printer_queue_delete_request.py index 29875b9..ec629f9 100755 --- a/v1/python/test/test_printer_queue_delete_request.py +++ b/v1/python/test/test_printer_queue_delete_request.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_printer_queue_move_request.py b/v1/python/test/test_printer_queue_move_request.py index ffe8e75..c28535f 100755 --- a/v1/python/test/test_printer_queue_move_request.py +++ b/v1/python/test/test_printer_queue_move_request.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_printer_queue_update_response.py b/v1/python/test/test_printer_queue_update_response.py index bdb0c13..c9085fb 100755 --- a/v1/python/test/test_printer_queue_update_response.py +++ b/v1/python/test/test_printer_queue_update_response.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_printer_queues_response.py b/v1/python/test/test_printer_queues_response.py index 2c3e950..fbb61b7 100755 --- a/v1/python/test/test_printer_queues_response.py +++ b/v1/python/test/test_printer_queues_response.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_printer_status.py b/v1/python/test/test_printer_status.py index 92e1c18..3a2732d 100755 --- a/v1/python/test/test_printer_status.py +++ b/v1/python/test/test_printer_status.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_printers_api.py b/v1/python/test/test_printers_api.py index 94e074b..e447060 100755 --- a/v1/python/test/test_printers_api.py +++ b/v1/python/test/test_printers_api.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_printers_response.py b/v1/python/test/test_printers_response.py index fba2fe6..f23fe59 100755 --- a/v1/python/test/test_printers_response.py +++ b/v1/python/test/test_printers_response.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_prints_api.py b/v1/python/test/test_prints_api.py index c392c3b..a3d35ec 100755 --- a/v1/python/test/test_prints_api.py +++ b/v1/python/test/test_prints_api.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_prints_data_qa_response.py b/v1/python/test/test_prints_data_qa_response.py new file mode 100755 index 0000000..f9c8b59 --- /dev/null +++ b/v1/python/test/test_prints_data_qa_response.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Carbon DLS API + + Welcome to the Carbon DLS API docs! # noqa: E501 + + The version of the OpenAPI document: 0.4.16 + Contact: api-list@carbon3d.com + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import carbon3d +from carbon3d.models.prints_data_qa_response import PrintsDataQAResponse # noqa: E501 +from carbon3d.rest import ApiException + +class TestPrintsDataQAResponse(unittest.TestCase): + """PrintsDataQAResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test PrintsDataQAResponse + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = carbon3d.models.prints_data_qa_response.PrintsDataQAResponse() # noqa: E501 + if include_optional : + return PrintsDataQAResponse( + prints = [] + ) + else : + return PrintsDataQAResponse( + ) + + def testPrintsDataQAResponse(self): + """Test PrintsDataQAResponse""" + 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/v1/python/test/test_prints_response.py b/v1/python/test/test_prints_response.py index 2e6ed87..613b966 100755 --- a/v1/python/test/test_prints_response.py +++ b/v1/python/test/test_prints_response.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_queues_api.py b/v1/python/test/test_queues_api.py index f745e2a..d2a7b88 100755 --- a/v1/python/test/test_queues_api.py +++ b/v1/python/test/test_queues_api.py @@ -5,7 +5,7 @@ Welcome to the Carbon DLS API docs! # noqa: E501 - The version of the OpenAPI document: 0.4.12 + The version of the OpenAPI document: 0.4.16 Contact: api-list@carbon3d.com Generated by: https://openapi-generator.tech """ diff --git a/v1/python/test/test_string_parameter.py b/v1/python/test/test_string_parameter.py new file mode 100755 index 0000000..144a822 --- /dev/null +++ b/v1/python/test/test_string_parameter.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Carbon DLS API + + Welcome to the Carbon DLS API docs! # noqa: E501 + + The version of the OpenAPI document: 0.4.16 + Contact: api-list@carbon3d.com + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import carbon3d +from carbon3d.models.string_parameter import StringParameter # noqa: E501 +from carbon3d.rest import ApiException + +class TestStringParameter(unittest.TestCase): + """StringParameter unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test StringParameter + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = carbon3d.models.string_parameter.StringParameter() # noqa: E501 + if include_optional : + return StringParameter( + key = '~MODEL_UUID~', + type = 'string', + value = '00000000-0000-0000-0000-000000000000' + ) + else : + return StringParameter( + key = '~MODEL_UUID~', + value = '00000000-0000-0000-0000-000000000000', + ) + + def testStringParameter(self): + """Test StringParameter""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main()