-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
jenkins_job
committed
Nov 10, 2023
1 parent
2c40b7e
commit 14b6212
Showing
183 changed files
with
4,410 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,15 +7,15 @@ | |
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: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
||
|
||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: [email protected] | ||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
Oops, something went wrong.