Skip to content

Commit

Permalink
Updated with build 19ea7d66-01f1-4e04-98d1-68a3ed04c498 from OmniCore…
Browse files Browse the repository at this point in the history
…-SDK-Generator commit 7df38a2e812a31c4a31869db42c92a58da24b223
  • Loading branch information
jaisonjayan committed Feb 2, 2024
1 parent 98d45ee commit db2ed72
Show file tree
Hide file tree
Showing 151 changed files with 527 additions and 156 deletions.
6 changes: 4 additions & 2 deletions OmniCore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
11 changes: 6 additions & 5 deletions OmniCore/api/device_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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()
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion OmniCore/api/metrics_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down
2 changes: 1 addition & 1 deletion OmniCore/api/registry_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down
2 changes: 1 addition & 1 deletion OmniCore/api/sink_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down
2 changes: 1 addition & 1 deletion OmniCore/api/vault_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down
4 changes: 2 additions & 2 deletions OmniCore/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down Expand Up @@ -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):
Expand Down
6 changes: 3 additions & 3 deletions OmniCore/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion OmniCore/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down
4 changes: 3 additions & 1 deletion OmniCore/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion OmniCore/models/audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down
2 changes: 1 addition & 1 deletion OmniCore/models/audit_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down
2 changes: 1 addition & 1 deletion OmniCore/models/bind_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down
2 changes: 1 addition & 1 deletion OmniCore/models/bind_request_ids_gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down
2 changes: 1 addition & 1 deletion OmniCore/models/block_communication_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down
2 changes: 1 addition & 1 deletion OmniCore/models/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down
2 changes: 1 addition & 1 deletion OmniCore/models/configurations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down
2 changes: 1 addition & 1 deletion OmniCore/models/create_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down
2 changes: 1 addition & 1 deletion OmniCore/models/create_vault_key_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down
2 changes: 1 addition & 1 deletion OmniCore/models/custom_onboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down
2 changes: 1 addition & 1 deletion OmniCore/models/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down
2 changes: 1 addition & 1 deletion OmniCore/models/device_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down
2 changes: 1 addition & 1 deletion OmniCore/models/device_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down
2 changes: 1 addition & 1 deletion OmniCore/models/device_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down
2 changes: 1 addition & 1 deletion OmniCore/models/device_credential.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down
Loading

0 comments on commit db2ed72

Please sign in to comment.