-
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
1 parent
c9c285e
commit 8ad3483
Showing
122 changed files
with
221 additions
and
136 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! You can find all relevant documentation here: https://github.com/carbon3d/carbon3d-api # noqa: E501 | ||
The version of the OpenAPI document: 0.0.8 | ||
The version of the OpenAPI document: 0.0.9 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
||
|
||
from __future__ import absolute_import | ||
|
||
__version__ = "0.0.8" | ||
__version__ = "0.0.9" | ||
|
||
# import apis into sdk package | ||
from carbon3d.api.attachments_api import AttachmentsApi | ||
|
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! You can find all relevant documentation here: https://github.com/carbon3d/carbon3d-api # noqa: E501 | ||
The version of the OpenAPI document: 0.0.8 | ||
The version of the OpenAPI document: 0.0.9 | ||
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! You can find all relevant documentation here: https://github.com/carbon3d/carbon3d-api # noqa: E501 | ||
The version of the OpenAPI document: 0.0.8 | ||
The version of the OpenAPI document: 0.0.9 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
@@ -163,6 +163,10 @@ def get_builds(self, limit, offset, **kwargs): # noqa: E501 | |
:param async_req bool: execute request asynchronously | ||
:param int limit: Max records to return (required) | ||
:param int offset: Number of items to skip (required) | ||
:param str revision: Build revision | ||
:param str status: Status of the build | ||
:param datetime created_before: Select build with creation date prior to param | ||
:param datetime created_after: Select build with creation date after param | ||
:param _preload_content: if False, the urllib3.HTTPResponse object will | ||
be returned without reading/decoding response | ||
data. Default is True. | ||
|
@@ -189,6 +193,10 @@ def get_builds_with_http_info(self, limit, offset, **kwargs): # noqa: E501 | |
:param async_req bool: execute request asynchronously | ||
:param int limit: Max records to return (required) | ||
:param int offset: Number of items to skip (required) | ||
:param str revision: Build revision | ||
:param str status: Status of the build | ||
:param datetime created_before: Select build with creation date prior to param | ||
:param datetime created_after: Select build with creation date after param | ||
:param _return_http_data_only: response data without head status code | ||
and headers | ||
:param _preload_content: if False, the urllib3.HTTPResponse object will | ||
|
@@ -207,7 +215,11 @@ def get_builds_with_http_info(self, limit, offset, **kwargs): # noqa: E501 | |
|
||
all_params = [ | ||
'limit', | ||
'offset' | ||
'offset', | ||
'revision', | ||
'status', | ||
'created_before', | ||
'created_after' | ||
] | ||
all_params.extend( | ||
[ | ||
|
@@ -250,6 +262,14 @@ def get_builds_with_http_info(self, limit, offset, **kwargs): # noqa: E501 | |
query_params.append(('limit', local_var_params['limit'])) # noqa: E501 | ||
if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501 | ||
query_params.append(('offset', local_var_params['offset'])) # noqa: E501 | ||
if 'revision' in local_var_params and local_var_params['revision'] is not None: # noqa: E501 | ||
query_params.append(('revision', local_var_params['revision'])) # noqa: E501 | ||
if 'status' in local_var_params and local_var_params['status'] is not None: # noqa: E501 | ||
query_params.append(('status', local_var_params['status'])) # noqa: E501 | ||
if 'created_before' in local_var_params and local_var_params['created_before'] is not None: # noqa: E501 | ||
query_params.append(('created_before', local_var_params['created_before'])) # noqa: E501 | ||
if 'created_after' in local_var_params and local_var_params['created_after'] is not None: # noqa: E501 | ||
query_params.append(('created_after', local_var_params['created_after'])) # noqa: E501 | ||
|
||
header_params = {} | ||
|
||
|
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! You can find all relevant documentation here: https://github.com/carbon3d/carbon3d-api # noqa: E501 | ||
The version of the OpenAPI document: 0.0.8 | ||
The version of the OpenAPI document: 0.0.9 | ||
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! You can find all relevant documentation here: https://github.com/carbon3d/carbon3d-api # noqa: E501 | ||
The version of the OpenAPI document: 0.0.8 | ||
The version of the OpenAPI document: 0.0.9 | ||
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! You can find all relevant documentation here: https://github.com/carbon3d/carbon3d-api # noqa: E501 | ||
The version of the OpenAPI document: 0.0.8 | ||
The version of the OpenAPI document: 0.0.9 | ||
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! You can find all relevant documentation here: https://github.com/carbon3d/carbon3d-api # noqa: E501 | ||
The version of the OpenAPI document: 0.0.8 | ||
The version of the OpenAPI document: 0.0.9 | ||
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! You can find all relevant documentation here: https://github.com/carbon3d/carbon3d-api # noqa: E501 | ||
The version of the OpenAPI document: 0.0.8 | ||
The version of the OpenAPI document: 0.0.9 | ||
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! You can find all relevant documentation here: https://github.com/carbon3d/carbon3d-api # noqa: E501 | ||
The version of the OpenAPI document: 0.0.8 | ||
The version of the OpenAPI document: 0.0.9 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
@@ -167,6 +167,11 @@ def get_printed_parts(self, limit, offset, **kwargs): # noqa: E501 | |
:param str part_order_uuid: PartOrder UUID | ||
:param str part_uuid: Part UUID | ||
:param str part_order_number: Customer-provided part order number the printed parts belong to | ||
:param str print_order_uuid: Print Order UUID | ||
:param str print_order_number: Customer-provided print order number that the printed parts belong to | ||
:param str build_uuid: Build UUID | ||
:param list[str] print_id: An array of Print IDs. | ||
:param list[str] uuid: An array of Printed Part UUIDs | ||
:param list[str] sort: Field(s) to sort by. Ascending order by default, use `sort=field,desc` to specify descending order. Sortable fields are: `status`, `part_number` | ||
:param _preload_content: if False, the urllib3.HTTPResponse object will | ||
be returned without reading/decoding response | ||
|
@@ -198,6 +203,11 @@ def get_printed_parts_with_http_info(self, limit, offset, **kwargs): # noqa: E5 | |
:param str part_order_uuid: PartOrder UUID | ||
:param str part_uuid: Part UUID | ||
:param str part_order_number: Customer-provided part order number the printed parts belong to | ||
:param str print_order_uuid: Print Order UUID | ||
:param str print_order_number: Customer-provided print order number that the printed parts belong to | ||
:param str build_uuid: Build UUID | ||
:param list[str] print_id: An array of Print IDs. | ||
:param list[str] uuid: An array of Printed Part UUIDs | ||
:param list[str] sort: Field(s) to sort by. Ascending order by default, use `sort=field,desc` to specify descending order. Sortable fields are: `status`, `part_number` | ||
:param _return_http_data_only: response data without head status code | ||
and headers | ||
|
@@ -222,6 +232,11 @@ def get_printed_parts_with_http_info(self, limit, offset, **kwargs): # noqa: E5 | |
'part_order_uuid', | ||
'part_uuid', | ||
'part_order_number', | ||
'print_order_uuid', | ||
'print_order_number', | ||
'build_uuid', | ||
'print_id', | ||
'uuid', | ||
'sort' | ||
] | ||
all_params.extend( | ||
|
@@ -256,6 +271,18 @@ def get_printed_parts_with_http_info(self, limit, offset, **kwargs): # noqa: E5 | |
raise ApiValueError("Invalid value for parameter `limit` when calling `get_printed_parts`, must be a value greater than or equal to `1`") # noqa: E501 | ||
if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 | ||
raise ApiValueError("Invalid value for parameter `offset` when calling `get_printed_parts`, must be a value greater than or equal to `0`") # noqa: E501 | ||
if self.api_client.client_side_validation and ('print_id' in local_var_params and # noqa: E501 | ||
len(local_var_params['print_id']) > 100): # noqa: E501 | ||
raise ApiValueError("Invalid value for parameter `print_id` when calling `get_printed_parts`, number of items must be less than or equal to `100`") # noqa: E501 | ||
if self.api_client.client_side_validation and ('print_id' in local_var_params and # noqa: E501 | ||
len(local_var_params['print_id']) < 1): # noqa: E501 | ||
raise ApiValueError("Invalid value for parameter `print_id` when calling `get_printed_parts`, number of items must be greater than or equal to `1`") # noqa: E501 | ||
if self.api_client.client_side_validation and ('uuid' in local_var_params and # noqa: E501 | ||
len(local_var_params['uuid']) > 100): # noqa: E501 | ||
raise ApiValueError("Invalid value for parameter `uuid` when calling `get_printed_parts`, number of items must be less than or equal to `100`") # noqa: E501 | ||
if self.api_client.client_side_validation and ('uuid' in local_var_params and # noqa: E501 | ||
len(local_var_params['uuid']) < 1): # noqa: E501 | ||
raise ApiValueError("Invalid value for parameter `uuid` when calling `get_printed_parts`, number of items must be greater than or equal to `1`") # noqa: E501 | ||
collection_formats = {} | ||
|
||
path_params = {} | ||
|
@@ -269,6 +296,18 @@ def get_printed_parts_with_http_info(self, limit, offset, **kwargs): # noqa: E5 | |
query_params.append(('part_uuid', local_var_params['part_uuid'])) # noqa: E501 | ||
if 'part_order_number' in local_var_params and local_var_params['part_order_number'] is not None: # noqa: E501 | ||
query_params.append(('part_order_number', local_var_params['part_order_number'])) # noqa: E501 | ||
if 'print_order_uuid' in local_var_params and local_var_params['print_order_uuid'] is not None: # noqa: E501 | ||
query_params.append(('print_order_uuid', local_var_params['print_order_uuid'])) # noqa: E501 | ||
if 'print_order_number' in local_var_params and local_var_params['print_order_number'] is not None: # noqa: E501 | ||
query_params.append(('print_order_number', local_var_params['print_order_number'])) # noqa: E501 | ||
if 'build_uuid' in local_var_params and local_var_params['build_uuid'] is not None: # noqa: E501 | ||
query_params.append(('build_uuid', local_var_params['build_uuid'])) # noqa: E501 | ||
if 'print_id' in local_var_params and local_var_params['print_id'] is not None: # noqa: E501 | ||
query_params.append(('print_id', local_var_params['print_id'])) # noqa: E501 | ||
collection_formats['print_id'] = 'multi' # noqa: E501 | ||
if 'uuid' in local_var_params and local_var_params['uuid'] is not None: # noqa: E501 | ||
query_params.append(('uuid', local_var_params['uuid'])) # noqa: E501 | ||
collection_formats['uuid'] = 'multi' # noqa: E501 | ||
if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 | ||
query_params.append(('limit', local_var_params['limit'])) # noqa: E501 | ||
if 'offset' in local_var_params and local_var_params['offset'] is not None: # 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! You can find all relevant documentation here: https://github.com/carbon3d/carbon3d-api # noqa: E501 | ||
The version of the OpenAPI document: 0.0.8 | ||
The version of the OpenAPI document: 0.0.9 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
@@ -38,8 +38,9 @@ def __init__(self, api_client=None): | |
self.api_client = api_client | ||
|
||
def get_printer(self, serial, **kwargs): # noqa: E501 | ||
"""Fetch a specific printer's status information # noqa: E501 | ||
"""Get a specific printer's status information # noqa: E501 | ||
Fetch printer status # 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_printer(serial, async_req=True) | ||
|
@@ -62,8 +63,9 @@ def get_printer(self, serial, **kwargs): # noqa: E501 | |
return self.get_printer_with_http_info(serial, **kwargs) # noqa: E501 | ||
|
||
def get_printer_with_http_info(self, serial, **kwargs): # noqa: E501 | ||
"""Fetch a specific printer's status information # noqa: E501 | ||
"""Get a specific printer's status information # noqa: E501 | ||
Fetch printer status # 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_printer_with_http_info(serial, async_req=True) | ||
|
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! You can find all relevant documentation here: https://github.com/carbon3d/carbon3d-api # noqa: E501 | ||
The version of the OpenAPI document: 0.0.8 | ||
The version of the OpenAPI document: 0.0.9 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
@@ -40,6 +40,7 @@ def __init__(self, api_client=None): | |
def get_prints(self, limit, offset, **kwargs): # noqa: E501 | ||
"""List finished prints information # noqa: E501 | ||
Fetch 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_prints(limit, offset, async_req=True) | ||
|
@@ -74,6 +75,7 @@ def get_prints(self, limit, offset, **kwargs): # noqa: E501 | |
def get_prints_with_http_info(self, limit, offset, **kwargs): # noqa: E501 | ||
"""List finished prints information # noqa: E501 | ||
Fetch 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_prints_with_http_info(limit, offset, async_req=True) | ||
|
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
Welcome to the Carbon DLS API docs! You can find all relevant documentation here: https://github.com/carbon3d/carbon3d-api # noqa: E501 | ||
The version of the OpenAPI document: 0.0.8 | ||
The version of the OpenAPI document: 0.0.9 | ||
Contact: [email protected] | ||
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.0.8/python' | ||
self.user_agent = 'OpenAPI-Generator/0.0.9/python' | ||
self.client_side_validation = configuration.client_side_validation | ||
|
||
def __enter__(self): | ||
|
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! You can find all relevant documentation here: https://github.com/carbon3d/carbon3d-api # noqa: E501 | ||
The version of the OpenAPI document: 0.0.8 | ||
The version of the OpenAPI document: 0.0.9 | ||
Contact: [email protected] | ||
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.0.8\n"\ | ||
"SDK Package Version: 0.0.8".\ | ||
"Version of the API: 0.0.9\n"\ | ||
"SDK Package Version: 0.0.9".\ | ||
format(env=sys.platform, pyversion=sys.version) | ||
|
||
def get_host_settings(self): | ||
|
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! You can find all relevant documentation here: https://github.com/carbon3d/carbon3d-api # noqa: E501 | ||
The version of the OpenAPI document: 0.0.8 | ||
The version of the OpenAPI document: 0.0.9 | ||
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
Welcome to the Carbon DLS API docs! You can find all relevant documentation here: https://github.com/carbon3d/carbon3d-api # noqa: E501 | ||
The version of the OpenAPI document: 0.0.8 | ||
The version of the OpenAPI document: 0.0.9 | ||
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! You can find all relevant documentation here: https://github.com/carbon3d/carbon3d-api # noqa: E501 | ||
The version of the OpenAPI document: 0.0.8 | ||
The version of the OpenAPI document: 0.0.9 | ||
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! You can find all relevant documentation here: https://github.com/carbon3d/carbon3d-api # noqa: E501 | ||
The version of the OpenAPI document: 0.0.8 | ||
The version of the OpenAPI document: 0.0.9 | ||
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! You can find all relevant documentation here: https://github.com/carbon3d/carbon3d-api # noqa: E501 | ||
The version of the OpenAPI document: 0.0.8 | ||
The version of the OpenAPI document: 0.0.9 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
Oops, something went wrong.