-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated with build 19ea7d66-01f1-4e04-98d1-68a3ed04c498 from OmniCore…
…-SDK-Generator commit 7df38a2e812a31c4a31869db42c92a58da24b223
- Loading branch information
1 parent
98d45ee
commit db2ed72
Showing
151 changed files
with
527 additions
and
156 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,15 +7,15 @@ | |
This is an OmniCore Model and State Management server. # noqa: E501 | ||
The version of the OpenAPI document: 1.8.9 | ||
The version of the OpenAPI document: 1.8.10 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
||
|
||
from __future__ import absolute_import | ||
|
||
__version__ = "1.8.9" | ||
__version__ = "1.8.10" | ||
|
||
# import apis into sdk package | ||
from OmniCore.api.device_api import DeviceApi | ||
|
@@ -49,6 +49,7 @@ | |
from OmniCore.models.device_config import DeviceConfig | ||
from OmniCore.models.device_configuration import DeviceConfiguration | ||
from OmniCore.models.device_credential import DeviceCredential | ||
from OmniCore.models.device_online import DeviceOnline | ||
from OmniCore.models.device_registry import DeviceRegistry | ||
from OmniCore.models.device_state import DeviceState | ||
from OmniCore.models.enable_encryption_body import EnableEncryptionBody | ||
|
@@ -71,6 +72,7 @@ | |
from OmniCore.models.list_device_config_versions_response import ListDeviceConfigVersionsResponse | ||
from OmniCore.models.list_device_registries import ListDeviceRegistries | ||
from OmniCore.models.list_device_states_response import ListDeviceStatesResponse | ||
from OmniCore.models.list_devices_online_response import ListDevicesOnlineResponse | ||
from OmniCore.models.list_devices_response import ListDevicesResponse | ||
from OmniCore.models.list_sinks import ListSinks | ||
from OmniCore.models.log_level import LogLevel | ||
|
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 @@ | |
This is an OmniCore Model and State Management server. # noqa: E501 | ||
The version of the OpenAPI document: 1.8.9 | ||
The version of the OpenAPI document: 1.8.10 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
@@ -33,6 +33,7 @@ | |
from OmniCore.models.info import Info | ||
from OmniCore.models.list_device_config_versions_response import ListDeviceConfigVersionsResponse | ||
from OmniCore.models.list_device_states_response import ListDeviceStatesResponse | ||
from OmniCore.models.list_devices_online_response import ListDevicesOnlineResponse | ||
from OmniCore.models.list_devices_response import ListDevicesResponse | ||
|
||
from OmniCore.api_client import ApiClient | ||
|
@@ -1595,7 +1596,7 @@ def get_states_with_http_info(self, subscriptionid : Annotated[StrictStr, Field( | |
_request_auth=_params.get('_request_auth')) | ||
|
||
@validate_arguments | ||
def get_subscription_devices(self, subscription_id : Annotated[StrictStr, Field(..., description="Subscription ID")], page_number : Annotated[Optional[StrictInt], Field(description="Page Number")] = None, page_size : Annotated[Optional[StrictInt], Field(description="The maximum number of devices to return in the response. If this value is zero, the service will select a default size. ")] = None, field_mask : Annotated[Optional[StrictStr], Field(description="The fields of the Device resource to be returned to the response. The fields id and numId are always returned, along with any other fields specified. A comma-separated list of fully qualified names of fields. Example: ")] = None, sort_by_client_online : Annotated[Optional[StrictBool], Field(description="Set to true to return devices sorted by last heartbeat ")] = None, device_ids : Annotated[Optional[List[StrictStr]], Field(description="A list of device string IDs. For example, ['device0', 'device12']. If empty, this field is ignored. Maximum IDs: 10,000")] = None, device_num_ids : Annotated[Optional[List[StrictStr]], Field(description="A list of device numeric IDs. If empty, this field is ignored. Maximum IDs: 10,000.")] = None, gateway_list_options_associations_device_id : Annotated[Optional[StrictStr], Field(description="If set, returns only the gateways with which the specified device is associated. The device ID can be numeric (num_id) or the user-defined string (id). For example, if 456 is specified, returns only the gateways to which the device with num_id 456 is bound.")] = None, gateway_list_options_associations_gateway_id : Annotated[Optional[StrictStr], Field(description="If set, only devices associated with the specified gateway are returned. The gateway ID can be numeric (num_id) or the user-defined string (id). For example, if 123 is specified, only devices bound to the gateway with num_id 123 are returned")] = None, gateway_list_options_gateway_type : Annotated[Optional[StrictStr], Field(description="If GATEWAY is specified, only gateways are returned. If NON_GATEWAY is specified, only non-gateway devices are returned. If GATEWAY_TYPE_UNSPECIFIED is specified, all devices are returned.")] = None, **kwargs) -> ListDevicesResponse: # noqa: E501 | ||
def get_subscription_devices(self, subscription_id : Annotated[StrictStr, Field(..., description="Subscription ID")], page_number : Annotated[Optional[StrictInt], Field(description="Page Number")] = None, page_size : Annotated[Optional[StrictInt], Field(description="The maximum number of devices to return in the response. If this value is zero, the service will select a default size. ")] = None, field_mask : Annotated[Optional[StrictStr], Field(description="The fields of the Device resource to be returned to the response. The fields id and numId are always returned, along with any other fields specified. A comma-separated list of fully qualified names of fields. Example: ")] = None, sort_by_client_online : Annotated[Optional[StrictBool], Field(description="Set to true to return devices sorted by last heartbeat ")] = None, device_ids : Annotated[Optional[List[StrictStr]], Field(description="A list of device string IDs. For example, ['device0', 'device12']. If empty, this field is ignored. Maximum IDs: 10,000")] = None, device_num_ids : Annotated[Optional[List[StrictStr]], Field(description="A list of device numeric IDs. If empty, this field is ignored. Maximum IDs: 10,000.")] = None, gateway_list_options_associations_device_id : Annotated[Optional[StrictStr], Field(description="If set, returns only the gateways with which the specified device is associated. The device ID can be numeric (num_id) or the user-defined string (id). For example, if 456 is specified, returns only the gateways to which the device with num_id 456 is bound.")] = None, gateway_list_options_associations_gateway_id : Annotated[Optional[StrictStr], Field(description="If set, only devices associated with the specified gateway are returned. The gateway ID can be numeric (num_id) or the user-defined string (id). For example, if 123 is specified, only devices bound to the gateway with num_id 123 are returned")] = None, gateway_list_options_gateway_type : Annotated[Optional[StrictStr], Field(description="If GATEWAY is specified, only gateways are returned. If NON_GATEWAY is specified, only non-gateway devices are returned. If GATEWAY_TYPE_UNSPECIFIED is specified, all devices are returned.")] = None, **kwargs) -> ListDevicesOnlineResponse: # noqa: E501 | ||
"""get_subscription_devices # noqa: E501 | ||
Get all devices under a subscription # noqa: E501 | ||
|
@@ -1638,7 +1639,7 @@ def get_subscription_devices(self, subscription_id : Annotated[StrictStr, Field( | |
:return: Returns the result object. | ||
If the method is called asynchronously, | ||
returns the request thread. | ||
:rtype: ListDevicesResponse | ||
:rtype: ListDevicesOnlineResponse | ||
""" | ||
kwargs['_return_http_data_only'] = True | ||
return self.get_subscription_devices_with_http_info(subscription_id, page_number, page_size, field_mask, sort_by_client_online, device_ids, device_num_ids, gateway_list_options_associations_device_id, gateway_list_options_associations_gateway_id, gateway_list_options_gateway_type, **kwargs) # noqa: E501 | ||
|
@@ -1695,7 +1696,7 @@ def get_subscription_devices_with_http_info(self, subscription_id : Annotated[St | |
:return: Returns the result object. | ||
If the method is called asynchronously, | ||
returns the request thread. | ||
:rtype: tuple(ListDevicesResponse, status_code(int), headers(HTTPHeaderDict)) | ||
:rtype: tuple(ListDevicesOnlineResponse, status_code(int), headers(HTTPHeaderDict)) | ||
""" | ||
|
||
_params = locals() | ||
|
@@ -1782,7 +1783,7 @@ def get_subscription_devices_with_http_info(self, subscription_id : Annotated[St | |
_auth_settings = ['apiKey', 'bearerAuth'] # noqa: E501 | ||
|
||
_response_types_map = { | ||
'200': "ListDevicesResponse", | ||
'200': "ListDevicesOnlineResponse", | ||
'400': "GenericErrorResponse", | ||
'404': "GenericErrorResponse", | ||
'500': "GenericErrorResponse", | ||
|
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 @@ | |
This is an OmniCore Model and State Management server. # noqa: E501 | ||
The version of the OpenAPI document: 1.8.9 | ||
The version of the OpenAPI document: 1.8.10 | ||
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 @@ | |
This is an OmniCore Model and State Management server. # noqa: E501 | ||
The version of the OpenAPI document: 1.8.9 | ||
The version of the OpenAPI document: 1.8.10 | ||
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 @@ | |
This is an OmniCore Model and State Management server. # noqa: E501 | ||
The version of the OpenAPI document: 1.8.9 | ||
The version of the OpenAPI document: 1.8.10 | ||
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 @@ | |
This is an OmniCore Model and State Management server. # noqa: E501 | ||
The version of the OpenAPI document: 1.8.9 | ||
The version of the OpenAPI document: 1.8.10 | ||
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
This is an OmniCore Model and State Management server. # noqa: E501 | ||
The version of the OpenAPI document: 1.8.9 | ||
The version of the OpenAPI document: 1.8.10 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
@@ -78,7 +78,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/1.8.9/python' | ||
self.user_agent = 'OpenAPI-Generator/1.8.10/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 @@ | |
This is an OmniCore Model and State Management server. # noqa: E501 | ||
The version of the OpenAPI document: 1.8.9 | ||
The version of the OpenAPI document: 1.8.10 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
@@ -397,8 +397,8 @@ def to_debug_report(self): | |
return "Python SDK Debug Report:\n"\ | ||
"OS: {env}\n"\ | ||
"Python Version: {pyversion}\n"\ | ||
"Version of the API: 1.8.9\n"\ | ||
"SDK Package Version: 1.8.9".\ | ||
"Version of the API: 1.8.10\n"\ | ||
"SDK Package Version: 1.8.10".\ | ||
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 @@ | |
This is an OmniCore Model and State Management server. # noqa: E501 | ||
The version of the OpenAPI document: 1.8.9 | ||
The version of the OpenAPI document: 1.8.10 | ||
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 @@ | |
This is an OmniCore Model and State Management server. # noqa: E501 | ||
The version of the OpenAPI document: 1.8.9 | ||
The version of the OpenAPI document: 1.8.10 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
@@ -30,6 +30,7 @@ | |
from OmniCore.models.device_config import DeviceConfig | ||
from OmniCore.models.device_configuration import DeviceConfiguration | ||
from OmniCore.models.device_credential import DeviceCredential | ||
from OmniCore.models.device_online import DeviceOnline | ||
from OmniCore.models.device_registry import DeviceRegistry | ||
from OmniCore.models.device_state import DeviceState | ||
from OmniCore.models.enable_encryption_body import EnableEncryptionBody | ||
|
@@ -52,6 +53,7 @@ | |
from OmniCore.models.list_device_config_versions_response import ListDeviceConfigVersionsResponse | ||
from OmniCore.models.list_device_registries import ListDeviceRegistries | ||
from OmniCore.models.list_device_states_response import ListDeviceStatesResponse | ||
from OmniCore.models.list_devices_online_response import ListDevicesOnlineResponse | ||
from OmniCore.models.list_devices_response import ListDevicesResponse | ||
from OmniCore.models.list_sinks import ListSinks | ||
from OmniCore.models.log_level import LogLevel | ||
|
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 @@ | |
This is an OmniCore Model and State Management server. # noqa: E501 | ||
The version of the OpenAPI document: 1.8.9 | ||
The version of the OpenAPI document: 1.8.10 | ||
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 @@ | |
This is an OmniCore Model and State Management server. # noqa: E501 | ||
The version of the OpenAPI document: 1.8.9 | ||
The version of the OpenAPI document: 1.8.10 | ||
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 @@ | |
This is an OmniCore Model and State Management server. # noqa: E501 | ||
The version of the OpenAPI document: 1.8.9 | ||
The version of the OpenAPI document: 1.8.10 | ||
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 @@ | |
This is an OmniCore Model and State Management server. # noqa: E501 | ||
The version of the OpenAPI document: 1.8.9 | ||
The version of the OpenAPI document: 1.8.10 | ||
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 @@ | |
This is an OmniCore Model and State Management server. # noqa: E501 | ||
The version of the OpenAPI document: 1.8.9 | ||
The version of the OpenAPI document: 1.8.10 | ||
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 @@ | |
This is an OmniCore Model and State Management server. # noqa: E501 | ||
The version of the OpenAPI document: 1.8.9 | ||
The version of the OpenAPI document: 1.8.10 | ||
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 @@ | |
This is an OmniCore Model and State Management server. # noqa: E501 | ||
The version of the OpenAPI document: 1.8.9 | ||
The version of the OpenAPI document: 1.8.10 | ||
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 @@ | |
This is an OmniCore Model and State Management server. # noqa: E501 | ||
The version of the OpenAPI document: 1.8.9 | ||
The version of the OpenAPI document: 1.8.10 | ||
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 @@ | |
This is an OmniCore Model and State Management server. # noqa: E501 | ||
The version of the OpenAPI document: 1.8.9 | ||
The version of the OpenAPI document: 1.8.10 | ||
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 @@ | |
This is an OmniCore Model and State Management server. # noqa: E501 | ||
The version of the OpenAPI document: 1.8.9 | ||
The version of the OpenAPI document: 1.8.10 | ||
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 @@ | |
This is an OmniCore Model and State Management server. # noqa: E501 | ||
The version of the OpenAPI document: 1.8.9 | ||
The version of the OpenAPI document: 1.8.10 | ||
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 @@ | |
This is an OmniCore Model and State Management server. # noqa: E501 | ||
The version of the OpenAPI document: 1.8.9 | ||
The version of the OpenAPI document: 1.8.10 | ||
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 @@ | |
This is an OmniCore Model and State Management server. # noqa: E501 | ||
The version of the OpenAPI document: 1.8.9 | ||
The version of the OpenAPI document: 1.8.10 | ||
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 @@ | |
This is an OmniCore Model and State Management server. # noqa: E501 | ||
The version of the OpenAPI document: 1.8.9 | ||
The version of the OpenAPI document: 1.8.10 | ||
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 @@ | |
This is an OmniCore Model and State Management server. # noqa: E501 | ||
The version of the OpenAPI document: 1.8.9 | ||
The version of the OpenAPI document: 1.8.10 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
Oops, something went wrong.