Skip to content

Commit

Permalink
Upload new version of API
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins committed Mar 21, 2024
1 parent 7fb7713 commit f662384
Show file tree
Hide file tree
Showing 1,165 changed files with 1,186 additions and 1,182 deletions.
2 changes: 1 addition & 1 deletion .openapi-generator/openapi.yaml.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
908fdf0ee9024a0db112cde96a0d3259d4c429cbc6615d78a509ea3044f2ac38
aa7f9d0f2d0e92374dcbc9da8a1ecc16e225d429b69c5fe020ab037e8fd86e85
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ ExtremeCloud IQ RESTful API for external and internal applications.

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 24.2.0.39
- Package version: 24.2.0.39
- API version: 24.2.0.52
- Package version: 24.2.0.52
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [https://www.extremenetworks.com/support](https://www.extremenetworks.com/support)

Expand Down
8 changes: 4 additions & 4 deletions docs/CopilotAnomaliesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ This endpoint does not need any parameter.
[[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_anomalies_report**
> file get_anomalies_report(start_time, end_time, anomaly_type=anomaly_type, building_id=building_id, severity=severity, exclude_muted=exclude_muted, sort_field=sort_field, sort_order=sort_order, search_key=search_key, file_type=file_type, offset_time=offset_time)
> file get_anomalies_report(start_time, end_time, offset_time, anomaly_type=anomaly_type, building_id=building_id, severity=severity, exclude_muted=exclude_muted, sort_field=sort_field, sort_order=sort_order, search_key=search_key, file_type=file_type)


Expand Down Expand Up @@ -132,6 +132,7 @@ with extremecloudiq.ApiClient(configuration) as api_client:
api_instance = extremecloudiq.CopilotAnomaliesApi(api_client)
start_time = 56 # int | The start time to query, epoch time in milliseconds since 1/1/1970
end_time = 56 # int | The end time to query, epoch time in milliseconds since 1/1/1970
offset_time = 56 # int | The offset value
anomaly_type = extremecloudiq.XiqAnomalyType() # XiqAnomalyType | The type of anomaly (optional)
building_id = 56 # int | The location identifier (optional)
severity = extremecloudiq.XiqAnomalySeverity() # XiqAnomalySeverity | The severity of anomaly (optional)
Expand All @@ -140,10 +141,9 @@ sort_field = extremecloudiq.XiqAnomalySortField() # XiqAnomalySortField | The so
sort_order = extremecloudiq.XiqSortOrder() # XiqSortOrder | The sorting order (optional)
search_key = '' # str | The search key (optional) (default to '')
file_type = 'csv' # str | The file format (optional) (default to 'csv')
offset_time = 56 # int | The offset value (optional)

try:
api_response = api_instance.get_anomalies_report(start_time, end_time, anomaly_type=anomaly_type, building_id=building_id, severity=severity, exclude_muted=exclude_muted, sort_field=sort_field, sort_order=sort_order, search_key=search_key, file_type=file_type, offset_time=offset_time)
api_response = api_instance.get_anomalies_report(start_time, end_time, offset_time, anomaly_type=anomaly_type, building_id=building_id, severity=severity, exclude_muted=exclude_muted, sort_field=sort_field, sort_order=sort_order, search_key=search_key, file_type=file_type)
pprint(api_response)
except ApiException as e:
print("Exception when calling CopilotAnomaliesApi->get_anomalies_report: %s\n" % e)
Expand All @@ -155,6 +155,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**start_time** | **int**| The start time to query, epoch time in milliseconds since 1/1/1970 |
**end_time** | **int**| The end time to query, epoch time in milliseconds since 1/1/1970 |
**offset_time** | **int**| The offset value |
**anomaly_type** | [**XiqAnomalyType**](.md)| The type of anomaly | [optional]
**building_id** | **int**| The location identifier | [optional]
**severity** | [**XiqAnomalySeverity**](.md)| The severity of anomaly | [optional]
Expand All @@ -163,7 +164,6 @@ Name | Type | Description | Notes
**sort_order** | [**XiqSortOrder**](.md)| The sorting order | [optional]
**search_key** | **str**| The search key | [optional] [default to '']
**file_type** | **str**| The file format | [optional] [default to 'csv']
**offset_time** | **int**| The offset value | [optional]

### Return type

Expand Down
4 changes: 2 additions & 2 deletions extremecloudiq/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
ExtremeCloud IQ RESTful API for external and internal applications. # noqa: E501
The version of the OpenAPI document: 24.2.0.39
The version of the OpenAPI document: 24.2.0.52
Contact: support@extremenetworks.com
Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

__version__ = "24.2.0.39"
__version__ = "24.2.0.52"

# import apis into sdk package
from extremecloudiq.api.account_api import AccountApi
Expand Down
2 changes: 1 addition & 1 deletion extremecloudiq/api/account_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ExtremeCloud IQ RESTful API for external and internal applications. # noqa: E501
The version of the OpenAPI document: 24.2.0.39
The version of the OpenAPI document: 24.2.0.52
Contact: support@extremenetworks.com
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion extremecloudiq/api/alert_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ExtremeCloud IQ RESTful API for external and internal applications. # noqa: E501
The version of the OpenAPI document: 24.2.0.39
The version of the OpenAPI document: 24.2.0.52
Contact: support@extremenetworks.com
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion extremecloudiq/api/application_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ExtremeCloud IQ RESTful API for external and internal applications. # noqa: E501
The version of the OpenAPI document: 24.2.0.39
The version of the OpenAPI document: 24.2.0.52
Contact: support@extremenetworks.com
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion extremecloudiq/api/authentication_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ExtremeCloud IQ RESTful API for external and internal applications. # noqa: E501
The version of the OpenAPI document: 24.2.0.39
The version of the OpenAPI document: 24.2.0.52
Contact: support@extremenetworks.com
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion extremecloudiq/api/authorization_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ExtremeCloud IQ RESTful API for external and internal applications. # noqa: E501
The version of the OpenAPI document: 24.2.0.39
The version of the OpenAPI document: 24.2.0.52
Contact: support@extremenetworks.com
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion extremecloudiq/api/client_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ExtremeCloud IQ RESTful API for external and internal applications. # noqa: E501
The version of the OpenAPI document: 24.2.0.39
The version of the OpenAPI document: 24.2.0.52
Contact: support@extremenetworks.com
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion extremecloudiq/api/configuration___authentication_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ExtremeCloud IQ RESTful API for external and internal applications. # noqa: E501
The version of the OpenAPI document: 24.2.0.39
The version of the OpenAPI document: 24.2.0.52
Contact: support@extremenetworks.com
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion extremecloudiq/api/configuration___basic_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ExtremeCloud IQ RESTful API for external and internal applications. # noqa: E501
The version of the OpenAPI document: 24.2.0.39
The version of the OpenAPI document: 24.2.0.52
Contact: support@extremenetworks.com
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion extremecloudiq/api/configuration___certificate_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ExtremeCloud IQ RESTful API for external and internal applications. # noqa: E501
The version of the OpenAPI document: 24.2.0.39
The version of the OpenAPI document: 24.2.0.52
Contact: support@extremenetworks.com
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion extremecloudiq/api/configuration___deployment_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ExtremeCloud IQ RESTful API for external and internal applications. # noqa: E501
The version of the OpenAPI document: 24.2.0.39
The version of the OpenAPI document: 24.2.0.52
Contact: support@extremenetworks.com
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion extremecloudiq/api/configuration___network_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ExtremeCloud IQ RESTful API for external and internal applications. # noqa: E501
The version of the OpenAPI document: 24.2.0.39
The version of the OpenAPI document: 24.2.0.52
Contact: support@extremenetworks.com
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion extremecloudiq/api/configuration___policy_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ExtremeCloud IQ RESTful API for external and internal applications. # noqa: E501
The version of the OpenAPI document: 24.2.0.39
The version of the OpenAPI document: 24.2.0.52
Contact: support@extremenetworks.com
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion extremecloudiq/api/configuration___user_management_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ExtremeCloud IQ RESTful API for external and internal applications. # noqa: E501
The version of the OpenAPI document: 24.2.0.39
The version of the OpenAPI document: 24.2.0.52
Contact: support@extremenetworks.com
Generated by: https://openapi-generator.tech
"""
Expand Down
24 changes: 14 additions & 10 deletions extremecloudiq/api/copilot___anomalies_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ExtremeCloud IQ RESTful API for external and internal applications. # noqa: E501
The version of the OpenAPI document: 24.2.0.39
The version of the OpenAPI document: 24.2.0.52
Contact: support@extremenetworks.com
Generated by: https://openapi-generator.tech
"""
Expand Down Expand Up @@ -140,17 +140,18 @@ def get_anomalies_notifications_with_http_info(self, **kwargs): # noqa: E501
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats)

def get_anomalies_report(self, start_time, end_time, **kwargs): # noqa: E501
def get_anomalies_report(self, start_time, end_time, offset_time, **kwargs): # noqa: E501
"""get_anomalies_report # 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_anomalies_report(start_time, end_time, async_req=True)
>>> thread = api.get_anomalies_report(start_time, end_time, offset_time, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param int start_time: The start time to query, epoch time in milliseconds since 1/1/1970 (required)
:param int end_time: The end time to query, epoch time in milliseconds since 1/1/1970 (required)
:param int offset_time: The offset value (required)
:param XiqAnomalyType anomaly_type: The type of anomaly
:param int building_id: The location identifier
:param XiqAnomalySeverity severity: The severity of anomaly
Expand All @@ -159,7 +160,6 @@ def get_anomalies_report(self, start_time, end_time, **kwargs): # noqa: E501
:param XiqSortOrder sort_order: The sorting order
:param str search_key: The search key
:param str file_type: The file format
:param int offset_time: The offset value
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
Expand All @@ -172,19 +172,20 @@ def get_anomalies_report(self, start_time, end_time, **kwargs): # noqa: E501
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_anomalies_report_with_http_info(start_time, end_time, **kwargs) # noqa: E501
return self.get_anomalies_report_with_http_info(start_time, end_time, offset_time, **kwargs) # noqa: E501

def get_anomalies_report_with_http_info(self, start_time, end_time, **kwargs): # noqa: E501
def get_anomalies_report_with_http_info(self, start_time, end_time, offset_time, **kwargs): # noqa: E501
"""get_anomalies_report # 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_anomalies_report_with_http_info(start_time, end_time, async_req=True)
>>> thread = api.get_anomalies_report_with_http_info(start_time, end_time, offset_time, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param int start_time: The start time to query, epoch time in milliseconds since 1/1/1970 (required)
:param int end_time: The end time to query, epoch time in milliseconds since 1/1/1970 (required)
:param int offset_time: The offset value (required)
:param XiqAnomalyType anomaly_type: The type of anomaly
:param int building_id: The location identifier
:param XiqAnomalySeverity severity: The severity of anomaly
Expand All @@ -193,7 +194,6 @@ def get_anomalies_report_with_http_info(self, start_time, end_time, **kwargs):
:param XiqSortOrder sort_order: The sorting order
:param str search_key: The search key
:param str file_type: The file format
:param int offset_time: The offset value
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
Expand All @@ -213,15 +213,15 @@ def get_anomalies_report_with_http_info(self, start_time, end_time, **kwargs):
all_params = [
'start_time',
'end_time',
'offset_time',
'anomaly_type',
'building_id',
'severity',
'exclude_muted',
'sort_field',
'sort_order',
'search_key',
'file_type',
'offset_time'
'file_type'
]
all_params.extend(
[
Expand All @@ -248,6 +248,10 @@ def get_anomalies_report_with_http_info(self, start_time, end_time, **kwargs):
if self.api_client.client_side_validation and ('end_time' not in local_var_params or # noqa: E501
local_var_params['end_time'] is None): # noqa: E501
raise ApiValueError("Missing the required parameter `end_time` when calling `get_anomalies_report`") # noqa: E501
# verify the required parameter 'offset_time' is set
if self.api_client.client_side_validation and ('offset_time' not in local_var_params or # noqa: E501
local_var_params['offset_time'] is None): # noqa: E501
raise ApiValueError("Missing the required parameter `offset_time` when calling `get_anomalies_report`") # noqa: E501

collection_formats = {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ExtremeCloud IQ RESTful API for external and internal applications. # noqa: E501
The version of the OpenAPI document: 24.2.0.39
The version of the OpenAPI document: 24.2.0.52
Contact: support@extremenetworks.com
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion extremecloudiq/api/device_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ExtremeCloud IQ RESTful API for external and internal applications. # noqa: E501
The version of the OpenAPI document: 24.2.0.39
The version of the OpenAPI document: 24.2.0.52
Contact: support@extremenetworks.com
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion extremecloudiq/api/essentials___extreme_location_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ExtremeCloud IQ RESTful API for external and internal applications. # noqa: E501
The version of the OpenAPI document: 24.2.0.39
The version of the OpenAPI document: 24.2.0.52
Contact: support@extremenetworks.com
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion extremecloudiq/api/hiq_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ExtremeCloud IQ RESTful API for external and internal applications. # noqa: E501
The version of the OpenAPI document: 24.2.0.39
The version of the OpenAPI document: 24.2.0.52
Contact: support@extremenetworks.com
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion extremecloudiq/api/license_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ExtremeCloud IQ RESTful API for external and internal applications. # noqa: E501
The version of the OpenAPI document: 24.2.0.39
The version of the OpenAPI document: 24.2.0.52
Contact: support@extremenetworks.com
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion extremecloudiq/api/location_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ExtremeCloud IQ RESTful API for external and internal applications. # noqa: E501
The version of the OpenAPI document: 24.2.0.39
The version of the OpenAPI document: 24.2.0.52
Contact: support@extremenetworks.com
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion extremecloudiq/api/log_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ExtremeCloud IQ RESTful API for external and internal applications. # noqa: E501
The version of the OpenAPI document: 24.2.0.39
The version of the OpenAPI document: 24.2.0.52
Contact: support@extremenetworks.com
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion extremecloudiq/api/misc_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ExtremeCloud IQ RESTful API for external and internal applications. # noqa: E501
The version of the OpenAPI document: 24.2.0.39
The version of the OpenAPI document: 24.2.0.52
Contact: support@extremenetworks.com
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion extremecloudiq/api/network_policy_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ExtremeCloud IQ RESTful API for external and internal applications. # noqa: E501
The version of the OpenAPI document: 24.2.0.39
The version of the OpenAPI document: 24.2.0.52
Contact: support@extremenetworks.com
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion extremecloudiq/api/notification_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ExtremeCloud IQ RESTful API for external and internal applications. # noqa: E501
The version of the OpenAPI document: 24.2.0.39
The version of the OpenAPI document: 24.2.0.52
Contact: support@extremenetworks.com
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion extremecloudiq/api/operation_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ExtremeCloud IQ RESTful API for external and internal applications. # noqa: E501
The version of the OpenAPI document: 24.2.0.39
The version of the OpenAPI document: 24.2.0.52
Contact: support@extremenetworks.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Loading

0 comments on commit f662384

Please sign in to comment.