Skip to content

Commit

Permalink
Added Recommendation Unit and Action Types
Browse files Browse the repository at this point in the history
  • Loading branch information
parteek65 committed Jul 17, 2024
1 parent 0197c0e commit e2584f4
Show file tree
Hide file tree
Showing 126 changed files with 9,387 additions and 183 deletions.
93 changes: 78 additions & 15 deletions .openapi-generator/FILES

Large diffs are not rendered by default.

44 changes: 38 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,16 @@ Class | Method | Description
*PolicyTemplateServiceApi* | [**get_policy_template_by_id**](docs/PolicyTemplateServiceApi.md#get_policy_template_by_id) | Retrieves a policy template by its unique identifier.
*PolicyTemplateServiceApi* | [**get_policy_templates**](docs/PolicyTemplateServiceApi.md#get_policy_templates) | Retrieves all policy templates, optionally filtered by the parameters in the request.
*PolicyTemplateServiceApi* | [**update_policy_template**](docs/PolicyTemplateServiceApi.md#update_policy_template) | Updates an existing policy template.
*RecommendationEngineServiceApi* | [**get_recommendation_unit_by_id**](docs/RecommendationEngineServiceApi.md#get_recommendation_unit_by_id) | Retrieves all Tenants with filters.
*RecommendationEngineServiceApi* | [**get_recommendation_units**](docs/RecommendationEngineServiceApi.md#get_recommendation_units) | Retrieves all recommendation units by filter
*RecommendationEngineServiceApi* | [**create_action_type**](docs/RecommendationEngineServiceApi.md#create_action_type) | Create Action Type
*RecommendationEngineServiceApi* | [**get_action_types**](docs/RecommendationEngineServiceApi.md#get_action_types) | Get Action Types
*RecommendationEngineServiceApi* | [**get_recommendations**](docs/RecommendationEngineServiceApi.md#get_recommendations) | Get recommendations.
*RecommendationEngineServiceApi* | [**update_action_type**](docs/RecommendationEngineServiceApi.md#update_action_type) | Update Action Type
*RecommendationServiceApi* | [**bulk_create**](docs/RecommendationServiceApi.md#bulk_create) | Creates bulk recommendations.
*RecommendationServiceApi* | [**get_recommendation_by_ticket_id**](docs/RecommendationServiceApi.md#get_recommendation_by_ticket_id) | Get recommendations by ticket id.
*RecommendationUnitServiceApi* | [**create_recommendation_unit**](docs/RecommendationUnitServiceApi.md#create_recommendation_unit) | Create recommendation unit
*RecommendationUnitServiceApi* | [**get_recommendation_unit_by_id**](docs/RecommendationUnitServiceApi.md#get_recommendation_unit_by_id) | Retrieves Recommendation unit ID.
*RecommendationUnitServiceApi* | [**get_recommendation_units**](docs/RecommendationUnitServiceApi.md#get_recommendation_units) | Retrieves all recommendation units with filters
*RecommendationUnitServiceApi* | [**update_recommendation_unit**](docs/RecommendationUnitServiceApi.md#update_recommendation_unit) | Update recommendation unit
*ResourceCatalogApi* | [**get_resource_catalog**](docs/ResourceCatalogApi.md#get_resource_catalog) | Get Resource Catalog
*ResourceCatalogApi* | [**get_resource_catalog_0**](docs/ResourceCatalogApi.md#get_resource_catalog_0) | Get Resource Catalog
*ResourceCatalogApi* | [**get_resource_catalog_with_relationships**](docs/ResourceCatalogApi.md#get_resource_catalog_with_relationships) | Get Resource Catalog With Relationships
Expand Down Expand Up @@ -239,8 +244,10 @@ Class | Method | Description
*TenantUserServiceApi* | [**create_tenant_user_from_ol_user_id**](docs/TenantUserServiceApi.md#create_tenant_user_from_ol_user_id) | Creates a new user from onelens user id (ol_user_id).
*TenantUserServiceApi* | [**disable_tenant_user**](docs/TenantUserServiceApi.md#disable_tenant_user) | Disables an existing tenant user.
*TenantUserServiceApi* | [**enable_tenant_user**](docs/TenantUserServiceApi.md#enable_tenant_user) | Enables an existing tenant user.
*TenantUserServiceApi* | [**enable_tenant_user_with_system**](docs/TenantUserServiceApi.md#enable_tenant_user_with_system) | System Enables an existing tenant user.
*TenantUserServiceApi* | [**get_tenant_user_by_ol_user_id**](docs/TenantUserServiceApi.md#get_tenant_user_by_ol_user_id) | Retrieves a tenant user by its unique onelens user id (ol_user_id).
*TenantUserServiceApi* | [**get_tenant_users**](docs/TenantUserServiceApi.md#get_tenant_users) | Retrieves all tenant users.
*TenantUserServiceApi* | [**send_email_to_user_for_password_change**](docs/TenantUserServiceApi.md#send_email_to_user_for_password_change) | Sends a password change email to the user.
*TenantUserServiceApi* | [**update_tenant_user**](docs/TenantUserServiceApi.md#update_tenant_user) | Updates an existing tenant user.
*TenantUserServiceApi* | [**update_tenant_user_details**](docs/TenantUserServiceApi.md#update_tenant_user_details) | Updates tenant user details.
*TenantUsersApi* | [**create_tenant_user**](docs/TenantUsersApi.md#create_tenant_user) | Create a new user in the Tenant Database.
Expand All @@ -253,6 +260,10 @@ Class | Method | Description
*TenantUsersApi* | [**get_all_tenant_users_with_filter_0**](docs/TenantUsersApi.md#get_all_tenant_users_with_filter_0) | Get All Tenant Users With Filter
*TenantUsersApi* | [**get_tenant_user_by_ol_user_id**](docs/TenantUsersApi.md#get_tenant_user_by_ol_user_id) | Get a user from the Tenant Database.
*TenantUsersApi* | [**get_tenant_user_by_ol_user_id_0**](docs/TenantUsersApi.md#get_tenant_user_by_ol_user_id_0) | Get Tenant User By Ol User Id
*TenantUsersApi* | [**get_tenant_user_profile**](docs/TenantUsersApi.md#get_tenant_user_profile) | Get user profile from the Tenant Database.
*TenantUsersApi* | [**get_tenant_user_profile_0**](docs/TenantUsersApi.md#get_tenant_user_profile_0) | Get Tenant User Profile
*TenantUsersApi* | [**send_email_to_user_for_password_change**](docs/TenantUsersApi.md#send_email_to_user_for_password_change) | Send user password change email.
*TenantUsersApi* | [**send_email_to_user_for_password_change_0**](docs/TenantUsersApi.md#send_email_to_user_for_password_change_0) | Send Email To User For Password Change
*TenantUsersApi* | [**update_tenant_user**](docs/TenantUsersApi.md#update_tenant_user) | Update a user in the Tenant Database.
*TenantUsersApi* | [**update_tenant_user_0**](docs/TenantUsersApi.md#update_tenant_user_0) | Update Tenant User
*TenantUsersApi* | [**update_tenant_user_details**](docs/TenantUsersApi.md#update_tenant_user_details) | Update a user details in the Tenant Database.
Expand Down Expand Up @@ -308,6 +319,9 @@ Class | Method | Description

## Documentation For Models

- [ActionType](docs/ActionType.md)
- [ActionTypeFilters](docs/ActionTypeFilters.md)
- [ActionTypeFiltersServicesInner](docs/ActionTypeFiltersServicesInner.md)
- [ActivatePolicyTemplateRequest](docs/ActivatePolicyTemplateRequest.md)
- [AddTenantPolicyExclusionsAPIRequest](docs/AddTenantPolicyExclusionsAPIRequest.md)
- [AddTenantPolicyExclusionsRequest](docs/AddTenantPolicyExclusionsRequest.md)
Expand All @@ -329,6 +343,8 @@ Class | Method | Description
- [BulkUpdateTenantTicketsResponse](docs/BulkUpdateTenantTicketsResponse.md)
- [City](docs/City.md)
- [Country](docs/Country.md)
- [CreateActionTypeRequest](docs/CreateActionTypeRequest.md)
- [CreateActionTypeResponse](docs/CreateActionTypeResponse.md)
- [CreateAuth0AndOnelensUserResponse](docs/CreateAuth0AndOnelensUserResponse.md)
- [CreateAuth0UserRequest](docs/CreateAuth0UserRequest.md)
- [CreateDefaultHierarchyRequest](docs/CreateDefaultHierarchyRequest.md)
Expand All @@ -343,8 +359,9 @@ Class | Method | Description
- [CreatePolicyTemplatePackRequest](docs/CreatePolicyTemplatePackRequest.md)
- [CreatePolicyTemplatePackResponse](docs/CreatePolicyTemplatePackResponse.md)
- [CreatePolicyTemplateRequest](docs/CreatePolicyTemplateRequest.md)
- [CreatePolicyTemplateRequestServicesInner](docs/CreatePolicyTemplateRequestServicesInner.md)
- [CreatePolicyTemplateResponse](docs/CreatePolicyTemplateResponse.md)
- [CreateRecommendationUnitRequest](docs/CreateRecommendationUnitRequest.md)
- [CreateRecommendationUnitResponse](docs/CreateRecommendationUnitResponse.md)
- [CreateTenantProviderRequest](docs/CreateTenantProviderRequest.md)
- [CreateTenantProviderResponse](docs/CreateTenantProviderResponse.md)
- [CreateTenantRequestWithUser](docs/CreateTenantRequestWithUser.md)
Expand All @@ -369,7 +386,6 @@ Class | Method | Description
- [DeactivatePolicyTemplateRequest](docs/DeactivatePolicyTemplateRequest.md)
- [DeleteHierarchyNodeRequest](docs/DeleteHierarchyNodeRequest.md)
- [DeprecatePolicyTemplateRequest](docs/DeprecatePolicyTemplateRequest.md)
- [DerivedVariable](docs/DerivedVariable.md)
- [Details](docs/Details.md)
- [Details1](docs/Details1.md)
- [Details2](docs/Details2.md)
Expand All @@ -395,6 +411,8 @@ Class | Method | Description
- [Features](docs/Features.md)
- [FirstName](docs/FirstName.md)
- [GcpService](docs/GcpService.md)
- [GetActionTypeRequest](docs/GetActionTypeRequest.md)
- [GetActionTypeResponse](docs/GetActionTypeResponse.md)
- [GetAllPolicyViolationsAPIRequest](docs/GetAllPolicyViolationsAPIRequest.md)
- [GetAllPolicyViolationsRequest](docs/GetAllPolicyViolationsRequest.md)
- [GetAllPolicyViolationsResponse](docs/GetAllPolicyViolationsResponse.md)
Expand Down Expand Up @@ -439,6 +457,7 @@ Class | Method | Description
- [GetRecommendationTicketResponse](docs/GetRecommendationTicketResponse.md)
- [GetRecommendationUnitByIdRequest](docs/GetRecommendationUnitByIdRequest.md)
- [GetRecommendationUnitByIdResponse](docs/GetRecommendationUnitByIdResponse.md)
- [GetRecommendationUnitRequest](docs/GetRecommendationUnitRequest.md)
- [GetRecommendationUnitsRequest](docs/GetRecommendationUnitsRequest.md)
- [GetRecommendationUnitsResponse](docs/GetRecommendationUnitsResponse.md)
- [GetResourceHierarchyMappingByOlIdRequest](docs/GetResourceHierarchyMappingByOlIdRequest.md)
Expand Down Expand Up @@ -474,6 +493,7 @@ Class | Method | Description
- [GetTenantTicketsResponse](docs/GetTenantTicketsResponse.md)
- [GetTenantUserByIDRequest](docs/GetTenantUserByIDRequest.md)
- [GetTenantUserByIDResponse](docs/GetTenantUserByIDResponse.md)
- [GetTenantUserProfileResponse](docs/GetTenantUserProfileResponse.md)
- [GetTenantUsersWithFilterAPIRequest](docs/GetTenantUsersWithFilterAPIRequest.md)
- [GetTenantUsersWithFilterRequest](docs/GetTenantUsersWithFilterRequest.md)
- [GetTenantUsersWithFilterResponse](docs/GetTenantUsersWithFilterResponse.md)
Expand Down Expand Up @@ -528,6 +548,8 @@ Class | Method | Description
- [OverrideTenantPolicyExclusionsResponse](docs/OverrideTenantPolicyExclusionsResponse.md)
- [PaginationFields](docs/PaginationFields.md)
- [PaginationParams](docs/PaginationParams.md)
- [PasswordChangeEmailRequest](docs/PasswordChangeEmailRequest.md)
- [PasswordChangeEmailResponse](docs/PasswordChangeEmailResponse.md)
- [PolicyCategory](docs/PolicyCategory.md)
- [PolicyExecutionType](docs/PolicyExecutionType.md)
- [PolicyRecommendationParams](docs/PolicyRecommendationParams.md)
Expand All @@ -552,19 +574,22 @@ Class | Method | Description
- [ProviderConfigInput](docs/ProviderConfigInput.md)
- [ProviderConfigOutput](docs/ProviderConfigOutput.md)
- [PublishCustomHierarchyRequest](docs/PublishCustomHierarchyRequest.md)
- [QueryDetails](docs/QueryDetails.md)
- [QueryDetailsDerivedVariables](docs/QueryDetailsDerivedVariables.md)
- [QueryFilters](docs/QueryFilters.md)
- [QueryOrder](docs/QueryOrder.md)
- [RecommendationEngine](docs/RecommendationEngine.md)
- [RecommendationEngineAPIRequest](docs/RecommendationEngineAPIRequest.md)
- [RecommendationEngineRequest](docs/RecommendationEngineRequest.md)
- [RecommendationEngineResponse](docs/RecommendationEngineResponse.md)
- [RecommendationParams](docs/RecommendationParams.md)
- [RecommendationQueryDetails](docs/RecommendationQueryDetails.md)
- [RecommendationTicket](docs/RecommendationTicket.md)
- [RecommendationTicketAPIRequestInput](docs/RecommendationTicketAPIRequestInput.md)
- [RecommendationTicketAPIRequestOutput](docs/RecommendationTicketAPIRequestOutput.md)
- [RecommendationTicketRequest](docs/RecommendationTicketRequest.md)
- [RecommendationTicketResponse](docs/RecommendationTicketResponse.md)
- [RecommendationUnit](docs/RecommendationUnit.md)
- [RecommendationUnitFilters](docs/RecommendationUnitFilters.md)
- [RelationshipConfigItem](docs/RelationshipConfigItem.md)
- [ResourceCatalog](docs/ResourceCatalog.md)
- [ResourceCatalogRequest](docs/ResourceCatalogRequest.md)
Expand Down Expand Up @@ -615,11 +640,13 @@ Class | Method | Description
- [ResponseGetTenantProvidersResponse](docs/ResponseGetTenantProvidersResponse.md)
- [ResponseGetTenantTicketsResponse](docs/ResponseGetTenantTicketsResponse.md)
- [ResponseGetTenantUserByIDResponse](docs/ResponseGetTenantUserByIDResponse.md)
- [ResponseGetTenantUserProfileResponse](docs/ResponseGetTenantUserProfileResponse.md)
- [ResponseGetTenantUsersWithFilterResponse](docs/ResponseGetTenantUsersWithFilterResponse.md)
- [ResponseGetTenantsResponse](docs/ResponseGetTenantsResponse.md)
- [ResponseGetTicketByIdPolicyDetailsResponse](docs/ResponseGetTicketByIdPolicyDetailsResponse.md)
- [ResponseOverrideTenantAnomalyConfigResponse](docs/ResponseOverrideTenantAnomalyConfigResponse.md)
- [ResponseOverrideTenantPolicyExclusionsResponse](docs/ResponseOverrideTenantPolicyExclusionsResponse.md)
- [ResponsePasswordChangeEmailResponse](docs/ResponsePasswordChangeEmailResponse.md)
- [ResponseRecommendationEngineResponse](docs/ResponseRecommendationEngineResponse.md)
- [ResponseRecommendationTicketResponse](docs/ResponseRecommendationTicketResponse.md)
- [ResponseResourceCatalogResponse](docs/ResponseResourceCatalogResponse.md)
Expand All @@ -634,18 +661,19 @@ Class | Method | Description
- [ResponseUpdateTenantUserDetailsResponse](docs/ResponseUpdateTenantUserDetailsResponse.md)
- [ResponseUpdateTenantUserResponse](docs/ResponseUpdateTenantUserResponse.md)
- [RuleType](docs/RuleType.md)
- [Service](docs/Service.md)
- [ServiceCatalog](docs/ServiceCatalog.md)
- [ServiceCatalogRequest](docs/ServiceCatalogRequest.md)
- [ServiceCatalogRequestFind](docs/ServiceCatalogRequestFind.md)
- [ServiceCatalogResponse](docs/ServiceCatalogResponse.md)
- [ServiceConfig](docs/ServiceConfig.md)
- [SetTenantStatusRequest](docs/SetTenantStatusRequest.md)
- [SortCriteria](docs/SortCriteria.md)
- [Sources](docs/Sources.md)
- [State](docs/State.md)
- [Status](docs/Status.md)
- [Status1](docs/Status1.md)
- [Statuses](docs/Statuses.md)
- [StorageLensConfig](docs/StorageLensConfig.md)
- [Tenant](docs/Tenant.md)
- [TenantAnomalySettingFilters](docs/TenantAnomalySettingFilters.md)
- [TenantAnomalySettings](docs/TenantAnomalySettings.md)
Expand Down Expand Up @@ -684,13 +712,17 @@ Class | Method | Description
- [TimeDimensionOutput](docs/TimeDimensionOutput.md)
- [TimeDimensionOutputCompareDateRangeInner](docs/TimeDimensionOutputCompareDateRangeInner.md)
- [Timezone](docs/Timezone.md)
- [UpdateActionTypeRequest](docs/UpdateActionTypeRequest.md)
- [UpdateActionTypeResponse](docs/UpdateActionTypeResponse.md)
- [UpdateHierarchyNodeAPIRequest](docs/UpdateHierarchyNodeAPIRequest.md)
- [UpdateHierarchyNodeRequest](docs/UpdateHierarchyNodeRequest.md)
- [UpdateHierarchyNodeResponse](docs/UpdateHierarchyNodeResponse.md)
- [UpdateOrganizationRequest](docs/UpdateOrganizationRequest.md)
- [UpdateOrganizationResponse](docs/UpdateOrganizationResponse.md)
- [UpdatePolicyTemplateRequest](docs/UpdatePolicyTemplateRequest.md)
- [UpdatePolicyTemplateResponse](docs/UpdatePolicyTemplateResponse.md)
- [UpdateRecommendationUnitRequest](docs/UpdateRecommendationUnitRequest.md)
- [UpdateRecommendationUnitResponse](docs/UpdateRecommendationUnitResponse.md)
- [UpdateTenantPolicySettingLastRunAtRequest](docs/UpdateTenantPolicySettingLastRunAtRequest.md)
- [UpdateTenantRequest](docs/UpdateTenantRequest.md)
- [UpdateTenantResponse](docs/UpdateTenantResponse.md)
Expand Down
33 changes: 33 additions & 0 deletions docs/ActionType.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# ActionType


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**service** | [**Service**](Service.md) | |
**title** | **str** | Title |
**subtitle** | **str** | | [optional]
**description** | **str** | Description |
**id** | **int** | Action Type ID |

## Example

```python
from onelens_backend_client.models.action_type import ActionType

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

# convert the object into a dict
action_type_dict = action_type_instance.to_dict()
# create an instance of ActionType from a dict
action_type_form_dict = action_type.from_dict(action_type_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)


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


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**search_query** | **str** | | [optional]
**ids** | **List[int]** | Filter by recommendation unit id/alias. | [optional] [default to []]
**services** | [**List[ActionTypeFiltersServicesInner]**](ActionTypeFiltersServicesInner.md) | Filter by Services | [optional] [default to []]

## Example

```python
from onelens_backend_client.models.action_type_filters import ActionTypeFilters

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

# convert the object into a dict
action_type_filters_dict = action_type_filters_instance.to_dict()
# create an instance of ActionTypeFilters from a dict
action_type_filters_form_dict = action_type_filters.from_dict(action_type_filters_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)


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


## Properties

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

## Example

```python
from onelens_backend_client.models.action_type_filters_services_inner import ActionTypeFiltersServicesInner

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

# convert the object into a dict
action_type_filters_services_inner_dict = action_type_filters_services_inner_instance.to_dict()
# create an instance of ActionTypeFiltersServicesInner from a dict
action_type_filters_services_inner_form_dict = action_type_filters_services_inner.from_dict(action_type_filters_services_inner_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)


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


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**service** | [**Service**](Service.md) | |
**title** | **str** | Title |
**subtitle** | **str** | | [optional]
**description** | **str** | Description |

## Example

```python
from onelens_backend_client.models.create_action_type_request import CreateActionTypeRequest

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

# convert the object into a dict
create_action_type_request_dict = create_action_type_request_instance.to_dict()
# create an instance of CreateActionTypeRequest from a dict
create_action_type_request_form_dict = create_action_type_request.from_dict(create_action_type_request_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)


Loading

0 comments on commit e2584f4

Please sign in to comment.