Skip to content

Commit

Permalink
Update clients for anomalies and recommendation tickets
Browse files Browse the repository at this point in the history
  • Loading branch information
sidpan1 committed May 29, 2024
1 parent f69533f commit f405fd1
Show file tree
Hide file tree
Showing 321 changed files with 630 additions and 334 deletions.
6 changes: 6 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ docs/AddTenantPolicyExclusionsRequest.md
docs/AddTenantPolicyExclusionsResponse.md
docs/AndItem.md
docs/AnomalyLogicOperation.md
docs/AnomalyRcaIdsMixin.md
docs/AnomalySourceType.md
docs/AnomalyTicketStatus.md
docs/AwsService.md
docs/BeginRange.md
Expand Down Expand Up @@ -350,6 +352,8 @@ onelens_backend_client/models/add_tenant_policy_exclusions_request.py
onelens_backend_client/models/add_tenant_policy_exclusions_response.py
onelens_backend_client/models/and_item.py
onelens_backend_client/models/anomaly_logic_operation.py
onelens_backend_client/models/anomaly_rca_ids_mixin.py
onelens_backend_client/models/anomaly_source_type.py
onelens_backend_client/models/anomaly_ticket_status.py
onelens_backend_client/models/aws_service.py
onelens_backend_client/models/begin_range.py
Expand Down Expand Up @@ -619,4 +623,6 @@ setup.cfg
setup.py
test-requirements.txt
test/__init__.py
test/test_anomaly_rca_ids_mixin.py
test/test_anomaly_source_type.py
tox.ini
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/opena

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

- API version: 0.1.0
- API version: 1.0.0
- Package version: 1.0.0
- Generator version: 7.6.0-SNAPSHOT
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Expand Down Expand Up @@ -211,6 +211,8 @@ Class | Method | Description
- [AddTenantPolicyExclusionsResponse](docs/AddTenantPolicyExclusionsResponse.md)
- [AndItem](docs/AndItem.md)
- [AnomalyLogicOperation](docs/AnomalyLogicOperation.md)
- [AnomalyRcaIdsMixin](docs/AnomalyRcaIdsMixin.md)
- [AnomalySourceType](docs/AnomalySourceType.md)
- [AnomalyTicketStatus](docs/AnomalyTicketStatus.md)
- [AwsService](docs/AwsService.md)
- [BeginRange](docs/BeginRange.md)
Expand Down
30 changes: 30 additions & 0 deletions docs/AnomalyRcaIdsMixin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# AnomalyRcaIdsMixin


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**anomaly_id** | **str** | The unique identifier of the anomaly |
**rca_ids** | **List[str]** | List of rca ids associated with the anomaly |

## Example

```python
from onelens_backend_client.models.anomaly_rca_ids_mixin import AnomalyRcaIdsMixin

# TODO update the JSON string below
json = "{}"
# create an instance of AnomalyRcaIdsMixin from a JSON string
anomaly_rca_ids_mixin_instance = AnomalyRcaIdsMixin.from_json(json)
# print the JSON string representation of the object
print(AnomalyRcaIdsMixin.to_json())

# convert the object into a dict
anomaly_rca_ids_mixin_dict = anomaly_rca_ids_mixin_instance.to_dict()
# create an instance of AnomalyRcaIdsMixin from a dict
anomaly_rca_ids_mixin_form_dict = anomaly_rca_ids_mixin.from_dict(anomaly_rca_ids_mixin_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


11 changes: 11 additions & 0 deletions docs/AnomalySourceType.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# AnomalySourceType


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


6 changes: 3 additions & 3 deletions docs/Details.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ Name | Type | Description | Notes
**policy_config_version** | **int** | The config version of the policy being violated. |
**violation_attributes** | **object** | The attributes of the violation. |
**potential_cost_saving** | **float** | The potential cost accrued because of the violation. |
**preferred_recommendation_id** | **str** | The id of the preferred recommendation for the violation. |
**anomalies** | **List[object]** | List of anomaly ids and rca ids. |
**preferred_recommendation_id** | **str** | | [optional]
**anomalies** | [**List[AnomalyRcaIdsMixin]**](AnomalyRcaIdsMixin.md) | List of anomaly ids and rca ids. |
**total_cost_impact** | **float** | Total cost incurred due to the anomaly. |
**rca_hash** | **str** | The hash of the RCA associated with the anomaly. |
**deviation** | **float** | The percentage delta of the anomaly. |
**duration** | **float** | The duration of the anomaly. |
**duration_unit** | **str** | The duration unit of the anomaly. |
**source_type** | **str** | The source type of the anomaly. |
**source_type** | [**AnomalySourceType**](AnomalySourceType.md) | The source type of the anomaly. |
**usage_type** | **str** | The usage type of the anomaly. |
**operation_type** | **str** | The operation type of the anomaly. |
**is_continuous** | **bool** | Is the anomaly continuous. |
Expand Down
6 changes: 3 additions & 3 deletions docs/Details1.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ Name | Type | Description | Notes
**policy_config_version** | **int** | The config version of the policy being violated. |
**violation_attributes** | **object** | The attributes of the violation. |
**potential_cost_saving** | **float** | The potential cost accrued because of the violation. |
**preferred_recommendation_id** | **str** | The id of the preferred recommendation for the violation. |
**anomalies** | **List[object]** | List of anomaly ids and rca ids. |
**preferred_recommendation_id** | **str** | | [optional]
**anomalies** | [**List[AnomalyRcaIdsMixin]**](AnomalyRcaIdsMixin.md) | List of anomaly ids and rca ids. |
**total_cost_impact** | **float** | Total cost incurred due to the anomaly. |
**rca_hash** | **str** | The hash of the RCA associated with the anomaly. |
**deviation** | **float** | The percentage delta of the anomaly. |
**duration** | **float** | The duration of the anomaly. |
**duration_unit** | **str** | The duration unit of the anomaly. |
**source_type** | **str** | The source type of the anomaly. |
**source_type** | [**AnomalySourceType**](AnomalySourceType.md) | The source type of the anomaly. |
**usage_type** | **str** | The usage type of the anomaly. |
**operation_type** | **str** | The operation type of the anomaly. |
**is_continuous** | **bool** | Is the anomaly continuous. |
Expand Down
6 changes: 3 additions & 3 deletions docs/Details2.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ Name | Type | Description | Notes
**policy_config_version** | **int** | The config version of the policy being violated. |
**violation_attributes** | **object** | The attributes of the violation. |
**potential_cost_saving** | **float** | The potential cost accrued because of the violation. |
**preferred_recommendation_id** | **str** | The id of the preferred recommendation for the violation. |
**anomalies** | **List[object]** | List of anomaly ids and rca ids. |
**preferred_recommendation_id** | **str** | | [optional]
**anomalies** | [**List[AnomalyRcaIdsMixin]**](AnomalyRcaIdsMixin.md) | List of anomaly ids and rca ids. |
**total_cost_impact** | **float** | Total cost incurred due to the anomaly. |
**rca_hash** | **str** | The hash of the RCA associated with the anomaly. |
**deviation** | **float** | The percentage delta of the anomaly. |
**duration** | **float** | The duration of the anomaly. |
**duration_unit** | **str** | The duration unit of the anomaly. |
**source_type** | **str** | The source type of the anomaly. |
**source_type** | [**AnomalySourceType**](AnomalySourceType.md) | The source type of the anomaly. |
**usage_type** | **str** | The usage type of the anomaly. |
**operation_type** | **str** | The operation type of the anomaly. |
**is_continuous** | **bool** | Is the anomaly continuous. |
Expand Down
4 changes: 2 additions & 2 deletions docs/TenantAnomalyTicketDetailsMixin.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**anomalies** | **List[object]** | List of anomaly ids and rca ids. |
**anomalies** | [**List[AnomalyRcaIdsMixin]**](AnomalyRcaIdsMixin.md) | List of anomaly ids and rca ids. |
**total_cost_impact** | **float** | Total cost incurred due to the anomaly. |
**rca_hash** | **str** | The hash of the RCA associated with the anomaly. |
**deviation** | **float** | The percentage delta of the anomaly. |
**duration** | **float** | The duration of the anomaly. |
**duration_unit** | **str** | The duration unit of the anomaly. |
**source_type** | **str** | The source type of the anomaly. |
**source_type** | [**AnomalySourceType**](AnomalySourceType.md) | The source type of the anomaly. |
**usage_type** | **str** | The usage type of the anomaly. |
**operation_type** | **str** | The operation type of the anomaly. |
**is_continuous** | **bool** | Is the anomaly continuous. |
Expand Down
2 changes: 1 addition & 1 deletion docs/TenantPolicyTicketDetailsMixin.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Name | Type | Description | Notes
**policy_config_version** | **int** | The config version of the policy being violated. |
**violation_attributes** | **object** | The attributes of the violation. |
**potential_cost_saving** | **float** | The potential cost accrued because of the violation. |
**preferred_recommendation_id** | **str** | The id of the preferred recommendation for the violation. |
**preferred_recommendation_id** | **str** | | [optional]

## Example

Expand Down
4 changes: 2 additions & 2 deletions docs/UpdateTenantTicketRequestMixin.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ticket_id** | **str** | The unique identifier of the ticket |
**status** | [**Status**](Status.md) | |
**details** | [**Details1**](Details1.md) | |
**status** | [**Status1**](Status1.md) | | [optional]
**details** | [**Details2**](Details2.md) | | [optional]
**cost_impact** | **float** | | [optional]
**last_run_id** | **str** | | [optional]
**last_run_at** | **datetime** | | [optional]
Expand Down
4 changes: 3 additions & 1 deletion onelens_backend_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 0.1.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down Expand Up @@ -69,6 +69,8 @@
from onelens_backend_client.models.add_tenant_policy_exclusions_response import AddTenantPolicyExclusionsResponse
from onelens_backend_client.models.and_item import AndItem
from onelens_backend_client.models.anomaly_logic_operation import AnomalyLogicOperation
from onelens_backend_client.models.anomaly_rca_ids_mixin import AnomalyRcaIdsMixin
from onelens_backend_client.models.anomaly_source_type import AnomalySourceType
from onelens_backend_client.models.anomaly_ticket_status import AnomalyTicketStatus
from onelens_backend_client.models.aws_service import AwsService
from onelens_backend_client.models.begin_range import BeginRange
Expand Down
2 changes: 1 addition & 1 deletion onelens_backend_client/api/data_retriever_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 0.1.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion onelens_backend_client/api/default_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 0.1.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion onelens_backend_client/api/hierarchy_node_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 0.1.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion onelens_backend_client/api/organizations_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 0.1.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 0.1.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 0.1.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 0.1.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion onelens_backend_client/api/policy_template_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 0.1.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion onelens_backend_client/api/recommendation_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 0.1.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion onelens_backend_client/api/recommendation_engine_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 0.1.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 0.1.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion onelens_backend_client/api/recommendation_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 0.1.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion onelens_backend_client/api/resource_catalog_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 0.1.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion onelens_backend_client/api/resource_catalog_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 0.1.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion onelens_backend_client/api/resource_mapping_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 0.1.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion onelens_backend_client/api/service_catalog_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 0.1.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion onelens_backend_client/api/service_catalog_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 0.1.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion onelens_backend_client/api/tenant_anomalies_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 0.1.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion onelens_backend_client/api/tenant_anomaly_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 0.1.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion onelens_backend_client/api/tenant_hierarchy_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 0.1.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion onelens_backend_client/api/tenant_policies_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 0.1.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion onelens_backend_client/api/tenant_policy_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 0.1.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
Loading

0 comments on commit f405fd1

Please sign in to comment.