diff --git a/model/clusters_mgmt/v1/role_policy_binding_status_type.model b/model/clusters_mgmt/v1/role_policy_binding_status_type.model index 2e986072..684ae3b9 100644 --- a/model/clusters_mgmt/v1/role_policy_binding_status_type.model +++ b/model/clusters_mgmt/v1/role_policy_binding_status_type.model @@ -15,6 +15,6 @@ limitations under the License. */ struct RolePolicyBindingStatus { - Value RolePolicyBindingStatusType + Value String Description String } diff --git a/model/clusters_mgmt/v1/role_policy_binding_status_type_type.model b/model/clusters_mgmt/v1/role_policy_binding_status_type_type.model deleted file mode 100644 index f4557a57..00000000 --- a/model/clusters_mgmt/v1/role_policy_binding_status_type_type.model +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright (c) 2024 Red Hat, Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -enum RolePolicyBindingStatusType { - @json(name = "succeeded") - Succeeded - - @json(name = "failed") - Failed -} diff --git a/model/clusters_mgmt/v1/role_policy_binding_type.model b/model/clusters_mgmt/v1/role_policy_binding_type.model index 22b87f0e..973f8f82 100644 --- a/model/clusters_mgmt/v1/role_policy_binding_type.model +++ b/model/clusters_mgmt/v1/role_policy_binding_type.model @@ -17,7 +17,7 @@ limitations under the License. struct RolePolicyBinding { Name String Arn String - Type RolePolicyBindingType + Type String Status RolePolicyBindingStatus Policies []RolePolicy } diff --git a/model/clusters_mgmt/v1/role_policy_binding_type_type.model b/model/clusters_mgmt/v1/role_policy_binding_type_type.model deleted file mode 100644 index aa14742e..00000000 --- a/model/clusters_mgmt/v1/role_policy_binding_type_type.model +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright (c) 2024 Red Hat, Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -enum RolePolicyBindingType { - @json(name = "account") - Account - - @json(name = "operator") - Operator -} diff --git a/model/clusters_mgmt/v1/role_policy_type.model b/model/clusters_mgmt/v1/role_policy_type.model index fca5f948..bd4086c2 100644 --- a/model/clusters_mgmt/v1/role_policy_type.model +++ b/model/clusters_mgmt/v1/role_policy_type.model @@ -17,5 +17,5 @@ limitations under the License. struct RolePolicy { Name String Arn String - Type RolePolicyType + Type String } diff --git a/model/clusters_mgmt/v1/role_policy_type_type.model b/model/clusters_mgmt/v1/role_policy_type_type.model deleted file mode 100644 index 731f3c84..00000000 --- a/model/clusters_mgmt/v1/role_policy_type_type.model +++ /dev/null @@ -1,26 +0,0 @@ -/* -Copyright (c) 2024 Red Hat, Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -enum RolePolicyType { - @json(name = "managed") - Managed - - @json(name = "customer") - Customer - - @json(name = "inline") - Inline -}