Skip to content

Commit

Permalink
modified get tickets api to handle filter by policy ids
Browse files Browse the repository at this point in the history
  • Loading branch information
pranjal-astuto committed Jul 16, 2024
1 parent e5d164c commit f60fed5
Show file tree
Hide file tree
Showing 34 changed files with 3,306 additions and 8 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,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 +255,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 @@ -474,6 +480,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 +535,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 Down Expand Up @@ -615,11 +624,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 @@ -646,6 +657,7 @@ Class | Method | Description
- [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
51 changes: 51 additions & 0 deletions docs/GetTenantUserProfileResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# GetTenantUserProfileResponse


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**profile_pic_url** | [**ProfilePicUrl**](ProfilePicUrl.md) | | [optional]
**last_login** | [**LastLogin**](LastLogin.md) | | [optional]
**status** | [**UserStatus**](UserStatus.md) | Status of the user like ACTIVE, BLOCKED etc. | [optional]
**first_name** | [**FirstName**](FirstName.md) | |
**middle_name** | [**MiddleName**](MiddleName.md) | | [optional]
**last_name** | [**LastName**](LastName.md) | |
**email** | [**Email**](Email.md) | | [optional]
**mobile_country_code** | [**MobileCountryCode**](MobileCountryCode.md) | | [optional]
**mobile_number** | [**MobileNumber**](MobileNumber.md) | | [optional]
**persona** | [**CreateTenantUserRequestPersona**](CreateTenantUserRequestPersona.md) | | [optional]
**role** | [**UserRole**](UserRole.md) | Role of the user in the tenant | [optional]
**job_title** | [**JobTitle**](JobTitle.md) | | [optional]
**manager** | [**Manager**](Manager.md) | | [optional]
**city** | [**City**](City.md) | | [optional]
**state** | [**State**](State.md) | | [optional]
**country** | [**Country**](Country.md) | | [optional]
**display_language** | [**DisplayLanguage**](DisplayLanguage.md) | | [optional]
**preferred_currency** | [**PreferredCurrency**](PreferredCurrency.md) | | [optional]
**timezone** | [**Timezone**](Timezone.md) | | [optional]
**display_date_format** | [**DisplayDateFormat**](DisplayDateFormat.md) | | [optional]
**display_time_format** | [**DisplayTimeFormat**](DisplayTimeFormat.md) | | [optional]
**sources** | [**Sources**](Sources.md) | | [optional]
**ol_user_id** | **object** | Unique onelens identifier for the user |

## Example

```python
from onelens_backend_client.models.get_tenant_user_profile_response import GetTenantUserProfileResponse

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

# convert the object into a dict
get_tenant_user_profile_response_dict = get_tenant_user_profile_response_instance.to_dict()
# create an instance of GetTenantUserProfileResponse from a dict
get_tenant_user_profile_response_form_dict = get_tenant_user_profile_response.from_dict(get_tenant_user_profile_response_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)


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


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ol_user_id** | **str** | Unique onelens identifier for the user |
**tenant_id** | **str** | The unique identifier of the tenant |

## Example

```python
from onelens_backend_client.models.password_change_email_request import PasswordChangeEmailRequest

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

# convert the object into a dict
password_change_email_request_dict = password_change_email_request_instance.to_dict()
# create an instance of PasswordChangeEmailRequest from a dict
password_change_email_request_form_dict = password_change_email_request.from_dict(password_change_email_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)


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


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**message** | **str** | Message for password change email response |

## Example

```python
from onelens_backend_client.models.password_change_email_response import PasswordChangeEmailResponse

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

# convert the object into a dict
password_change_email_response_dict = password_change_email_response_instance.to_dict()
# create an instance of PasswordChangeEmailResponse from a dict
password_change_email_response_form_dict = password_change_email_response.from_dict(password_change_email_response_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)


1 change: 1 addition & 0 deletions docs/ProviderConfigInput.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Name | Type | Description | Notes
**regions** | **object** | | [optional]
**role_name** | **str** | | [optional]
**cur_bucket_config** | [**CurBucketConfig**](CurBucketConfig.md) | | [optional]
**storage_lens_config** | [**StorageLensConfig**](StorageLensConfig.md) | | [optional]

## Example

Expand Down
1 change: 1 addition & 0 deletions docs/ProviderConfigOutput.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Name | Type | Description | Notes
**regions** | **object** | | [optional]
**role_name** | **str** | | [optional]
**cur_bucket_config** | [**CurBucketConfig**](CurBucketConfig.md) | | [optional]
**storage_lens_config** | [**StorageLensConfig**](StorageLensConfig.md) | | [optional]

## Example

Expand Down
30 changes: 30 additions & 0 deletions docs/ResponseGetTenantUserProfileResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# ResponseGetTenantUserProfileResponse


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**GetTenantUserProfileResponse**](GetTenantUserProfileResponse.md) | |
**message** | **str** | | [optional]

## Example

```python
from onelens_backend_client.models.response_get_tenant_user_profile_response import ResponseGetTenantUserProfileResponse

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

# convert the object into a dict
response_get_tenant_user_profile_response_dict = response_get_tenant_user_profile_response_instance.to_dict()
# create an instance of ResponseGetTenantUserProfileResponse from a dict
response_get_tenant_user_profile_response_form_dict = response_get_tenant_user_profile_response.from_dict(response_get_tenant_user_profile_response_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)


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


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**PasswordChangeEmailResponse**](PasswordChangeEmailResponse.md) | |
**message** | **str** | | [optional]

## Example

```python
from onelens_backend_client.models.response_password_change_email_response import ResponsePasswordChangeEmailResponse

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

# convert the object into a dict
response_password_change_email_response_dict = response_password_change_email_response_instance.to_dict()
# create an instance of ResponsePasswordChangeEmailResponse from a dict
response_password_change_email_response_form_dict = response_password_change_email_response.from_dict(response_password_change_email_response_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)


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


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | | [optional]
**region** | **str** | | [optional]

## Example

```python
from onelens_backend_client.models.storage_lens_config import StorageLensConfig

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

# convert the object into a dict
storage_lens_config_dict = storage_lens_config_instance.to_dict()
# create an instance of StorageLensConfig from a dict
storage_lens_config_form_dict = storage_lens_config.from_dict(storage_lens_config_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)


1 change: 1 addition & 0 deletions docs/TenantTicketFilters.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Name | Type | Description | Notes
**ticket_categories** | [**List[TicketCategory]**](TicketCategory.md) | List of ticket categories for which tickets are to be fetched. | [optional] [default to []]
**states** | [**List[TicketState]**](TicketState.md) | List of ticket State for which tickets are to be fetched. | [optional] [default to []]
**statuses** | [**Statuses**](Statuses.md) | | [optional]
**policy_ids** | **List[str]** | List of policy ids for which tickets are to be fetched. | [optional] [default to []]

## Example

Expand Down
Loading

0 comments on commit f60fed5

Please sign in to comment.