Skip to content

Commit

Permalink
[PLAT-14809]Add Implicit params to SetUniverseKey (#21)
Browse files Browse the repository at this point in the history
* [PLAT-14809]Add Implicit params to SetUniverseKey

* [PLAT-14809]Add Implicit params to SetUniverseKey

* [PLAT-14809]Add Implicit params to SetUniverseKey
  • Loading branch information
Deepti-yb authored Sep 6, 2024
1 parent 58f8747 commit c3a4e13
Show file tree
Hide file tree
Showing 5 changed files with 901 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ docs/EditBackupParams.md
docs/EditBackupScheduleParams.md
docs/EncryptionAtRestApi.md
docs/EncryptionAtRestConfig.md
docs/EncryptionAtRestKeyParams.md
docs/ExtraDependencies.md
docs/FailedSubtasks.md
docs/FinalizeUpgradeInfoResponse.md
Expand Down Expand Up @@ -572,6 +573,7 @@ model_edit_access_key_rotation_schedule_params.go
model_edit_backup_params.go
model_edit_backup_schedule_params.go
model_encryption_at_rest_config.go
model_encryption_at_rest_key_params.go
model_extra_dependencies.go
model_failed_subtasks.go
model_finalize_upgrade_info_response.go
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,7 @@ Class | Method | HTTP request | Description
- [EditBackupParams](docs/EditBackupParams.md)
- [EditBackupScheduleParams](docs/EditBackupScheduleParams.md)
- [EncryptionAtRestConfig](docs/EncryptionAtRestConfig.md)
- [EncryptionAtRestKeyParams](docs/EncryptionAtRestKeyParams.md)
- [ExtraDependencies](docs/ExtraDependencies.md)
- [FailedSubtasks](docs/FailedSubtasks.md)
- [FinalizeUpgradeInfoResponse](docs/FinalizeUpgradeInfoResponse.md)
Expand Down
12 changes: 11 additions & 1 deletion api_universe_management.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions docs/UniverseManagementApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ Name | Type | Description | Notes

## SetUniverseKey

> UniverseResp SetUniverseKey(ctx, cUUID, uniUUID).Request(request).Execute()
> UniverseResp SetUniverseKey(ctx, cUUID, uniUUID).SetUniverseKeyRequest(setUniverseKeyRequest).Request(request).Execute()
Set a universe's key

Expand All @@ -643,11 +643,12 @@ import (
func main() {
cUUID := TODO // string |
uniUUID := TODO // string |
setUniverseKeyRequest := *openapiclient.NewEncryptionAtRestConfig() // EncryptionAtRestConfig |
request := TODO // interface{} | (optional)

configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.UniverseManagementApi.SetUniverseKey(context.Background(), cUUID, uniUUID).Request(request).Execute()
resp, r, err := api_client.UniverseManagementApi.SetUniverseKey(context.Background(), cUUID, uniUUID).SetUniverseKeyRequest(setUniverseKeyRequest).Request(request).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `UniverseManagementApi.SetUniverseKey``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
Expand Down Expand Up @@ -675,6 +676,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------


**setUniverseKeyRequest** | [**EncryptionAtRestConfig**](EncryptionAtRestConfig.md) | |
**request** | [**interface{}**](interface{}.md) | |

### Return type
Expand All @@ -687,7 +689,7 @@ Name | Type | Description | Notes

### HTTP request headers

- **Content-Type**: Not defined
- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
Expand Down
Loading

0 comments on commit c3a4e13

Please sign in to comment.