From c405c98517e067f1f418fe3caccff5d612913cfa Mon Sep 17 00:00:00 2001 From: Martin Necas Date: Wed, 22 May 2024 15:28:42 +0200 Subject: [PATCH] OCM-9391 | Add limited support reason override Signed-off-by: Martin Necas --- ...limited_support_reason_override_type.model | 22 +++++++++++++++++++ .../v1/limited_support_reason_type.model | 3 +++ 2 files changed, 25 insertions(+) create mode 100644 model/clusters_mgmt/v1/limited_support_reason_override_type.model diff --git a/model/clusters_mgmt/v1/limited_support_reason_override_type.model b/model/clusters_mgmt/v1/limited_support_reason_override_type.model new file mode 100644 index 00000000..f4e4f39a --- /dev/null +++ b/model/clusters_mgmt/v1/limited_support_reason_override_type.model @@ -0,0 +1,22 @@ +/* +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. +*/ + +// Representation of the status of a node pool. +class LimitedSupportReasonOverride { + + // Indicates if the override is enabled + Enabled Boolean +} diff --git a/model/clusters_mgmt/v1/limited_support_reason_type.model b/model/clusters_mgmt/v1/limited_support_reason_type.model index d9c9ad34..08168d3b 100644 --- a/model/clusters_mgmt/v1/limited_support_reason_type.model +++ b/model/clusters_mgmt/v1/limited_support_reason_type.model @@ -36,4 +36,7 @@ class LimitedSupportReason { // Indicates if the reason was detected automatically or manually. // When creating a new reason this field should be empty or "manual". DetectionType DetectionType + + // Indicates if the override is enabled + Override LimitedSupportReasonOverride }