diff --git a/Makefile b/Makefile
index b9719c467cf..9b6cee7e7a9 100644
--- a/Makefile
+++ b/Makefile
@@ -60,6 +60,7 @@ generate-openapi-classes:
cd kubernetes-model-generator/openshift-model && mvn -Pgenerate clean install
cd kubernetes-model-generator/openshift-model-operator && mvn -Pgenerate clean install
cd kubernetes-model-generator/openshift-model-miscellaneous && mvn -Pgenerate clean install
+ cd kubernetes-model-generator/openshift-model-operatorhub && mvn -Pgenerate clean install
# Legacy generation of the model: TODO: remove
.PHONY: generate-model-legacy
diff --git a/kubernetes-model-generator/generateModel.sh b/kubernetes-model-generator/generateModel.sh
index 1c33802cfa0..f3526cbf291 100755
--- a/kubernetes-model-generator/generateModel.sh
+++ b/kubernetes-model-generator/generateModel.sh
@@ -22,7 +22,6 @@ ABSOLUTE_BASEDIR=$(realpath "$BASEDIR")
# Array for all existing modules
declare -a modules=(
- "openshift-model-operatorhub"
"openshift-model-console"
"openshift-model-clusterautoscaling"
"openshift-model-hive"
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/Makefile b/kubernetes-model-generator/openshift-model-operatorhub/Makefile
deleted file mode 100644
index c09a7003874..00000000000
--- a/kubernetes-model-generator/openshift-model-operatorhub/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-#
-# Copyright (C) 2015 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.
-#
-
-SHELL := /bin/bash
-
-all: build
-
-build: gobuild
- mvn -Pgenerate clean install -DskipTests
-
-gobuild:
- CGO_ENABLED=0 GO15VENDOREXPERIMENT=1 go build -a ./cmd/generate/generate.go
- ./generate > src/main/resources/schema/kube-schema.json
- ./generate validation > src/main/resources/schema/validation-schema.json
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/cmd/generate/generate.go b/kubernetes-model-generator/openshift-model-operatorhub/cmd/generate/generate.go
deleted file mode 100644
index 8ee31839dad..00000000000
--- a/kubernetes-model-generator/openshift-model-operatorhub/cmd/generate/generate.go
+++ /dev/null
@@ -1,129 +0,0 @@
-/**
- * Copyright (C) 2015 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.
- */
-package main
-
-import (
- "bytes"
- "encoding/json"
- "fmt"
- "k8s.io/apimachinery/pkg/api/resource"
- metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
- apimachineryversion "k8s.io/apimachinery/pkg/version"
- k8sappsapi "k8s.io/api/apps/v1"
- rbac "k8s.io/api/rbac/v1"
- admissionregistrationv1 "k8s.io/api/admissionregistration/v1"
- "log"
- "reflect"
- "strings"
- "time"
- operatorhubv1 "github.com/operator-framework/api/pkg/operators/v1"
- operatorhubv1alpha1 "github.com/operator-framework/api/pkg/operators/v1alpha1"
- operatorlifecyclemanager "github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1"
- version "github.com/operator-framework/api/pkg/lib/version"
-
- "os"
-
- "github.com/fabric8io/kubernetes-client/kubernetes-model-generator/pkg/schemagen"
-)
-
-type Schema struct {
- Info apimachineryversion.Info
- APIGroup metav1.APIGroup
- APIGroupList metav1.APIGroupList
- BaseKubernetesList metav1.List
- ObjectMeta metav1.ObjectMeta
- TypeMeta metav1.TypeMeta
- Status metav1.Status
- Patch metav1.Patch
- Time metav1.Time
- Deployment k8sappsapi.Deployment
- PolicyRule rbac.PolicyRule
- RuleWithOperations admissionregistrationv1.RuleWithOperations
- Quantity resource.Quantity
- CatalogSource operatorhubv1alpha1.CatalogSource
- CatalogSourceList operatorhubv1alpha1.CatalogSourceList
- ClusterServiceVersion operatorhubv1alpha1.ClusterServiceVersion
- ClusterServiceVersionList operatorhubv1alpha1.ClusterServiceVersionList
- InstallPlan operatorhubv1alpha1.InstallPlan
- InstallPlanList operatorhubv1alpha1.InstallPlanList
- Subscription operatorhubv1alpha1.Subscription
- SubscriptionList operatorhubv1alpha1.SubscriptionList
- OperatorGroup operatorhubv1.OperatorGroup
- OperatorGroupList operatorhubv1.OperatorGroupList
- OperatorCondition operatorhubv1.OperatorCondition
- OperatorConditionList operatorhubv1.OperatorConditionList
- Operator operatorhubv1.Operator
- OperatorList operatorhubv1.OperatorList
- OLMConfig operatorhubv1.OLMConfig
- OLMConfigList operatorhubv1.OLMConfigList
- PackageManifest operatorlifecyclemanager.PackageManifest
- PackageManifestList operatorlifecyclemanager.PackageManifestList
-}
-
-func main() {
- packages := []schemagen.PackageDescriptor{
- {"k8s.io/api/core/v1", "", "io.fabric8.kubernetes.api.model", "kubernetes_core_", false},
- {"k8s.io/apimachinery/pkg/api/resource", "", "io.fabric8.kubernetes.api.model", "kubernetes_resource_", false},
- {"k8s.io/apimachinery/pkg/util/intstr", "", "io.fabric8.kubernetes.api.model", "kubernetes_apimachinery_pkg_util_intstr_", false},
- {"k8s.io/apimachinery/pkg/runtime", "", "io.fabric8.openshift.api.model.runtime", "kubernetes_apimachinery_pkg_runtime_", false},
- {"k8s.io/apimachinery/pkg/version", "", "io.fabric8.kubernetes.api.model.version", "kubernetes_apimachinery_pkg_version_", false},
- {"k8s.io/kubernetes/pkg/util", "", "io.fabric8.kubernetes.api.model", "kubernetes_util_", false},
- {"k8s.io/kubernetes/pkg/api/errors", "", "io.fabric8.kubernetes.api.model", "kubernetes_errors_", false},
- {"k8s.io/kubernetes/pkg/api/unversioned", "", "io.fabric8.kubernetes.api.model", "api_", false},
- {"k8s.io/apimachinery/pkg/apis/meta/v1", "", "io.fabric8.kubernetes.api.model", "kubernetes_apimachinery_", false},
- {"k8s.io/api/rbac/v1", "rbac.authorization.k8s.io", "io.fabric8.kubernetes.api.model.rbac", "kubernetes_rbac_v1_", false},
- {"k8s.io/api/apps/v1", "", "io.fabric8.kubernetes.api.model.apps", "kubernetes_apps_", false},
- {"k8s.io/api/admissionregistration/v1", "admissionregistration.k8s.io", "io.fabric8.kubernetes.api.model.admissionregistration.v1", "kubernetes_admissionregistration_v1_", false},
- {"github.com/operator-framework/api/pkg/operators/v1", "operators.coreos.com", "io.fabric8.openshift.api.model.operatorhub.v1", "os_operatorhub_v1_", true},
- {"github.com/operator-framework/api/pkg/operators/v1alpha1", "operators.coreos.com", "io.fabric8.openshift.api.model.operatorhub.v1alpha1", "os_operatorhub_v1alpha1_", true},
- {"github.com/operator-framework/api/pkg/lib/version", "", "io.fabric8.openshift.api.model.operatorhub.v1alpha1", "os_operatorhub_manifests_", true},
- {"github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1", "packages.operators.coreos.com", "io.fabric8.openshift.api.model.operatorhub.lifecyclemanager.v1", "os_operatorhub_lifecyclemanager_", true},
- }
-
- typeMap := map[reflect.Type]reflect.Type{
- reflect.TypeOf(time.Time{}): reflect.TypeOf(""),
- reflect.TypeOf(struct{}{}): reflect.TypeOf(""),
- reflect.TypeOf(version.OperatorVersion{}): reflect.TypeOf(""),
- }
- manualTypeMap := map[reflect.Type]string {
- reflect.TypeOf(operatorhubv1.RichReference{}): "com.fasterxml.jackson.databind.JsonNode",
- }
- schema, err := schemagen.GenerateSchema(reflect.TypeOf(Schema{}), packages, typeMap, manualTypeMap,"operatorhub")
- if err != nil {
- fmt.Fprintf(os.Stderr, "An error occurred: %v", err)
- return
- }
-
- args := os.Args[1:]
- if len(args) < 1 || args[0] != "validation" {
- schema.Resources = nil
- }
-
- b, err := json.Marshal(&schema)
- if err != nil {
- log.Fatal(err)
- }
- result := string(b)
- result = strings.Replace(result, "\"additionalProperty\":", "\"additionalProperties\":", -1)
-
- var out bytes.Buffer
- err = json.Indent(&out, []byte(result), "", " ")
- if err != nil {
- log.Fatal(err)
- }
-
- fmt.Println(out.String())
-}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/pom.xml b/kubernetes-model-generator/openshift-model-operatorhub/pom.xml
index 5632e42292f..bbb833787f8 100644
--- a/kubernetes-model-generator/openshift-model-operatorhub/pom.xml
+++ b/kubernetes-model-generator/openshift-model-operatorhub/pom.xml
@@ -41,15 +41,7 @@
io.fabric8
- openshift-model
-
-
- io.fabric8
- kubernetes-model-apps
-
-
- io.fabric8
- kubernetes-model-admissionregistration
+ kubernetes-model-core
org.assertj
@@ -58,50 +50,33 @@
-
-
-
- org.codehaus.mojo
- build-helper-maven-plugin
-
-
- attach-artifacts
-
- false
-
-
-
-
-
-
-
generate
- org.jsonschema2pojo
- jsonschema2pojo-maven-plugin
-
-
- maven-antrun-plugin
-
-
- generate-sources
-
-
- Removing the duplicate generated class
-
-
-
-
- run
-
-
-
+ io.fabric8
+ openapi-model-generator-maven-plugin
+
+
+
+ ${openapi.schema.openshift-latest}
+
+
+ io.fabric8.kubernetes.api.model
+ io.fabric8.openshift.api.model.operatorhub
+ io.fabric8.openshift.api.model.operatorhub
+ io.fabric8.openshift.api.model.operatorhub
+ io.fabric8.openshift.api.model.operatorhub.lifecyclemanager
+
+
+ ^com\.coreos\.operators\..*$
+ ^com\.github\.operator-framework\.api\.pkg\.operators\.v1alpha1\..*$
+ ^com\.github\.operator-framework\.operator-lifecycle-manager\.pkg\.package-server\.apis\.operators\..*$
+
+
+
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java
deleted file mode 100644
index 164edc2c5eb..00000000000
--- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java
+++ /dev/null
@@ -1,437 +0,0 @@
-
-package io.fabric8.kubernetes.api.model;
-
-import java.util.LinkedHashMap;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import io.fabric8.kubernetes.api.model.admissionregistration.v1.RuleWithOperations;
-import io.fabric8.kubernetes.api.model.apps.Deployment;
-import io.fabric8.kubernetes.api.model.rbac.PolicyRule;
-import io.fabric8.kubernetes.api.model.version.Info;
-import io.fabric8.openshift.api.model.operatorhub.lifecyclemanager.v1.PackageManifest;
-import io.fabric8.openshift.api.model.operatorhub.lifecyclemanager.v1.PackageManifestList;
-import io.fabric8.openshift.api.model.operatorhub.v1.OLMConfig;
-import io.fabric8.openshift.api.model.operatorhub.v1.OLMConfigList;
-import io.fabric8.openshift.api.model.operatorhub.v1.Operator;
-import io.fabric8.openshift.api.model.operatorhub.v1.OperatorCondition;
-import io.fabric8.openshift.api.model.operatorhub.v1.OperatorConditionList;
-import io.fabric8.openshift.api.model.operatorhub.v1.OperatorGroup;
-import io.fabric8.openshift.api.model.operatorhub.v1.OperatorGroupList;
-import io.fabric8.openshift.api.model.operatorhub.v1.OperatorList;
-import io.fabric8.openshift.api.model.operatorhub.v1alpha1.CatalogSource;
-import io.fabric8.openshift.api.model.operatorhub.v1alpha1.CatalogSourceList;
-import io.fabric8.openshift.api.model.operatorhub.v1alpha1.ClusterServiceVersion;
-import io.fabric8.openshift.api.model.operatorhub.v1alpha1.ClusterServiceVersionList;
-import io.fabric8.openshift.api.model.operatorhub.v1alpha1.InstallPlan;
-import io.fabric8.openshift.api.model.operatorhub.v1alpha1.InstallPlanList;
-import io.fabric8.openshift.api.model.operatorhub.v1alpha1.Subscription;
-import io.fabric8.openshift.api.model.operatorhub.v1alpha1.SubscriptionList;
-
-@Generated("jsonschema2pojo")
-public class KubeSchema {
-
- private APIGroup aPIGroup;
- private APIGroupList aPIGroupList;
- private KubernetesList baseKubernetesList;
- private CatalogSource catalogSource;
- private CatalogSourceList catalogSourceList;
- private ClusterServiceVersion clusterServiceVersion;
- private ClusterServiceVersionList clusterServiceVersionList;
- private Deployment deployment;
- private Info info;
- private InstallPlan installPlan;
- private InstallPlanList installPlanList;
- private OLMConfig oLMConfig;
- private OLMConfigList oLMConfigList;
- private ObjectMeta objectMeta;
- private Operator operator;
- private OperatorCondition operatorCondition;
- private OperatorConditionList operatorConditionList;
- private OperatorGroup operatorGroup;
- private OperatorGroupList operatorGroupList;
- private OperatorList operatorList;
- private PackageManifest packageManifest;
- private PackageManifestList packageManifestList;
- private Patch patch;
- private PolicyRule policyRule;
- private Quantity quantity;
- private RuleWithOperations ruleWithOperations;
- private Status status;
- private Subscription subscription;
- private SubscriptionList subscriptionList;
- private String time;
- private TypeMeta typeMeta;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public KubeSchema() {
- }
-
- public KubeSchema(APIGroup aPIGroup, APIGroupList aPIGroupList, KubernetesList baseKubernetesList, CatalogSource catalogSource, CatalogSourceList catalogSourceList, ClusterServiceVersion clusterServiceVersion, ClusterServiceVersionList clusterServiceVersionList, Deployment deployment, Info info, InstallPlan installPlan, InstallPlanList installPlanList, OLMConfig oLMConfig, OLMConfigList oLMConfigList, ObjectMeta objectMeta, Operator operator, OperatorCondition operatorCondition, OperatorConditionList operatorConditionList, OperatorGroup operatorGroup, OperatorGroupList operatorGroupList, OperatorList operatorList, PackageManifest packageManifest, PackageManifestList packageManifestList, Patch patch, PolicyRule policyRule, Quantity quantity, RuleWithOperations ruleWithOperations, Status status, Subscription subscription, SubscriptionList subscriptionList, String time, TypeMeta typeMeta) {
- super();
- this.aPIGroup = aPIGroup;
- this.aPIGroupList = aPIGroupList;
- this.baseKubernetesList = baseKubernetesList;
- this.catalogSource = catalogSource;
- this.catalogSourceList = catalogSourceList;
- this.clusterServiceVersion = clusterServiceVersion;
- this.clusterServiceVersionList = clusterServiceVersionList;
- this.deployment = deployment;
- this.info = info;
- this.installPlan = installPlan;
- this.installPlanList = installPlanList;
- this.oLMConfig = oLMConfig;
- this.oLMConfigList = oLMConfigList;
- this.objectMeta = objectMeta;
- this.operator = operator;
- this.operatorCondition = operatorCondition;
- this.operatorConditionList = operatorConditionList;
- this.operatorGroup = operatorGroup;
- this.operatorGroupList = operatorGroupList;
- this.operatorList = operatorList;
- this.packageManifest = packageManifest;
- this.packageManifestList = packageManifestList;
- this.patch = patch;
- this.policyRule = policyRule;
- this.quantity = quantity;
- this.ruleWithOperations = ruleWithOperations;
- this.status = status;
- this.subscription = subscription;
- this.subscriptionList = subscriptionList;
- this.time = time;
- this.typeMeta = typeMeta;
- }
-
- @JsonProperty("APIGroup")
- public APIGroup getAPIGroup() {
- return aPIGroup;
- }
-
- @JsonProperty("APIGroup")
- public void setAPIGroup(APIGroup aPIGroup) {
- this.aPIGroup = aPIGroup;
- }
-
- @JsonProperty("APIGroupList")
- public APIGroupList getAPIGroupList() {
- return aPIGroupList;
- }
-
- @JsonProperty("APIGroupList")
- public void setAPIGroupList(APIGroupList aPIGroupList) {
- this.aPIGroupList = aPIGroupList;
- }
-
- @JsonProperty("BaseKubernetesList")
- public KubernetesList getBaseKubernetesList() {
- return baseKubernetesList;
- }
-
- @JsonProperty("BaseKubernetesList")
- public void setBaseKubernetesList(KubernetesList baseKubernetesList) {
- this.baseKubernetesList = baseKubernetesList;
- }
-
- @JsonProperty("CatalogSource")
- public CatalogSource getCatalogSource() {
- return catalogSource;
- }
-
- @JsonProperty("CatalogSource")
- public void setCatalogSource(CatalogSource catalogSource) {
- this.catalogSource = catalogSource;
- }
-
- @JsonProperty("CatalogSourceList")
- public CatalogSourceList getCatalogSourceList() {
- return catalogSourceList;
- }
-
- @JsonProperty("CatalogSourceList")
- public void setCatalogSourceList(CatalogSourceList catalogSourceList) {
- this.catalogSourceList = catalogSourceList;
- }
-
- @JsonProperty("ClusterServiceVersion")
- public ClusterServiceVersion getClusterServiceVersion() {
- return clusterServiceVersion;
- }
-
- @JsonProperty("ClusterServiceVersion")
- public void setClusterServiceVersion(ClusterServiceVersion clusterServiceVersion) {
- this.clusterServiceVersion = clusterServiceVersion;
- }
-
- @JsonProperty("ClusterServiceVersionList")
- public ClusterServiceVersionList getClusterServiceVersionList() {
- return clusterServiceVersionList;
- }
-
- @JsonProperty("ClusterServiceVersionList")
- public void setClusterServiceVersionList(ClusterServiceVersionList clusterServiceVersionList) {
- this.clusterServiceVersionList = clusterServiceVersionList;
- }
-
- @JsonProperty("Deployment")
- public Deployment getDeployment() {
- return deployment;
- }
-
- @JsonProperty("Deployment")
- public void setDeployment(Deployment deployment) {
- this.deployment = deployment;
- }
-
- @JsonProperty("Info")
- public Info getInfo() {
- return info;
- }
-
- @JsonProperty("Info")
- public void setInfo(Info info) {
- this.info = info;
- }
-
- @JsonProperty("InstallPlan")
- public InstallPlan getInstallPlan() {
- return installPlan;
- }
-
- @JsonProperty("InstallPlan")
- public void setInstallPlan(InstallPlan installPlan) {
- this.installPlan = installPlan;
- }
-
- @JsonProperty("InstallPlanList")
- public InstallPlanList getInstallPlanList() {
- return installPlanList;
- }
-
- @JsonProperty("InstallPlanList")
- public void setInstallPlanList(InstallPlanList installPlanList) {
- this.installPlanList = installPlanList;
- }
-
- @JsonProperty("OLMConfig")
- public OLMConfig getOLMConfig() {
- return oLMConfig;
- }
-
- @JsonProperty("OLMConfig")
- public void setOLMConfig(OLMConfig oLMConfig) {
- this.oLMConfig = oLMConfig;
- }
-
- @JsonProperty("OLMConfigList")
- public OLMConfigList getOLMConfigList() {
- return oLMConfigList;
- }
-
- @JsonProperty("OLMConfigList")
- public void setOLMConfigList(OLMConfigList oLMConfigList) {
- this.oLMConfigList = oLMConfigList;
- }
-
- @JsonProperty("ObjectMeta")
- public ObjectMeta getObjectMeta() {
- return objectMeta;
- }
-
- @JsonProperty("ObjectMeta")
- public void setObjectMeta(ObjectMeta objectMeta) {
- this.objectMeta = objectMeta;
- }
-
- @JsonProperty("Operator")
- public Operator getOperator() {
- return operator;
- }
-
- @JsonProperty("Operator")
- public void setOperator(Operator operator) {
- this.operator = operator;
- }
-
- @JsonProperty("OperatorCondition")
- public OperatorCondition getOperatorCondition() {
- return operatorCondition;
- }
-
- @JsonProperty("OperatorCondition")
- public void setOperatorCondition(OperatorCondition operatorCondition) {
- this.operatorCondition = operatorCondition;
- }
-
- @JsonProperty("OperatorConditionList")
- public OperatorConditionList getOperatorConditionList() {
- return operatorConditionList;
- }
-
- @JsonProperty("OperatorConditionList")
- public void setOperatorConditionList(OperatorConditionList operatorConditionList) {
- this.operatorConditionList = operatorConditionList;
- }
-
- @JsonProperty("OperatorGroup")
- public OperatorGroup getOperatorGroup() {
- return operatorGroup;
- }
-
- @JsonProperty("OperatorGroup")
- public void setOperatorGroup(OperatorGroup operatorGroup) {
- this.operatorGroup = operatorGroup;
- }
-
- @JsonProperty("OperatorGroupList")
- public OperatorGroupList getOperatorGroupList() {
- return operatorGroupList;
- }
-
- @JsonProperty("OperatorGroupList")
- public void setOperatorGroupList(OperatorGroupList operatorGroupList) {
- this.operatorGroupList = operatorGroupList;
- }
-
- @JsonProperty("OperatorList")
- public OperatorList getOperatorList() {
- return operatorList;
- }
-
- @JsonProperty("OperatorList")
- public void setOperatorList(OperatorList operatorList) {
- this.operatorList = operatorList;
- }
-
- @JsonProperty("PackageManifest")
- public PackageManifest getPackageManifest() {
- return packageManifest;
- }
-
- @JsonProperty("PackageManifest")
- public void setPackageManifest(PackageManifest packageManifest) {
- this.packageManifest = packageManifest;
- }
-
- @JsonProperty("PackageManifestList")
- public PackageManifestList getPackageManifestList() {
- return packageManifestList;
- }
-
- @JsonProperty("PackageManifestList")
- public void setPackageManifestList(PackageManifestList packageManifestList) {
- this.packageManifestList = packageManifestList;
- }
-
- @JsonProperty("Patch")
- public Patch getPatch() {
- return patch;
- }
-
- @JsonProperty("Patch")
- public void setPatch(Patch patch) {
- this.patch = patch;
- }
-
- @JsonProperty("PolicyRule")
- public PolicyRule getPolicyRule() {
- return policyRule;
- }
-
- @JsonProperty("PolicyRule")
- public void setPolicyRule(PolicyRule policyRule) {
- this.policyRule = policyRule;
- }
-
- @JsonProperty("Quantity")
- public Quantity getQuantity() {
- return quantity;
- }
-
- @JsonProperty("Quantity")
- public void setQuantity(Quantity quantity) {
- this.quantity = quantity;
- }
-
- @JsonProperty("RuleWithOperations")
- public RuleWithOperations getRuleWithOperations() {
- return ruleWithOperations;
- }
-
- @JsonProperty("RuleWithOperations")
- public void setRuleWithOperations(RuleWithOperations ruleWithOperations) {
- this.ruleWithOperations = ruleWithOperations;
- }
-
- @JsonProperty("Status")
- public Status getStatus() {
- return status;
- }
-
- @JsonProperty("Status")
- public void setStatus(Status status) {
- this.status = status;
- }
-
- @JsonProperty("Subscription")
- public Subscription getSubscription() {
- return subscription;
- }
-
- @JsonProperty("Subscription")
- public void setSubscription(Subscription subscription) {
- this.subscription = subscription;
- }
-
- @JsonProperty("SubscriptionList")
- public SubscriptionList getSubscriptionList() {
- return subscriptionList;
- }
-
- @JsonProperty("SubscriptionList")
- public void setSubscriptionList(SubscriptionList subscriptionList) {
- this.subscriptionList = subscriptionList;
- }
-
- @JsonProperty("Time")
- public String getTime() {
- return time;
- }
-
- @JsonProperty("Time")
- public void setTime(String time) {
- this.time = time;
- }
-
- @JsonProperty("TypeMeta")
- public TypeMeta getTypeMeta() {
- return typeMeta;
- }
-
- @JsonProperty("TypeMeta")
- public void setTypeMeta(TypeMeta typeMeta) {
- this.typeMeta = typeMeta;
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java
deleted file mode 100644
index 1658a07cad5..00000000000
--- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java
+++ /dev/null
@@ -1,437 +0,0 @@
-
-package io.fabric8.kubernetes.api.model;
-
-import java.util.LinkedHashMap;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import io.fabric8.kubernetes.api.model.admissionregistration.v1.RuleWithOperations;
-import io.fabric8.kubernetes.api.model.apps.Deployment;
-import io.fabric8.kubernetes.api.model.rbac.PolicyRule;
-import io.fabric8.kubernetes.api.model.version.Info;
-import io.fabric8.openshift.api.model.operatorhub.lifecyclemanager.v1.PackageManifest;
-import io.fabric8.openshift.api.model.operatorhub.lifecyclemanager.v1.PackageManifestList;
-import io.fabric8.openshift.api.model.operatorhub.v1.OLMConfig;
-import io.fabric8.openshift.api.model.operatorhub.v1.OLMConfigList;
-import io.fabric8.openshift.api.model.operatorhub.v1.Operator;
-import io.fabric8.openshift.api.model.operatorhub.v1.OperatorCondition;
-import io.fabric8.openshift.api.model.operatorhub.v1.OperatorConditionList;
-import io.fabric8.openshift.api.model.operatorhub.v1.OperatorGroup;
-import io.fabric8.openshift.api.model.operatorhub.v1.OperatorGroupList;
-import io.fabric8.openshift.api.model.operatorhub.v1.OperatorList;
-import io.fabric8.openshift.api.model.operatorhub.v1alpha1.CatalogSource;
-import io.fabric8.openshift.api.model.operatorhub.v1alpha1.CatalogSourceList;
-import io.fabric8.openshift.api.model.operatorhub.v1alpha1.ClusterServiceVersion;
-import io.fabric8.openshift.api.model.operatorhub.v1alpha1.ClusterServiceVersionList;
-import io.fabric8.openshift.api.model.operatorhub.v1alpha1.InstallPlan;
-import io.fabric8.openshift.api.model.operatorhub.v1alpha1.InstallPlanList;
-import io.fabric8.openshift.api.model.operatorhub.v1alpha1.Subscription;
-import io.fabric8.openshift.api.model.operatorhub.v1alpha1.SubscriptionList;
-
-@Generated("jsonschema2pojo")
-public class ValidationSchema {
-
- private APIGroup aPIGroup;
- private APIGroupList aPIGroupList;
- private KubernetesList baseKubernetesList;
- private CatalogSource catalogSource;
- private CatalogSourceList catalogSourceList;
- private ClusterServiceVersion clusterServiceVersion;
- private ClusterServiceVersionList clusterServiceVersionList;
- private Deployment deployment;
- private Info info;
- private InstallPlan installPlan;
- private InstallPlanList installPlanList;
- private OLMConfig oLMConfig;
- private OLMConfigList oLMConfigList;
- private ObjectMeta objectMeta;
- private Operator operator;
- private OperatorCondition operatorCondition;
- private OperatorConditionList operatorConditionList;
- private OperatorGroup operatorGroup;
- private OperatorGroupList operatorGroupList;
- private OperatorList operatorList;
- private PackageManifest packageManifest;
- private PackageManifestList packageManifestList;
- private Patch patch;
- private PolicyRule policyRule;
- private Quantity quantity;
- private RuleWithOperations ruleWithOperations;
- private Status status;
- private Subscription subscription;
- private SubscriptionList subscriptionList;
- private String time;
- private TypeMeta typeMeta;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public ValidationSchema() {
- }
-
- public ValidationSchema(APIGroup aPIGroup, APIGroupList aPIGroupList, KubernetesList baseKubernetesList, CatalogSource catalogSource, CatalogSourceList catalogSourceList, ClusterServiceVersion clusterServiceVersion, ClusterServiceVersionList clusterServiceVersionList, Deployment deployment, Info info, InstallPlan installPlan, InstallPlanList installPlanList, OLMConfig oLMConfig, OLMConfigList oLMConfigList, ObjectMeta objectMeta, Operator operator, OperatorCondition operatorCondition, OperatorConditionList operatorConditionList, OperatorGroup operatorGroup, OperatorGroupList operatorGroupList, OperatorList operatorList, PackageManifest packageManifest, PackageManifestList packageManifestList, Patch patch, PolicyRule policyRule, Quantity quantity, RuleWithOperations ruleWithOperations, Status status, Subscription subscription, SubscriptionList subscriptionList, String time, TypeMeta typeMeta) {
- super();
- this.aPIGroup = aPIGroup;
- this.aPIGroupList = aPIGroupList;
- this.baseKubernetesList = baseKubernetesList;
- this.catalogSource = catalogSource;
- this.catalogSourceList = catalogSourceList;
- this.clusterServiceVersion = clusterServiceVersion;
- this.clusterServiceVersionList = clusterServiceVersionList;
- this.deployment = deployment;
- this.info = info;
- this.installPlan = installPlan;
- this.installPlanList = installPlanList;
- this.oLMConfig = oLMConfig;
- this.oLMConfigList = oLMConfigList;
- this.objectMeta = objectMeta;
- this.operator = operator;
- this.operatorCondition = operatorCondition;
- this.operatorConditionList = operatorConditionList;
- this.operatorGroup = operatorGroup;
- this.operatorGroupList = operatorGroupList;
- this.operatorList = operatorList;
- this.packageManifest = packageManifest;
- this.packageManifestList = packageManifestList;
- this.patch = patch;
- this.policyRule = policyRule;
- this.quantity = quantity;
- this.ruleWithOperations = ruleWithOperations;
- this.status = status;
- this.subscription = subscription;
- this.subscriptionList = subscriptionList;
- this.time = time;
- this.typeMeta = typeMeta;
- }
-
- @JsonProperty("APIGroup")
- public APIGroup getAPIGroup() {
- return aPIGroup;
- }
-
- @JsonProperty("APIGroup")
- public void setAPIGroup(APIGroup aPIGroup) {
- this.aPIGroup = aPIGroup;
- }
-
- @JsonProperty("APIGroupList")
- public APIGroupList getAPIGroupList() {
- return aPIGroupList;
- }
-
- @JsonProperty("APIGroupList")
- public void setAPIGroupList(APIGroupList aPIGroupList) {
- this.aPIGroupList = aPIGroupList;
- }
-
- @JsonProperty("BaseKubernetesList")
- public KubernetesList getBaseKubernetesList() {
- return baseKubernetesList;
- }
-
- @JsonProperty("BaseKubernetesList")
- public void setBaseKubernetesList(KubernetesList baseKubernetesList) {
- this.baseKubernetesList = baseKubernetesList;
- }
-
- @JsonProperty("CatalogSource")
- public CatalogSource getCatalogSource() {
- return catalogSource;
- }
-
- @JsonProperty("CatalogSource")
- public void setCatalogSource(CatalogSource catalogSource) {
- this.catalogSource = catalogSource;
- }
-
- @JsonProperty("CatalogSourceList")
- public CatalogSourceList getCatalogSourceList() {
- return catalogSourceList;
- }
-
- @JsonProperty("CatalogSourceList")
- public void setCatalogSourceList(CatalogSourceList catalogSourceList) {
- this.catalogSourceList = catalogSourceList;
- }
-
- @JsonProperty("ClusterServiceVersion")
- public ClusterServiceVersion getClusterServiceVersion() {
- return clusterServiceVersion;
- }
-
- @JsonProperty("ClusterServiceVersion")
- public void setClusterServiceVersion(ClusterServiceVersion clusterServiceVersion) {
- this.clusterServiceVersion = clusterServiceVersion;
- }
-
- @JsonProperty("ClusterServiceVersionList")
- public ClusterServiceVersionList getClusterServiceVersionList() {
- return clusterServiceVersionList;
- }
-
- @JsonProperty("ClusterServiceVersionList")
- public void setClusterServiceVersionList(ClusterServiceVersionList clusterServiceVersionList) {
- this.clusterServiceVersionList = clusterServiceVersionList;
- }
-
- @JsonProperty("Deployment")
- public Deployment getDeployment() {
- return deployment;
- }
-
- @JsonProperty("Deployment")
- public void setDeployment(Deployment deployment) {
- this.deployment = deployment;
- }
-
- @JsonProperty("Info")
- public Info getInfo() {
- return info;
- }
-
- @JsonProperty("Info")
- public void setInfo(Info info) {
- this.info = info;
- }
-
- @JsonProperty("InstallPlan")
- public InstallPlan getInstallPlan() {
- return installPlan;
- }
-
- @JsonProperty("InstallPlan")
- public void setInstallPlan(InstallPlan installPlan) {
- this.installPlan = installPlan;
- }
-
- @JsonProperty("InstallPlanList")
- public InstallPlanList getInstallPlanList() {
- return installPlanList;
- }
-
- @JsonProperty("InstallPlanList")
- public void setInstallPlanList(InstallPlanList installPlanList) {
- this.installPlanList = installPlanList;
- }
-
- @JsonProperty("OLMConfig")
- public OLMConfig getOLMConfig() {
- return oLMConfig;
- }
-
- @JsonProperty("OLMConfig")
- public void setOLMConfig(OLMConfig oLMConfig) {
- this.oLMConfig = oLMConfig;
- }
-
- @JsonProperty("OLMConfigList")
- public OLMConfigList getOLMConfigList() {
- return oLMConfigList;
- }
-
- @JsonProperty("OLMConfigList")
- public void setOLMConfigList(OLMConfigList oLMConfigList) {
- this.oLMConfigList = oLMConfigList;
- }
-
- @JsonProperty("ObjectMeta")
- public ObjectMeta getObjectMeta() {
- return objectMeta;
- }
-
- @JsonProperty("ObjectMeta")
- public void setObjectMeta(ObjectMeta objectMeta) {
- this.objectMeta = objectMeta;
- }
-
- @JsonProperty("Operator")
- public Operator getOperator() {
- return operator;
- }
-
- @JsonProperty("Operator")
- public void setOperator(Operator operator) {
- this.operator = operator;
- }
-
- @JsonProperty("OperatorCondition")
- public OperatorCondition getOperatorCondition() {
- return operatorCondition;
- }
-
- @JsonProperty("OperatorCondition")
- public void setOperatorCondition(OperatorCondition operatorCondition) {
- this.operatorCondition = operatorCondition;
- }
-
- @JsonProperty("OperatorConditionList")
- public OperatorConditionList getOperatorConditionList() {
- return operatorConditionList;
- }
-
- @JsonProperty("OperatorConditionList")
- public void setOperatorConditionList(OperatorConditionList operatorConditionList) {
- this.operatorConditionList = operatorConditionList;
- }
-
- @JsonProperty("OperatorGroup")
- public OperatorGroup getOperatorGroup() {
- return operatorGroup;
- }
-
- @JsonProperty("OperatorGroup")
- public void setOperatorGroup(OperatorGroup operatorGroup) {
- this.operatorGroup = operatorGroup;
- }
-
- @JsonProperty("OperatorGroupList")
- public OperatorGroupList getOperatorGroupList() {
- return operatorGroupList;
- }
-
- @JsonProperty("OperatorGroupList")
- public void setOperatorGroupList(OperatorGroupList operatorGroupList) {
- this.operatorGroupList = operatorGroupList;
- }
-
- @JsonProperty("OperatorList")
- public OperatorList getOperatorList() {
- return operatorList;
- }
-
- @JsonProperty("OperatorList")
- public void setOperatorList(OperatorList operatorList) {
- this.operatorList = operatorList;
- }
-
- @JsonProperty("PackageManifest")
- public PackageManifest getPackageManifest() {
- return packageManifest;
- }
-
- @JsonProperty("PackageManifest")
- public void setPackageManifest(PackageManifest packageManifest) {
- this.packageManifest = packageManifest;
- }
-
- @JsonProperty("PackageManifestList")
- public PackageManifestList getPackageManifestList() {
- return packageManifestList;
- }
-
- @JsonProperty("PackageManifestList")
- public void setPackageManifestList(PackageManifestList packageManifestList) {
- this.packageManifestList = packageManifestList;
- }
-
- @JsonProperty("Patch")
- public Patch getPatch() {
- return patch;
- }
-
- @JsonProperty("Patch")
- public void setPatch(Patch patch) {
- this.patch = patch;
- }
-
- @JsonProperty("PolicyRule")
- public PolicyRule getPolicyRule() {
- return policyRule;
- }
-
- @JsonProperty("PolicyRule")
- public void setPolicyRule(PolicyRule policyRule) {
- this.policyRule = policyRule;
- }
-
- @JsonProperty("Quantity")
- public Quantity getQuantity() {
- return quantity;
- }
-
- @JsonProperty("Quantity")
- public void setQuantity(Quantity quantity) {
- this.quantity = quantity;
- }
-
- @JsonProperty("RuleWithOperations")
- public RuleWithOperations getRuleWithOperations() {
- return ruleWithOperations;
- }
-
- @JsonProperty("RuleWithOperations")
- public void setRuleWithOperations(RuleWithOperations ruleWithOperations) {
- this.ruleWithOperations = ruleWithOperations;
- }
-
- @JsonProperty("Status")
- public Status getStatus() {
- return status;
- }
-
- @JsonProperty("Status")
- public void setStatus(Status status) {
- this.status = status;
- }
-
- @JsonProperty("Subscription")
- public Subscription getSubscription() {
- return subscription;
- }
-
- @JsonProperty("Subscription")
- public void setSubscription(Subscription subscription) {
- this.subscription = subscription;
- }
-
- @JsonProperty("SubscriptionList")
- public SubscriptionList getSubscriptionList() {
- return subscriptionList;
- }
-
- @JsonProperty("SubscriptionList")
- public void setSubscriptionList(SubscriptionList subscriptionList) {
- this.subscriptionList = subscriptionList;
- }
-
- @JsonProperty("Time")
- public String getTime() {
- return time;
- }
-
- @JsonProperty("Time")
- public void setTime(String time) {
- this.time = time;
- }
-
- @JsonProperty("TypeMeta")
- public TypeMeta getTypeMeta() {
- return typeMeta;
- }
-
- @JsonProperty("TypeMeta")
- public void setTypeMeta(TypeMeta typeMeta) {
- this.typeMeta = typeMeta;
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/ChannelEntry.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/ChannelEntry.java
new file mode 100644
index 00000000000..3fd369f0767
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/ChannelEntry.java
@@ -0,0 +1,136 @@
+
+package io.fabric8.openshift.api.model.operatorhub.lifecyclemanager.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import io.fabric8.kubernetes.api.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+import io.fabric8.kubernetes.api.model.IntOrString;
+import io.fabric8.kubernetes.api.model.KubernetesResource;
+import io.fabric8.kubernetes.api.model.LabelSelector;
+import io.fabric8.kubernetes.api.model.LocalObjectReference;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
+import io.fabric8.kubernetes.api.model.ObjectReference;
+import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
+import io.fabric8.kubernetes.api.model.PodTemplateSpec;
+import io.fabric8.kubernetes.api.model.ResourceRequirements;
+import io.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "deprecation",
+ "name",
+ "version"
+})
+@ToString
+@EqualsAndHashCode
+@Accessors(prefix = {
+ "_",
+ ""
+})
+@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
+ @BuildableReference(ObjectMeta.class),
+ @BuildableReference(LabelSelector.class),
+ @BuildableReference(Container.class),
+ @BuildableReference(PodTemplateSpec.class),
+ @BuildableReference(ResourceRequirements.class),
+ @BuildableReference(IntOrString.class),
+ @BuildableReference(ObjectReference.class),
+ @BuildableReference(LocalObjectReference.class),
+ @BuildableReference(PersistentVolumeClaim.class)
+})
+@Generated("jsonschema2pojo")
+public class ChannelEntry implements Editable , KubernetesResource
+{
+
+ @JsonProperty("deprecation")
+ private Deprecation deprecation;
+ @JsonProperty("name")
+ private String name;
+ @JsonProperty("version")
+ private String version;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public ChannelEntry() {
+ }
+
+ public ChannelEntry(Deprecation deprecation, String name, String version) {
+ super();
+ this.deprecation = deprecation;
+ this.name = name;
+ this.version = version;
+ }
+
+ @JsonProperty("deprecation")
+ public Deprecation getDeprecation() {
+ return deprecation;
+ }
+
+ @JsonProperty("deprecation")
+ public void setDeprecation(Deprecation deprecation) {
+ this.deprecation = deprecation;
+ }
+
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ @JsonProperty("name")
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ @JsonProperty("version")
+ public String getVersion() {
+ return version;
+ }
+
+ @JsonProperty("version")
+ public void setVersion(String version) {
+ this.version = version;
+ }
+
+ @JsonIgnore
+ public ChannelEntryBuilder edit() {
+ return new ChannelEntryBuilder(this);
+ }
+
+ @JsonIgnore
+ public ChannelEntryBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/Features.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/Deprecation.java
similarity index 79%
rename from kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/Features.java
rename to kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/Deprecation.java
index df20f6e44bb..ad00284d437 100644
--- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/Features.java
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/Deprecation.java
@@ -1,5 +1,5 @@
-package io.fabric8.openshift.api.model.operatorhub.v1;
+package io.fabric8.openshift.api.model.operatorhub.lifecyclemanager.v1;
import java.util.LinkedHashMap;
import java.util.Map;
@@ -31,7 +31,7 @@
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
- "disableCopiedCSVs"
+ "message"
})
@ToString
@EqualsAndHashCode
@@ -51,11 +51,11 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class Features implements Editable , KubernetesResource
+public class Deprecation implements Editable , KubernetesResource
{
- @JsonProperty("disableCopiedCSVs")
- private Boolean disableCopiedCSVs;
+ @JsonProperty("message")
+ private String message;
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -63,31 +63,31 @@ public class Features implements Editable , KubernetesResource
* No args constructor for use in serialization
*
*/
- public Features() {
+ public Deprecation() {
}
- public Features(Boolean disableCopiedCSVs) {
+ public Deprecation(String message) {
super();
- this.disableCopiedCSVs = disableCopiedCSVs;
+ this.message = message;
}
- @JsonProperty("disableCopiedCSVs")
- public Boolean getDisableCopiedCSVs() {
- return disableCopiedCSVs;
+ @JsonProperty("message")
+ public String getMessage() {
+ return message;
}
- @JsonProperty("disableCopiedCSVs")
- public void setDisableCopiedCSVs(Boolean disableCopiedCSVs) {
- this.disableCopiedCSVs = disableCopiedCSVs;
+ @JsonProperty("message")
+ public void setMessage(String message) {
+ this.message = message;
}
@JsonIgnore
- public FeaturesBuilder edit() {
- return new FeaturesBuilder(this);
+ public DeprecationBuilder edit() {
+ return new DeprecationBuilder(this);
}
@JsonIgnore
- public FeaturesBuilder toBuilder() {
+ public DeprecationBuilder toBuilder() {
return edit();
}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/PackageChannel.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/PackageChannel.java
index 9215313a6be..fe01c7afc7e 100644
--- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/PackageChannel.java
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/PackageChannel.java
@@ -1,7 +1,9 @@
package io.fabric8.openshift.api.model.operatorhub.lifecyclemanager.v1;
+import java.util.ArrayList;
import java.util.LinkedHashMap;
+import java.util.List;
import java.util.Map;
import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
@@ -33,6 +35,8 @@
@JsonPropertyOrder({
"currentCSV",
"currentCSVDesc",
+ "deprecation",
+ "entries",
"name"
})
@ToString
@@ -60,6 +64,11 @@ public class PackageChannel implements Editable , Kuberne
private String currentCSV;
@JsonProperty("currentCSVDesc")
private CSVDescription currentCSVDesc;
+ @JsonProperty("deprecation")
+ private Deprecation deprecation;
+ @JsonProperty("entries")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ private List entries = new ArrayList<>();
@JsonProperty("name")
private String name;
@JsonIgnore
@@ -72,10 +81,12 @@ public class PackageChannel implements Editable , Kuberne
public PackageChannel() {
}
- public PackageChannel(String currentCSV, CSVDescription currentCSVDesc, String name) {
+ public PackageChannel(String currentCSV, CSVDescription currentCSVDesc, Deprecation deprecation, List entries, String name) {
super();
this.currentCSV = currentCSV;
this.currentCSVDesc = currentCSVDesc;
+ this.deprecation = deprecation;
+ this.entries = entries;
this.name = name;
}
@@ -99,6 +110,27 @@ public void setCurrentCSVDesc(CSVDescription currentCSVDesc) {
this.currentCSVDesc = currentCSVDesc;
}
+ @JsonProperty("deprecation")
+ public Deprecation getDeprecation() {
+ return deprecation;
+ }
+
+ @JsonProperty("deprecation")
+ public void setDeprecation(Deprecation deprecation) {
+ this.deprecation = deprecation;
+ }
+
+ @JsonProperty("entries")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ public List getEntries() {
+ return entries;
+ }
+
+ @JsonProperty("entries")
+ public void setEntries(List entries) {
+ this.entries = entries;
+ }
+
@JsonProperty("name")
public String getName() {
return name;
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/PackageManifest.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/PackageManifest.java
index 2bbee62e176..dd63e47ec20 100644
--- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/PackageManifest.java
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/PackageManifest.java
@@ -18,6 +18,7 @@
import io.fabric8.kubernetes.api.model.LabelSelector;
import io.fabric8.kubernetes.api.model.LocalObjectReference;
import io.fabric8.kubernetes.api.model.Namespaced;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
import io.fabric8.kubernetes.api.model.ObjectReference;
import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
import io.fabric8.kubernetes.api.model.PodTemplateSpec;
@@ -48,7 +49,7 @@
""
})
@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
- @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class),
+ @BuildableReference(ObjectMeta.class),
@BuildableReference(LabelSelector.class),
@BuildableReference(Container.class),
@BuildableReference(PodTemplateSpec.class),
@@ -82,7 +83,7 @@ public class PackageManifest implements Editable , HasMe
@JsonProperty("kind")
private String kind = "PackageManifest";
@JsonProperty("metadata")
- private io.fabric8.kubernetes.api.model.ObjectMeta metadata;
+ private ObjectMeta metadata;
@JsonProperty("spec")
private PackageManifestSpec spec;
@JsonProperty("status")
@@ -97,7 +98,7 @@ public class PackageManifest implements Editable , HasMe
public PackageManifest() {
}
- public PackageManifest(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, PackageManifestSpec spec, PackageManifestStatus status) {
+ public PackageManifest(String apiVersion, String kind, ObjectMeta metadata, PackageManifestSpec spec, PackageManifestStatus status) {
super();
this.apiVersion = apiVersion;
this.kind = kind;
@@ -147,12 +148,12 @@ public void setKind(String kind) {
}
@JsonProperty("metadata")
- public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() {
+ public ObjectMeta getMetadata() {
return metadata;
}
@JsonProperty("metadata")
- public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) {
+ public void setMetadata(ObjectMeta metadata) {
this.metadata = metadata;
}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/PackageManifestStatus.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/PackageManifestStatus.java
index 75a5b2da6b8..c21e1350007 100644
--- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/PackageManifestStatus.java
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/lifecyclemanager/v1/PackageManifestStatus.java
@@ -39,6 +39,7 @@
"catalogSourcePublisher",
"channels",
"defaultChannel",
+ "deprecation",
"packageName",
"provider"
})
@@ -76,6 +77,8 @@ public class PackageManifestStatus implements Editable channels = new ArrayList<>();
@JsonProperty("defaultChannel")
private String defaultChannel;
+ @JsonProperty("deprecation")
+ private Deprecation deprecation;
@JsonProperty("packageName")
private String packageName;
@JsonProperty("provider")
@@ -90,7 +93,7 @@ public class PackageManifestStatus implements Editable channels, String defaultChannel, String packageName, AppLink provider) {
+ public PackageManifestStatus(String catalogSource, String catalogSourceDisplayName, String catalogSourceNamespace, String catalogSourcePublisher, List channels, String defaultChannel, Deprecation deprecation, String packageName, AppLink provider) {
super();
this.catalogSource = catalogSource;
this.catalogSourceDisplayName = catalogSourceDisplayName;
@@ -98,6 +101,7 @@ public PackageManifestStatus(String catalogSource, String catalogSourceDisplayNa
this.catalogSourcePublisher = catalogSourcePublisher;
this.channels = channels;
this.defaultChannel = defaultChannel;
+ this.deprecation = deprecation;
this.packageName = packageName;
this.provider = provider;
}
@@ -163,6 +167,16 @@ public void setDefaultChannel(String defaultChannel) {
this.defaultChannel = defaultChannel;
}
+ @JsonProperty("deprecation")
+ public Deprecation getDeprecation() {
+ return deprecation;
+ }
+
+ @JsonProperty("deprecation")
+ public void setDeprecation(Deprecation deprecation) {
+ this.deprecation = deprecation;
+ }
+
@JsonProperty("packageName")
public String getPackageName() {
return packageName;
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OLMConfig.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OLMConfig.java
index 2474aa13ec2..21f014bb661 100644
--- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OLMConfig.java
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OLMConfig.java
@@ -17,6 +17,7 @@
import io.fabric8.kubernetes.api.model.IntOrString;
import io.fabric8.kubernetes.api.model.LabelSelector;
import io.fabric8.kubernetes.api.model.LocalObjectReference;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
import io.fabric8.kubernetes.api.model.ObjectReference;
import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
import io.fabric8.kubernetes.api.model.PodTemplateSpec;
@@ -47,7 +48,7 @@
""
})
@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
- @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class),
+ @BuildableReference(ObjectMeta.class),
@BuildableReference(LabelSelector.class),
@BuildableReference(Container.class),
@BuildableReference(PodTemplateSpec.class),
@@ -81,7 +82,7 @@ public class OLMConfig implements Editable , HasMetadata
@JsonProperty("kind")
private String kind = "OLMConfig";
@JsonProperty("metadata")
- private io.fabric8.kubernetes.api.model.ObjectMeta metadata;
+ private ObjectMeta metadata;
@JsonProperty("spec")
private OLMConfigSpec spec;
@JsonProperty("status")
@@ -96,7 +97,7 @@ public class OLMConfig implements Editable , HasMetadata
public OLMConfig() {
}
- public OLMConfig(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, OLMConfigSpec spec, OLMConfigStatus status) {
+ public OLMConfig(String apiVersion, String kind, ObjectMeta metadata, OLMConfigSpec spec, OLMConfigStatus status) {
super();
this.apiVersion = apiVersion;
this.kind = kind;
@@ -146,12 +147,12 @@ public void setKind(String kind) {
}
@JsonProperty("metadata")
- public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() {
+ public ObjectMeta getMetadata() {
return metadata;
}
@JsonProperty("metadata")
- public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) {
+ public void setMetadata(ObjectMeta metadata) {
this.metadata = metadata;
}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OLMConfigSpec.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OLMConfigSpec.java
index cdc225b222b..828006bdb70 100644
--- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OLMConfigSpec.java
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OLMConfigSpec.java
@@ -55,7 +55,7 @@ public class OLMConfigSpec implements Editable , Kubernete
{
@JsonProperty("features")
- private Features features;
+ private OLMConfigSpecFeatures features;
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -66,18 +66,18 @@ public class OLMConfigSpec implements Editable , Kubernete
public OLMConfigSpec() {
}
- public OLMConfigSpec(Features features) {
+ public OLMConfigSpec(OLMConfigSpecFeatures features) {
super();
this.features = features;
}
@JsonProperty("features")
- public Features getFeatures() {
+ public OLMConfigSpecFeatures getFeatures() {
return features;
}
@JsonProperty("features")
- public void setFeatures(Features features) {
+ public void setFeatures(OLMConfigSpecFeatures features) {
this.features = features;
}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OLMConfigSpecFeatures.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OLMConfigSpecFeatures.java
new file mode 100644
index 00000000000..696a4f59731
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OLMConfigSpecFeatures.java
@@ -0,0 +1,122 @@
+
+package io.fabric8.openshift.api.model.operatorhub.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import io.fabric8.kubernetes.api.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+import io.fabric8.kubernetes.api.model.IntOrString;
+import io.fabric8.kubernetes.api.model.KubernetesResource;
+import io.fabric8.kubernetes.api.model.LabelSelector;
+import io.fabric8.kubernetes.api.model.LocalObjectReference;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
+import io.fabric8.kubernetes.api.model.ObjectReference;
+import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
+import io.fabric8.kubernetes.api.model.PodTemplateSpec;
+import io.fabric8.kubernetes.api.model.ResourceRequirements;
+import io.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "disableCopiedCSVs",
+ "packageServerSyncInterval"
+})
+@ToString
+@EqualsAndHashCode
+@Accessors(prefix = {
+ "_",
+ ""
+})
+@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
+ @BuildableReference(ObjectMeta.class),
+ @BuildableReference(LabelSelector.class),
+ @BuildableReference(Container.class),
+ @BuildableReference(PodTemplateSpec.class),
+ @BuildableReference(ResourceRequirements.class),
+ @BuildableReference(IntOrString.class),
+ @BuildableReference(ObjectReference.class),
+ @BuildableReference(LocalObjectReference.class),
+ @BuildableReference(PersistentVolumeClaim.class)
+})
+@Generated("jsonschema2pojo")
+public class OLMConfigSpecFeatures implements Editable , KubernetesResource
+{
+
+ @JsonProperty("disableCopiedCSVs")
+ private Boolean disableCopiedCSVs;
+ @JsonProperty("packageServerSyncInterval")
+ private String packageServerSyncInterval;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public OLMConfigSpecFeatures() {
+ }
+
+ public OLMConfigSpecFeatures(Boolean disableCopiedCSVs, String packageServerSyncInterval) {
+ super();
+ this.disableCopiedCSVs = disableCopiedCSVs;
+ this.packageServerSyncInterval = packageServerSyncInterval;
+ }
+
+ @JsonProperty("disableCopiedCSVs")
+ public Boolean getDisableCopiedCSVs() {
+ return disableCopiedCSVs;
+ }
+
+ @JsonProperty("disableCopiedCSVs")
+ public void setDisableCopiedCSVs(Boolean disableCopiedCSVs) {
+ this.disableCopiedCSVs = disableCopiedCSVs;
+ }
+
+ @JsonProperty("packageServerSyncInterval")
+ public String getPackageServerSyncInterval() {
+ return packageServerSyncInterval;
+ }
+
+ @JsonProperty("packageServerSyncInterval")
+ public void setPackageServerSyncInterval(String packageServerSyncInterval) {
+ this.packageServerSyncInterval = packageServerSyncInterval;
+ }
+
+ @JsonIgnore
+ public OLMConfigSpecFeaturesBuilder edit() {
+ return new OLMConfigSpecFeaturesBuilder(this);
+ }
+
+ @JsonIgnore
+ public OLMConfigSpecFeaturesBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OLMConfigStatus.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OLMConfigStatus.java
index e51d6f13010..b4014ab1a4a 100644
--- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OLMConfigStatus.java
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OLMConfigStatus.java
@@ -14,7 +14,6 @@
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Condition;
import io.fabric8.kubernetes.api.model.Container;
import io.fabric8.kubernetes.api.model.IntOrString;
import io.fabric8.kubernetes.api.model.KubernetesResource;
@@ -59,7 +58,7 @@ public class OLMConfigStatus implements Editable , Kuber
@JsonProperty("conditions")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List conditions = new ArrayList<>();
+ private List conditions = new ArrayList<>();
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -70,19 +69,19 @@ public class OLMConfigStatus implements Editable , Kuber
public OLMConfigStatus() {
}
- public OLMConfigStatus(List conditions) {
+ public OLMConfigStatus(List conditions) {
super();
this.conditions = conditions;
}
@JsonProperty("conditions")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getConditions() {
+ public List getConditions() {
return conditions;
}
@JsonProperty("conditions")
- public void setConditions(List conditions) {
+ public void setConditions(List conditions) {
this.conditions = conditions;
}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OLMConfigStatusConditions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OLMConfigStatusConditions.java
new file mode 100644
index 00000000000..3eee4c4751f
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OLMConfigStatusConditions.java
@@ -0,0 +1,178 @@
+
+package io.fabric8.openshift.api.model.operatorhub.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import io.fabric8.kubernetes.api.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+import io.fabric8.kubernetes.api.model.IntOrString;
+import io.fabric8.kubernetes.api.model.KubernetesResource;
+import io.fabric8.kubernetes.api.model.LabelSelector;
+import io.fabric8.kubernetes.api.model.LocalObjectReference;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
+import io.fabric8.kubernetes.api.model.ObjectReference;
+import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
+import io.fabric8.kubernetes.api.model.PodTemplateSpec;
+import io.fabric8.kubernetes.api.model.ResourceRequirements;
+import io.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "lastTransitionTime",
+ "message",
+ "observedGeneration",
+ "reason",
+ "status",
+ "type"
+})
+@ToString
+@EqualsAndHashCode
+@Accessors(prefix = {
+ "_",
+ ""
+})
+@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
+ @BuildableReference(ObjectMeta.class),
+ @BuildableReference(LabelSelector.class),
+ @BuildableReference(Container.class),
+ @BuildableReference(PodTemplateSpec.class),
+ @BuildableReference(ResourceRequirements.class),
+ @BuildableReference(IntOrString.class),
+ @BuildableReference(ObjectReference.class),
+ @BuildableReference(LocalObjectReference.class),
+ @BuildableReference(PersistentVolumeClaim.class)
+})
+@Generated("jsonschema2pojo")
+public class OLMConfigStatusConditions implements Editable , KubernetesResource
+{
+
+ @JsonProperty("lastTransitionTime")
+ private String lastTransitionTime;
+ @JsonProperty("message")
+ private String message;
+ @JsonProperty("observedGeneration")
+ private Long observedGeneration;
+ @JsonProperty("reason")
+ private String reason;
+ @JsonProperty("status")
+ private String status;
+ @JsonProperty("type")
+ private String type;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public OLMConfigStatusConditions() {
+ }
+
+ public OLMConfigStatusConditions(String lastTransitionTime, String message, Long observedGeneration, String reason, String status, String type) {
+ super();
+ this.lastTransitionTime = lastTransitionTime;
+ this.message = message;
+ this.observedGeneration = observedGeneration;
+ this.reason = reason;
+ this.status = status;
+ this.type = type;
+ }
+
+ @JsonProperty("lastTransitionTime")
+ public String getLastTransitionTime() {
+ return lastTransitionTime;
+ }
+
+ @JsonProperty("lastTransitionTime")
+ public void setLastTransitionTime(String lastTransitionTime) {
+ this.lastTransitionTime = lastTransitionTime;
+ }
+
+ @JsonProperty("message")
+ public String getMessage() {
+ return message;
+ }
+
+ @JsonProperty("message")
+ public void setMessage(String message) {
+ this.message = message;
+ }
+
+ @JsonProperty("observedGeneration")
+ public Long getObservedGeneration() {
+ return observedGeneration;
+ }
+
+ @JsonProperty("observedGeneration")
+ public void setObservedGeneration(Long observedGeneration) {
+ this.observedGeneration = observedGeneration;
+ }
+
+ @JsonProperty("reason")
+ public String getReason() {
+ return reason;
+ }
+
+ @JsonProperty("reason")
+ public void setReason(String reason) {
+ this.reason = reason;
+ }
+
+ @JsonProperty("status")
+ public String getStatus() {
+ return status;
+ }
+
+ @JsonProperty("status")
+ public void setStatus(String status) {
+ this.status = status;
+ }
+
+ @JsonProperty("type")
+ public String getType() {
+ return type;
+ }
+
+ @JsonProperty("type")
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ @JsonIgnore
+ public OLMConfigStatusConditionsBuilder edit() {
+ return new OLMConfigStatusConditionsBuilder(this);
+ }
+
+ @JsonIgnore
+ public OLMConfigStatusConditionsBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/Operator.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/Operator.java
index 87b7550f6e0..e784db0b6cf 100644
--- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/Operator.java
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/Operator.java
@@ -17,6 +17,7 @@
import io.fabric8.kubernetes.api.model.IntOrString;
import io.fabric8.kubernetes.api.model.LabelSelector;
import io.fabric8.kubernetes.api.model.LocalObjectReference;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
import io.fabric8.kubernetes.api.model.ObjectReference;
import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
import io.fabric8.kubernetes.api.model.PodTemplateSpec;
@@ -47,7 +48,7 @@
""
})
@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
- @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class),
+ @BuildableReference(ObjectMeta.class),
@BuildableReference(LabelSelector.class),
@BuildableReference(Container.class),
@BuildableReference(PodTemplateSpec.class),
@@ -81,9 +82,10 @@ public class Operator implements Editable , HasMetadata
@JsonProperty("kind")
private String kind = "Operator";
@JsonProperty("metadata")
- private io.fabric8.kubernetes.api.model.ObjectMeta metadata;
+ private ObjectMeta metadata;
@JsonProperty("spec")
- private OperatorSpec spec;
+ @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
+ private Object spec;
@JsonProperty("status")
private OperatorStatus status;
@JsonIgnore
@@ -96,7 +98,7 @@ public class Operator implements Editable , HasMetadata
public Operator() {
}
- public Operator(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, OperatorSpec spec, OperatorStatus status) {
+ public Operator(String apiVersion, String kind, ObjectMeta metadata, Object spec, OperatorStatus status) {
super();
this.apiVersion = apiVersion;
this.kind = kind;
@@ -146,22 +148,23 @@ public void setKind(String kind) {
}
@JsonProperty("metadata")
- public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() {
+ public ObjectMeta getMetadata() {
return metadata;
}
@JsonProperty("metadata")
- public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) {
+ public void setMetadata(ObjectMeta metadata) {
this.metadata = metadata;
}
@JsonProperty("spec")
- public OperatorSpec getSpec() {
+ public Object getSpec() {
return spec;
}
@JsonProperty("spec")
- public void setSpec(OperatorSpec spec) {
+ @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
+ public void setSpec(Object spec) {
this.spec = spec;
}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorCondition.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorCondition.java
index dcb276b0e02..fe0481a847a 100644
--- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorCondition.java
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorCondition.java
@@ -18,6 +18,7 @@
import io.fabric8.kubernetes.api.model.LabelSelector;
import io.fabric8.kubernetes.api.model.LocalObjectReference;
import io.fabric8.kubernetes.api.model.Namespaced;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
import io.fabric8.kubernetes.api.model.ObjectReference;
import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
import io.fabric8.kubernetes.api.model.PodTemplateSpec;
@@ -48,7 +49,7 @@
""
})
@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
- @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class),
+ @BuildableReference(ObjectMeta.class),
@BuildableReference(LabelSelector.class),
@BuildableReference(Container.class),
@BuildableReference(PodTemplateSpec.class),
@@ -82,7 +83,7 @@ public class OperatorCondition implements Editable , H
@JsonProperty("kind")
private String kind = "OperatorCondition";
@JsonProperty("metadata")
- private io.fabric8.kubernetes.api.model.ObjectMeta metadata;
+ private ObjectMeta metadata;
@JsonProperty("spec")
private OperatorConditionSpec spec;
@JsonProperty("status")
@@ -97,7 +98,7 @@ public class OperatorCondition implements Editable , H
public OperatorCondition() {
}
- public OperatorCondition(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, OperatorConditionSpec spec, OperatorConditionStatus status) {
+ public OperatorCondition(String apiVersion, String kind, ObjectMeta metadata, OperatorConditionSpec spec, OperatorConditionStatus status) {
super();
this.apiVersion = apiVersion;
this.kind = kind;
@@ -147,12 +148,12 @@ public void setKind(String kind) {
}
@JsonProperty("metadata")
- public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() {
+ public ObjectMeta getMetadata() {
return metadata;
}
@JsonProperty("metadata")
- public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) {
+ public void setMetadata(ObjectMeta metadata) {
this.metadata = metadata;
}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorConditionSpec.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorConditionSpec.java
index 21b02ffdee5..a0327849b94 100644
--- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorConditionSpec.java
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorConditionSpec.java
@@ -14,7 +14,6 @@
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Condition;
import io.fabric8.kubernetes.api.model.Container;
import io.fabric8.kubernetes.api.model.IntOrString;
import io.fabric8.kubernetes.api.model.KubernetesResource;
@@ -64,7 +63,7 @@ public class OperatorConditionSpec implements Editable deployments = new ArrayList<>();
@JsonProperty("overrides")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List overrides = new ArrayList<>();
+ private List overrides = new ArrayList<>();
@JsonProperty("serviceAccounts")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private List serviceAccounts = new ArrayList<>();
@@ -78,7 +77,7 @@ public class OperatorConditionSpec implements Editable deployments, List overrides, List serviceAccounts) {
+ public OperatorConditionSpec(List deployments, List overrides, List serviceAccounts) {
super();
this.deployments = deployments;
this.overrides = overrides;
@@ -98,12 +97,12 @@ public void setDeployments(List deployments) {
@JsonProperty("overrides")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getOverrides() {
+ public List getOverrides() {
return overrides;
}
@JsonProperty("overrides")
- public void setOverrides(List overrides) {
+ public void setOverrides(List overrides) {
this.overrides = overrides;
}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorConditionSpecOverrides.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorConditionSpecOverrides.java
new file mode 100644
index 00000000000..9c7b3bd68d3
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorConditionSpecOverrides.java
@@ -0,0 +1,178 @@
+
+package io.fabric8.openshift.api.model.operatorhub.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import io.fabric8.kubernetes.api.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+import io.fabric8.kubernetes.api.model.IntOrString;
+import io.fabric8.kubernetes.api.model.KubernetesResource;
+import io.fabric8.kubernetes.api.model.LabelSelector;
+import io.fabric8.kubernetes.api.model.LocalObjectReference;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
+import io.fabric8.kubernetes.api.model.ObjectReference;
+import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
+import io.fabric8.kubernetes.api.model.PodTemplateSpec;
+import io.fabric8.kubernetes.api.model.ResourceRequirements;
+import io.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "lastTransitionTime",
+ "message",
+ "observedGeneration",
+ "reason",
+ "status",
+ "type"
+})
+@ToString
+@EqualsAndHashCode
+@Accessors(prefix = {
+ "_",
+ ""
+})
+@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
+ @BuildableReference(ObjectMeta.class),
+ @BuildableReference(LabelSelector.class),
+ @BuildableReference(Container.class),
+ @BuildableReference(PodTemplateSpec.class),
+ @BuildableReference(ResourceRequirements.class),
+ @BuildableReference(IntOrString.class),
+ @BuildableReference(ObjectReference.class),
+ @BuildableReference(LocalObjectReference.class),
+ @BuildableReference(PersistentVolumeClaim.class)
+})
+@Generated("jsonschema2pojo")
+public class OperatorConditionSpecOverrides implements Editable , KubernetesResource
+{
+
+ @JsonProperty("lastTransitionTime")
+ private String lastTransitionTime;
+ @JsonProperty("message")
+ private String message;
+ @JsonProperty("observedGeneration")
+ private Long observedGeneration;
+ @JsonProperty("reason")
+ private String reason;
+ @JsonProperty("status")
+ private String status;
+ @JsonProperty("type")
+ private String type;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public OperatorConditionSpecOverrides() {
+ }
+
+ public OperatorConditionSpecOverrides(String lastTransitionTime, String message, Long observedGeneration, String reason, String status, String type) {
+ super();
+ this.lastTransitionTime = lastTransitionTime;
+ this.message = message;
+ this.observedGeneration = observedGeneration;
+ this.reason = reason;
+ this.status = status;
+ this.type = type;
+ }
+
+ @JsonProperty("lastTransitionTime")
+ public String getLastTransitionTime() {
+ return lastTransitionTime;
+ }
+
+ @JsonProperty("lastTransitionTime")
+ public void setLastTransitionTime(String lastTransitionTime) {
+ this.lastTransitionTime = lastTransitionTime;
+ }
+
+ @JsonProperty("message")
+ public String getMessage() {
+ return message;
+ }
+
+ @JsonProperty("message")
+ public void setMessage(String message) {
+ this.message = message;
+ }
+
+ @JsonProperty("observedGeneration")
+ public Long getObservedGeneration() {
+ return observedGeneration;
+ }
+
+ @JsonProperty("observedGeneration")
+ public void setObservedGeneration(Long observedGeneration) {
+ this.observedGeneration = observedGeneration;
+ }
+
+ @JsonProperty("reason")
+ public String getReason() {
+ return reason;
+ }
+
+ @JsonProperty("reason")
+ public void setReason(String reason) {
+ this.reason = reason;
+ }
+
+ @JsonProperty("status")
+ public String getStatus() {
+ return status;
+ }
+
+ @JsonProperty("status")
+ public void setStatus(String status) {
+ this.status = status;
+ }
+
+ @JsonProperty("type")
+ public String getType() {
+ return type;
+ }
+
+ @JsonProperty("type")
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ @JsonIgnore
+ public OperatorConditionSpecOverridesBuilder edit() {
+ return new OperatorConditionSpecOverridesBuilder(this);
+ }
+
+ @JsonIgnore
+ public OperatorConditionSpecOverridesBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorConditionStatus.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorConditionStatus.java
index 9cb80e85ba9..a0b09fbab1c 100644
--- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorConditionStatus.java
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorConditionStatus.java
@@ -14,7 +14,6 @@
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Condition;
import io.fabric8.kubernetes.api.model.Container;
import io.fabric8.kubernetes.api.model.IntOrString;
import io.fabric8.kubernetes.api.model.KubernetesResource;
@@ -59,7 +58,7 @@ public class OperatorConditionStatus implements Editable conditions = new ArrayList<>();
+ private List conditions = new ArrayList<>();
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -70,19 +69,19 @@ public class OperatorConditionStatus implements Editable conditions) {
+ public OperatorConditionStatus(List conditions) {
super();
this.conditions = conditions;
}
@JsonProperty("conditions")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getConditions() {
+ public List getConditions() {
return conditions;
}
@JsonProperty("conditions")
- public void setConditions(List conditions) {
+ public void setConditions(List conditions) {
this.conditions = conditions;
}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorConditionStatusConditions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorConditionStatusConditions.java
new file mode 100644
index 00000000000..9b0c57336b6
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorConditionStatusConditions.java
@@ -0,0 +1,178 @@
+
+package io.fabric8.openshift.api.model.operatorhub.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import io.fabric8.kubernetes.api.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+import io.fabric8.kubernetes.api.model.IntOrString;
+import io.fabric8.kubernetes.api.model.KubernetesResource;
+import io.fabric8.kubernetes.api.model.LabelSelector;
+import io.fabric8.kubernetes.api.model.LocalObjectReference;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
+import io.fabric8.kubernetes.api.model.ObjectReference;
+import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
+import io.fabric8.kubernetes.api.model.PodTemplateSpec;
+import io.fabric8.kubernetes.api.model.ResourceRequirements;
+import io.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "lastTransitionTime",
+ "message",
+ "observedGeneration",
+ "reason",
+ "status",
+ "type"
+})
+@ToString
+@EqualsAndHashCode
+@Accessors(prefix = {
+ "_",
+ ""
+})
+@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
+ @BuildableReference(ObjectMeta.class),
+ @BuildableReference(LabelSelector.class),
+ @BuildableReference(Container.class),
+ @BuildableReference(PodTemplateSpec.class),
+ @BuildableReference(ResourceRequirements.class),
+ @BuildableReference(IntOrString.class),
+ @BuildableReference(ObjectReference.class),
+ @BuildableReference(LocalObjectReference.class),
+ @BuildableReference(PersistentVolumeClaim.class)
+})
+@Generated("jsonschema2pojo")
+public class OperatorConditionStatusConditions implements Editable , KubernetesResource
+{
+
+ @JsonProperty("lastTransitionTime")
+ private String lastTransitionTime;
+ @JsonProperty("message")
+ private String message;
+ @JsonProperty("observedGeneration")
+ private Long observedGeneration;
+ @JsonProperty("reason")
+ private String reason;
+ @JsonProperty("status")
+ private String status;
+ @JsonProperty("type")
+ private String type;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public OperatorConditionStatusConditions() {
+ }
+
+ public OperatorConditionStatusConditions(String lastTransitionTime, String message, Long observedGeneration, String reason, String status, String type) {
+ super();
+ this.lastTransitionTime = lastTransitionTime;
+ this.message = message;
+ this.observedGeneration = observedGeneration;
+ this.reason = reason;
+ this.status = status;
+ this.type = type;
+ }
+
+ @JsonProperty("lastTransitionTime")
+ public String getLastTransitionTime() {
+ return lastTransitionTime;
+ }
+
+ @JsonProperty("lastTransitionTime")
+ public void setLastTransitionTime(String lastTransitionTime) {
+ this.lastTransitionTime = lastTransitionTime;
+ }
+
+ @JsonProperty("message")
+ public String getMessage() {
+ return message;
+ }
+
+ @JsonProperty("message")
+ public void setMessage(String message) {
+ this.message = message;
+ }
+
+ @JsonProperty("observedGeneration")
+ public Long getObservedGeneration() {
+ return observedGeneration;
+ }
+
+ @JsonProperty("observedGeneration")
+ public void setObservedGeneration(Long observedGeneration) {
+ this.observedGeneration = observedGeneration;
+ }
+
+ @JsonProperty("reason")
+ public String getReason() {
+ return reason;
+ }
+
+ @JsonProperty("reason")
+ public void setReason(String reason) {
+ this.reason = reason;
+ }
+
+ @JsonProperty("status")
+ public String getStatus() {
+ return status;
+ }
+
+ @JsonProperty("status")
+ public void setStatus(String status) {
+ this.status = status;
+ }
+
+ @JsonProperty("type")
+ public String getType() {
+ return type;
+ }
+
+ @JsonProperty("type")
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ @JsonIgnore
+ public OperatorConditionStatusConditionsBuilder edit() {
+ return new OperatorConditionStatusConditionsBuilder(this);
+ }
+
+ @JsonIgnore
+ public OperatorConditionStatusConditionsBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroup.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroup.java
index 33287ea1165..080ef51d489 100644
--- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroup.java
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroup.java
@@ -18,6 +18,7 @@
import io.fabric8.kubernetes.api.model.LabelSelector;
import io.fabric8.kubernetes.api.model.LocalObjectReference;
import io.fabric8.kubernetes.api.model.Namespaced;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
import io.fabric8.kubernetes.api.model.ObjectReference;
import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
import io.fabric8.kubernetes.api.model.PodTemplateSpec;
@@ -48,7 +49,7 @@
""
})
@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
- @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class),
+ @BuildableReference(ObjectMeta.class),
@BuildableReference(LabelSelector.class),
@BuildableReference(Container.class),
@BuildableReference(PodTemplateSpec.class),
@@ -82,7 +83,7 @@ public class OperatorGroup implements Editable , HasMetada
@JsonProperty("kind")
private String kind = "OperatorGroup";
@JsonProperty("metadata")
- private io.fabric8.kubernetes.api.model.ObjectMeta metadata;
+ private ObjectMeta metadata;
@JsonProperty("spec")
private OperatorGroupSpec spec;
@JsonProperty("status")
@@ -97,7 +98,7 @@ public class OperatorGroup implements Editable , HasMetada
public OperatorGroup() {
}
- public OperatorGroup(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, OperatorGroupSpec spec, OperatorGroupStatus status) {
+ public OperatorGroup(String apiVersion, String kind, ObjectMeta metadata, OperatorGroupSpec spec, OperatorGroupStatus status) {
super();
this.apiVersion = apiVersion;
this.kind = kind;
@@ -147,12 +148,12 @@ public void setKind(String kind) {
}
@JsonProperty("metadata")
- public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() {
+ public ObjectMeta getMetadata() {
return metadata;
}
@JsonProperty("metadata")
- public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) {
+ public void setMetadata(ObjectMeta metadata) {
this.metadata = metadata;
}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroupSpec.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroupSpec.java
index bacff9c150f..f7738c37c73 100644
--- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroupSpec.java
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroupSpec.java
@@ -17,6 +17,7 @@
import io.fabric8.kubernetes.api.model.Container;
import io.fabric8.kubernetes.api.model.IntOrString;
import io.fabric8.kubernetes.api.model.KubernetesResource;
+import io.fabric8.kubernetes.api.model.LabelSelector;
import io.fabric8.kubernetes.api.model.LocalObjectReference;
import io.fabric8.kubernetes.api.model.ObjectMeta;
import io.fabric8.kubernetes.api.model.ObjectReference;
@@ -46,7 +47,7 @@
})
@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
@BuildableReference(ObjectMeta.class),
- @BuildableReference(io.fabric8.kubernetes.api.model.LabelSelector.class),
+ @BuildableReference(LabelSelector.class),
@BuildableReference(Container.class),
@BuildableReference(PodTemplateSpec.class),
@BuildableReference(ResourceRequirements.class),
@@ -60,7 +61,7 @@ public class OperatorGroupSpec implements Editable , K
{
@JsonProperty("selector")
- private io.fabric8.kubernetes.api.model.LabelSelector selector;
+ private OperatorGroupSpecSelector selector;
@JsonProperty("serviceAccountName")
private String serviceAccountName;
@JsonProperty("staticProvidedAPIs")
@@ -80,7 +81,7 @@ public class OperatorGroupSpec implements Editable , K
public OperatorGroupSpec() {
}
- public OperatorGroupSpec(io.fabric8.kubernetes.api.model.LabelSelector selector, String serviceAccountName, Boolean staticProvidedAPIs, List targetNamespaces, String upgradeStrategy) {
+ public OperatorGroupSpec(OperatorGroupSpecSelector selector, String serviceAccountName, Boolean staticProvidedAPIs, List targetNamespaces, String upgradeStrategy) {
super();
this.selector = selector;
this.serviceAccountName = serviceAccountName;
@@ -90,12 +91,12 @@ public OperatorGroupSpec(io.fabric8.kubernetes.api.model.LabelSelector selector,
}
@JsonProperty("selector")
- public io.fabric8.kubernetes.api.model.LabelSelector getSelector() {
+ public OperatorGroupSpecSelector getSelector() {
return selector;
}
@JsonProperty("selector")
- public void setSelector(io.fabric8.kubernetes.api.model.LabelSelector selector) {
+ public void setSelector(OperatorGroupSpecSelector selector) {
this.selector = selector;
}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroupSpecSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroupSpecSMatchExpressions.java
new file mode 100644
index 00000000000..baa49bd7733
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroupSpecSMatchExpressions.java
@@ -0,0 +1,140 @@
+
+package io.fabric8.openshift.api.model.operatorhub.v1;
+
+import java.util.ArrayList;
+import java.util.LinkedHashMap;
+import java.util.List;
+import java.util.Map;
+import javax.annotation.Generated;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import io.fabric8.kubernetes.api.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+import io.fabric8.kubernetes.api.model.IntOrString;
+import io.fabric8.kubernetes.api.model.KubernetesResource;
+import io.fabric8.kubernetes.api.model.LabelSelector;
+import io.fabric8.kubernetes.api.model.LocalObjectReference;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
+import io.fabric8.kubernetes.api.model.ObjectReference;
+import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
+import io.fabric8.kubernetes.api.model.PodTemplateSpec;
+import io.fabric8.kubernetes.api.model.ResourceRequirements;
+import io.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "key",
+ "operator",
+ "values"
+})
+@ToString
+@EqualsAndHashCode
+@Accessors(prefix = {
+ "_",
+ ""
+})
+@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
+ @BuildableReference(ObjectMeta.class),
+ @BuildableReference(LabelSelector.class),
+ @BuildableReference(Container.class),
+ @BuildableReference(PodTemplateSpec.class),
+ @BuildableReference(ResourceRequirements.class),
+ @BuildableReference(IntOrString.class),
+ @BuildableReference(ObjectReference.class),
+ @BuildableReference(LocalObjectReference.class),
+ @BuildableReference(PersistentVolumeClaim.class)
+})
+@Generated("jsonschema2pojo")
+public class OperatorGroupSpecSMatchExpressions implements Editable , KubernetesResource
+{
+
+ @JsonProperty("key")
+ private String key;
+ @JsonProperty("operator")
+ private String operator;
+ @JsonProperty("values")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ private List values = new ArrayList<>();
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public OperatorGroupSpecSMatchExpressions() {
+ }
+
+ public OperatorGroupSpecSMatchExpressions(String key, String operator, List values) {
+ super();
+ this.key = key;
+ this.operator = operator;
+ this.values = values;
+ }
+
+ @JsonProperty("key")
+ public String getKey() {
+ return key;
+ }
+
+ @JsonProperty("key")
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ @JsonProperty("operator")
+ public String getOperator() {
+ return operator;
+ }
+
+ @JsonProperty("operator")
+ public void setOperator(String operator) {
+ this.operator = operator;
+ }
+
+ @JsonProperty("values")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ public List getValues() {
+ return values;
+ }
+
+ @JsonProperty("values")
+ public void setValues(List values) {
+ this.values = values;
+ }
+
+ @JsonIgnore
+ public OperatorGroupSpecSMatchExpressionsBuilder edit() {
+ return new OperatorGroupSpecSMatchExpressionsBuilder(this);
+ }
+
+ @JsonIgnore
+ public OperatorGroupSpecSMatchExpressionsBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroupSpecSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroupSpecSelector.java
new file mode 100644
index 00000000000..d61c5afd6c1
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroupSpecSelector.java
@@ -0,0 +1,128 @@
+
+package io.fabric8.openshift.api.model.operatorhub.v1;
+
+import java.util.ArrayList;
+import java.util.LinkedHashMap;
+import java.util.List;
+import java.util.Map;
+import javax.annotation.Generated;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import io.fabric8.kubernetes.api.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+import io.fabric8.kubernetes.api.model.IntOrString;
+import io.fabric8.kubernetes.api.model.KubernetesResource;
+import io.fabric8.kubernetes.api.model.LabelSelector;
+import io.fabric8.kubernetes.api.model.LocalObjectReference;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
+import io.fabric8.kubernetes.api.model.ObjectReference;
+import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
+import io.fabric8.kubernetes.api.model.PodTemplateSpec;
+import io.fabric8.kubernetes.api.model.ResourceRequirements;
+import io.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "matchExpressions",
+ "matchLabels"
+})
+@ToString
+@EqualsAndHashCode
+@Accessors(prefix = {
+ "_",
+ ""
+})
+@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
+ @BuildableReference(ObjectMeta.class),
+ @BuildableReference(LabelSelector.class),
+ @BuildableReference(Container.class),
+ @BuildableReference(PodTemplateSpec.class),
+ @BuildableReference(ResourceRequirements.class),
+ @BuildableReference(IntOrString.class),
+ @BuildableReference(ObjectReference.class),
+ @BuildableReference(LocalObjectReference.class),
+ @BuildableReference(PersistentVolumeClaim.class)
+})
+@Generated("jsonschema2pojo")
+public class OperatorGroupSpecSelector implements Editable , KubernetesResource
+{
+
+ @JsonProperty("matchExpressions")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ private List matchExpressions = new ArrayList<>();
+ @JsonProperty("matchLabels")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ private Map matchLabels = new LinkedHashMap<>();
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public OperatorGroupSpecSelector() {
+ }
+
+ public OperatorGroupSpecSelector(List matchExpressions, Map matchLabels) {
+ super();
+ this.matchExpressions = matchExpressions;
+ this.matchLabels = matchLabels;
+ }
+
+ @JsonProperty("matchExpressions")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ public List getMatchExpressions() {
+ return matchExpressions;
+ }
+
+ @JsonProperty("matchExpressions")
+ public void setMatchExpressions(List matchExpressions) {
+ this.matchExpressions = matchExpressions;
+ }
+
+ @JsonProperty("matchLabels")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ public Map getMatchLabels() {
+ return matchLabels;
+ }
+
+ @JsonProperty("matchLabels")
+ public void setMatchLabels(Map matchLabels) {
+ this.matchLabels = matchLabels;
+ }
+
+ @JsonIgnore
+ public OperatorGroupSpecSelectorBuilder edit() {
+ return new OperatorGroupSpecSelectorBuilder(this);
+ }
+
+ @JsonIgnore
+ public OperatorGroupSpecSelectorBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroupStatus.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroupStatus.java
index ce547e5cc79..761b1ac888c 100644
--- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroupStatus.java
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroupStatus.java
@@ -14,13 +14,13 @@
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Condition;
import io.fabric8.kubernetes.api.model.Container;
import io.fabric8.kubernetes.api.model.IntOrString;
import io.fabric8.kubernetes.api.model.KubernetesResource;
import io.fabric8.kubernetes.api.model.LabelSelector;
import io.fabric8.kubernetes.api.model.LocalObjectReference;
import io.fabric8.kubernetes.api.model.ObjectMeta;
+import io.fabric8.kubernetes.api.model.ObjectReference;
import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
import io.fabric8.kubernetes.api.model.PodTemplateSpec;
import io.fabric8.kubernetes.api.model.ResourceRequirements;
@@ -51,7 +51,7 @@
@BuildableReference(PodTemplateSpec.class),
@BuildableReference(ResourceRequirements.class),
@BuildableReference(IntOrString.class),
- @BuildableReference(io.fabric8.kubernetes.api.model.ObjectReference.class),
+ @BuildableReference(ObjectReference.class),
@BuildableReference(LocalObjectReference.class),
@BuildableReference(PersistentVolumeClaim.class)
})
@@ -61,14 +61,14 @@ public class OperatorGroupStatus implements Editable
@JsonProperty("conditions")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List conditions = new ArrayList<>();
+ private List conditions = new ArrayList<>();
@JsonProperty("lastUpdated")
private String lastUpdated;
@JsonProperty("namespaces")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private List namespaces = new ArrayList<>();
@JsonProperty("serviceAccountRef")
- private io.fabric8.kubernetes.api.model.ObjectReference serviceAccountRef;
+ private OperatorGroupStatusServiceAccountRef serviceAccountRef;
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -79,7 +79,7 @@ public class OperatorGroupStatus implements Editable
public OperatorGroupStatus() {
}
- public OperatorGroupStatus(List conditions, String lastUpdated, List namespaces, io.fabric8.kubernetes.api.model.ObjectReference serviceAccountRef) {
+ public OperatorGroupStatus(List conditions, String lastUpdated, List namespaces, OperatorGroupStatusServiceAccountRef serviceAccountRef) {
super();
this.conditions = conditions;
this.lastUpdated = lastUpdated;
@@ -89,12 +89,12 @@ public OperatorGroupStatus(List conditions, String lastUpdated, List<
@JsonProperty("conditions")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getConditions() {
+ public List getConditions() {
return conditions;
}
@JsonProperty("conditions")
- public void setConditions(List conditions) {
+ public void setConditions(List conditions) {
this.conditions = conditions;
}
@@ -120,12 +120,12 @@ public void setNamespaces(List namespaces) {
}
@JsonProperty("serviceAccountRef")
- public io.fabric8.kubernetes.api.model.ObjectReference getServiceAccountRef() {
+ public OperatorGroupStatusServiceAccountRef getServiceAccountRef() {
return serviceAccountRef;
}
@JsonProperty("serviceAccountRef")
- public void setServiceAccountRef(io.fabric8.kubernetes.api.model.ObjectReference serviceAccountRef) {
+ public void setServiceAccountRef(OperatorGroupStatusServiceAccountRef serviceAccountRef) {
this.serviceAccountRef = serviceAccountRef;
}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroupStatusConditions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroupStatusConditions.java
new file mode 100644
index 00000000000..e05c086d7a6
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroupStatusConditions.java
@@ -0,0 +1,178 @@
+
+package io.fabric8.openshift.api.model.operatorhub.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import io.fabric8.kubernetes.api.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+import io.fabric8.kubernetes.api.model.IntOrString;
+import io.fabric8.kubernetes.api.model.KubernetesResource;
+import io.fabric8.kubernetes.api.model.LabelSelector;
+import io.fabric8.kubernetes.api.model.LocalObjectReference;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
+import io.fabric8.kubernetes.api.model.ObjectReference;
+import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
+import io.fabric8.kubernetes.api.model.PodTemplateSpec;
+import io.fabric8.kubernetes.api.model.ResourceRequirements;
+import io.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "lastTransitionTime",
+ "message",
+ "observedGeneration",
+ "reason",
+ "status",
+ "type"
+})
+@ToString
+@EqualsAndHashCode
+@Accessors(prefix = {
+ "_",
+ ""
+})
+@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
+ @BuildableReference(ObjectMeta.class),
+ @BuildableReference(LabelSelector.class),
+ @BuildableReference(Container.class),
+ @BuildableReference(PodTemplateSpec.class),
+ @BuildableReference(ResourceRequirements.class),
+ @BuildableReference(IntOrString.class),
+ @BuildableReference(ObjectReference.class),
+ @BuildableReference(LocalObjectReference.class),
+ @BuildableReference(PersistentVolumeClaim.class)
+})
+@Generated("jsonschema2pojo")
+public class OperatorGroupStatusConditions implements Editable , KubernetesResource
+{
+
+ @JsonProperty("lastTransitionTime")
+ private String lastTransitionTime;
+ @JsonProperty("message")
+ private String message;
+ @JsonProperty("observedGeneration")
+ private Long observedGeneration;
+ @JsonProperty("reason")
+ private String reason;
+ @JsonProperty("status")
+ private String status;
+ @JsonProperty("type")
+ private String type;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public OperatorGroupStatusConditions() {
+ }
+
+ public OperatorGroupStatusConditions(String lastTransitionTime, String message, Long observedGeneration, String reason, String status, String type) {
+ super();
+ this.lastTransitionTime = lastTransitionTime;
+ this.message = message;
+ this.observedGeneration = observedGeneration;
+ this.reason = reason;
+ this.status = status;
+ this.type = type;
+ }
+
+ @JsonProperty("lastTransitionTime")
+ public String getLastTransitionTime() {
+ return lastTransitionTime;
+ }
+
+ @JsonProperty("lastTransitionTime")
+ public void setLastTransitionTime(String lastTransitionTime) {
+ this.lastTransitionTime = lastTransitionTime;
+ }
+
+ @JsonProperty("message")
+ public String getMessage() {
+ return message;
+ }
+
+ @JsonProperty("message")
+ public void setMessage(String message) {
+ this.message = message;
+ }
+
+ @JsonProperty("observedGeneration")
+ public Long getObservedGeneration() {
+ return observedGeneration;
+ }
+
+ @JsonProperty("observedGeneration")
+ public void setObservedGeneration(Long observedGeneration) {
+ this.observedGeneration = observedGeneration;
+ }
+
+ @JsonProperty("reason")
+ public String getReason() {
+ return reason;
+ }
+
+ @JsonProperty("reason")
+ public void setReason(String reason) {
+ this.reason = reason;
+ }
+
+ @JsonProperty("status")
+ public String getStatus() {
+ return status;
+ }
+
+ @JsonProperty("status")
+ public void setStatus(String status) {
+ this.status = status;
+ }
+
+ @JsonProperty("type")
+ public String getType() {
+ return type;
+ }
+
+ @JsonProperty("type")
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ @JsonIgnore
+ public OperatorGroupStatusConditionsBuilder edit() {
+ return new OperatorGroupStatusConditionsBuilder(this);
+ }
+
+ @JsonIgnore
+ public OperatorGroupStatusConditionsBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroupStatusServiceAccountRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroupStatusServiceAccountRef.java
new file mode 100644
index 00000000000..08d29b8ef3e
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorGroupStatusServiceAccountRef.java
@@ -0,0 +1,192 @@
+
+package io.fabric8.openshift.api.model.operatorhub.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import io.fabric8.kubernetes.api.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+import io.fabric8.kubernetes.api.model.IntOrString;
+import io.fabric8.kubernetes.api.model.KubernetesResource;
+import io.fabric8.kubernetes.api.model.LabelSelector;
+import io.fabric8.kubernetes.api.model.LocalObjectReference;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
+import io.fabric8.kubernetes.api.model.ObjectReference;
+import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
+import io.fabric8.kubernetes.api.model.PodTemplateSpec;
+import io.fabric8.kubernetes.api.model.ResourceRequirements;
+import io.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "apiVersion",
+ "kind",
+ "fieldPath",
+ "name",
+ "namespace",
+ "resourceVersion",
+ "uid"
+})
+@ToString
+@EqualsAndHashCode
+@Accessors(prefix = {
+ "_",
+ ""
+})
+@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
+ @BuildableReference(ObjectMeta.class),
+ @BuildableReference(LabelSelector.class),
+ @BuildableReference(Container.class),
+ @BuildableReference(PodTemplateSpec.class),
+ @BuildableReference(ResourceRequirements.class),
+ @BuildableReference(IntOrString.class),
+ @BuildableReference(ObjectReference.class),
+ @BuildableReference(LocalObjectReference.class),
+ @BuildableReference(PersistentVolumeClaim.class)
+})
+@Generated("jsonschema2pojo")
+public class OperatorGroupStatusServiceAccountRef implements Editable , KubernetesResource
+{
+
+ @JsonProperty("apiVersion")
+ private String apiVersion;
+ @JsonProperty("fieldPath")
+ private String fieldPath;
+ @JsonProperty("kind")
+ private String kind;
+ @JsonProperty("name")
+ private String name;
+ @JsonProperty("namespace")
+ private String namespace;
+ @JsonProperty("resourceVersion")
+ private String resourceVersion;
+ @JsonProperty("uid")
+ private String uid;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public OperatorGroupStatusServiceAccountRef() {
+ }
+
+ public OperatorGroupStatusServiceAccountRef(String apiVersion, String fieldPath, String kind, String name, String namespace, String resourceVersion, String uid) {
+ super();
+ this.apiVersion = apiVersion;
+ this.fieldPath = fieldPath;
+ this.kind = kind;
+ this.name = name;
+ this.namespace = namespace;
+ this.resourceVersion = resourceVersion;
+ this.uid = uid;
+ }
+
+ @JsonProperty("apiVersion")
+ public String getApiVersion() {
+ return apiVersion;
+ }
+
+ @JsonProperty("apiVersion")
+ public void setApiVersion(String apiVersion) {
+ this.apiVersion = apiVersion;
+ }
+
+ @JsonProperty("fieldPath")
+ public String getFieldPath() {
+ return fieldPath;
+ }
+
+ @JsonProperty("fieldPath")
+ public void setFieldPath(String fieldPath) {
+ this.fieldPath = fieldPath;
+ }
+
+ @JsonProperty("kind")
+ public String getKind() {
+ return kind;
+ }
+
+ @JsonProperty("kind")
+ public void setKind(String kind) {
+ this.kind = kind;
+ }
+
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ @JsonProperty("name")
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ @JsonProperty("namespace")
+ public String getNamespace() {
+ return namespace;
+ }
+
+ @JsonProperty("namespace")
+ public void setNamespace(String namespace) {
+ this.namespace = namespace;
+ }
+
+ @JsonProperty("resourceVersion")
+ public String getResourceVersion() {
+ return resourceVersion;
+ }
+
+ @JsonProperty("resourceVersion")
+ public void setResourceVersion(String resourceVersion) {
+ this.resourceVersion = resourceVersion;
+ }
+
+ @JsonProperty("uid")
+ public String getUid() {
+ return uid;
+ }
+
+ @JsonProperty("uid")
+ public void setUid(String uid) {
+ this.uid = uid;
+ }
+
+ @JsonIgnore
+ public OperatorGroupStatusServiceAccountRefBuilder edit() {
+ return new OperatorGroupStatusServiceAccountRefBuilder(this);
+ }
+
+ @JsonIgnore
+ public OperatorGroupStatusServiceAccountRefBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorSpec.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorSpec.java
deleted file mode 100644
index e7fa1ab97a5..00000000000
--- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorSpec.java
+++ /dev/null
@@ -1,83 +0,0 @@
-
-package io.fabric8.openshift.api.model.operatorhub.v1;
-
-import java.util.LinkedHashMap;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Container;
-import io.fabric8.kubernetes.api.model.IntOrString;
-import io.fabric8.kubernetes.api.model.KubernetesResource;
-import io.fabric8.kubernetes.api.model.LabelSelector;
-import io.fabric8.kubernetes.api.model.LocalObjectReference;
-import io.fabric8.kubernetes.api.model.ObjectMeta;
-import io.fabric8.kubernetes.api.model.ObjectReference;
-import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
-import io.fabric8.kubernetes.api.model.PodTemplateSpec;
-import io.fabric8.kubernetes.api.model.ResourceRequirements;
-import io.sundr.builder.annotations.Buildable;
-import io.sundr.builder.annotations.BuildableReference;
-import lombok.EqualsAndHashCode;
-import lombok.ToString;
-import lombok.experimental.Accessors;
-
-@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
-@JsonInclude(JsonInclude.Include.NON_NULL)
-@JsonPropertyOrder({
-
-})
-@ToString
-@EqualsAndHashCode
-@Accessors(prefix = {
- "_",
- ""
-})
-@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
- @BuildableReference(ObjectMeta.class),
- @BuildableReference(LabelSelector.class),
- @BuildableReference(Container.class),
- @BuildableReference(PodTemplateSpec.class),
- @BuildableReference(ResourceRequirements.class),
- @BuildableReference(IntOrString.class),
- @BuildableReference(ObjectReference.class),
- @BuildableReference(LocalObjectReference.class),
- @BuildableReference(PersistentVolumeClaim.class)
-})
-@Generated("jsonschema2pojo")
-public class OperatorSpec implements Editable , KubernetesResource
-{
-
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- @JsonIgnore
- public OperatorSpecBuilder edit() {
- return new OperatorSpecBuilder(this);
- }
-
- @JsonIgnore
- public OperatorSpecBuilder toBuilder() {
- return edit();
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorStatus.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorStatus.java
index f716beb8f3b..4601495d8da 100644
--- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorStatus.java
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorStatus.java
@@ -55,7 +55,7 @@ public class OperatorStatus implements Editable , Kuberne
{
@JsonProperty("components")
- private Components components;
+ private OperatorStatusComponents components;
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -66,18 +66,18 @@ public class OperatorStatus implements Editable , Kuberne
public OperatorStatus() {
}
- public OperatorStatus(Components components) {
+ public OperatorStatus(OperatorStatusComponents components) {
super();
this.components = components;
}
@JsonProperty("components")
- public Components getComponents() {
+ public OperatorStatusComponents getComponents() {
return components;
}
@JsonProperty("components")
- public void setComponents(Components components) {
+ public void setComponents(OperatorStatusComponents components) {
this.components = components;
}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorStatusCLSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorStatusCLSMatchExpressions.java
new file mode 100644
index 00000000000..1fdd5f92c73
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorStatusCLSMatchExpressions.java
@@ -0,0 +1,140 @@
+
+package io.fabric8.openshift.api.model.operatorhub.v1;
+
+import java.util.ArrayList;
+import java.util.LinkedHashMap;
+import java.util.List;
+import java.util.Map;
+import javax.annotation.Generated;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import io.fabric8.kubernetes.api.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+import io.fabric8.kubernetes.api.model.IntOrString;
+import io.fabric8.kubernetes.api.model.KubernetesResource;
+import io.fabric8.kubernetes.api.model.LabelSelector;
+import io.fabric8.kubernetes.api.model.LocalObjectReference;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
+import io.fabric8.kubernetes.api.model.ObjectReference;
+import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
+import io.fabric8.kubernetes.api.model.PodTemplateSpec;
+import io.fabric8.kubernetes.api.model.ResourceRequirements;
+import io.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "key",
+ "operator",
+ "values"
+})
+@ToString
+@EqualsAndHashCode
+@Accessors(prefix = {
+ "_",
+ ""
+})
+@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
+ @BuildableReference(ObjectMeta.class),
+ @BuildableReference(LabelSelector.class),
+ @BuildableReference(Container.class),
+ @BuildableReference(PodTemplateSpec.class),
+ @BuildableReference(ResourceRequirements.class),
+ @BuildableReference(IntOrString.class),
+ @BuildableReference(ObjectReference.class),
+ @BuildableReference(LocalObjectReference.class),
+ @BuildableReference(PersistentVolumeClaim.class)
+})
+@Generated("jsonschema2pojo")
+public class OperatorStatusCLSMatchExpressions implements Editable , KubernetesResource
+{
+
+ @JsonProperty("key")
+ private String key;
+ @JsonProperty("operator")
+ private String operator;
+ @JsonProperty("values")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ private List values = new ArrayList<>();
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public OperatorStatusCLSMatchExpressions() {
+ }
+
+ public OperatorStatusCLSMatchExpressions(String key, String operator, List values) {
+ super();
+ this.key = key;
+ this.operator = operator;
+ this.values = values;
+ }
+
+ @JsonProperty("key")
+ public String getKey() {
+ return key;
+ }
+
+ @JsonProperty("key")
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ @JsonProperty("operator")
+ public String getOperator() {
+ return operator;
+ }
+
+ @JsonProperty("operator")
+ public void setOperator(String operator) {
+ this.operator = operator;
+ }
+
+ @JsonProperty("values")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ public List getValues() {
+ return values;
+ }
+
+ @JsonProperty("values")
+ public void setValues(List values) {
+ this.values = values;
+ }
+
+ @JsonIgnore
+ public OperatorStatusCLSMatchExpressionsBuilder edit() {
+ return new OperatorStatusCLSMatchExpressionsBuilder(this);
+ }
+
+ @JsonIgnore
+ public OperatorStatusCLSMatchExpressionsBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorStatusCLabelSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorStatusCLabelSelector.java
new file mode 100644
index 00000000000..f7cf7ba708b
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorStatusCLabelSelector.java
@@ -0,0 +1,128 @@
+
+package io.fabric8.openshift.api.model.operatorhub.v1;
+
+import java.util.ArrayList;
+import java.util.LinkedHashMap;
+import java.util.List;
+import java.util.Map;
+import javax.annotation.Generated;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import io.fabric8.kubernetes.api.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+import io.fabric8.kubernetes.api.model.IntOrString;
+import io.fabric8.kubernetes.api.model.KubernetesResource;
+import io.fabric8.kubernetes.api.model.LabelSelector;
+import io.fabric8.kubernetes.api.model.LocalObjectReference;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
+import io.fabric8.kubernetes.api.model.ObjectReference;
+import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
+import io.fabric8.kubernetes.api.model.PodTemplateSpec;
+import io.fabric8.kubernetes.api.model.ResourceRequirements;
+import io.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "matchExpressions",
+ "matchLabels"
+})
+@ToString
+@EqualsAndHashCode
+@Accessors(prefix = {
+ "_",
+ ""
+})
+@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
+ @BuildableReference(ObjectMeta.class),
+ @BuildableReference(LabelSelector.class),
+ @BuildableReference(Container.class),
+ @BuildableReference(PodTemplateSpec.class),
+ @BuildableReference(ResourceRequirements.class),
+ @BuildableReference(IntOrString.class),
+ @BuildableReference(ObjectReference.class),
+ @BuildableReference(LocalObjectReference.class),
+ @BuildableReference(PersistentVolumeClaim.class)
+})
+@Generated("jsonschema2pojo")
+public class OperatorStatusCLabelSelector implements Editable , KubernetesResource
+{
+
+ @JsonProperty("matchExpressions")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ private List matchExpressions = new ArrayList<>();
+ @JsonProperty("matchLabels")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ private Map matchLabels = new LinkedHashMap<>();
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public OperatorStatusCLabelSelector() {
+ }
+
+ public OperatorStatusCLabelSelector(List matchExpressions, Map matchLabels) {
+ super();
+ this.matchExpressions = matchExpressions;
+ this.matchLabels = matchLabels;
+ }
+
+ @JsonProperty("matchExpressions")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ public List getMatchExpressions() {
+ return matchExpressions;
+ }
+
+ @JsonProperty("matchExpressions")
+ public void setMatchExpressions(List matchExpressions) {
+ this.matchExpressions = matchExpressions;
+ }
+
+ @JsonProperty("matchLabels")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ public Map getMatchLabels() {
+ return matchLabels;
+ }
+
+ @JsonProperty("matchLabels")
+ public void setMatchLabels(Map matchLabels) {
+ this.matchLabels = matchLabels;
+ }
+
+ @JsonIgnore
+ public OperatorStatusCLabelSelectorBuilder edit() {
+ return new OperatorStatusCLabelSelectorBuilder(this);
+ }
+
+ @JsonIgnore
+ public OperatorStatusCLabelSelectorBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorStatusCRConditions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorStatusCRConditions.java
new file mode 100644
index 00000000000..d308ce3c18e
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorStatusCRConditions.java
@@ -0,0 +1,178 @@
+
+package io.fabric8.openshift.api.model.operatorhub.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import io.fabric8.kubernetes.api.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+import io.fabric8.kubernetes.api.model.IntOrString;
+import io.fabric8.kubernetes.api.model.KubernetesResource;
+import io.fabric8.kubernetes.api.model.LabelSelector;
+import io.fabric8.kubernetes.api.model.LocalObjectReference;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
+import io.fabric8.kubernetes.api.model.ObjectReference;
+import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
+import io.fabric8.kubernetes.api.model.PodTemplateSpec;
+import io.fabric8.kubernetes.api.model.ResourceRequirements;
+import io.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "lastTransitionTime",
+ "lastUpdateTime",
+ "message",
+ "reason",
+ "status",
+ "type"
+})
+@ToString
+@EqualsAndHashCode
+@Accessors(prefix = {
+ "_",
+ ""
+})
+@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
+ @BuildableReference(ObjectMeta.class),
+ @BuildableReference(LabelSelector.class),
+ @BuildableReference(Container.class),
+ @BuildableReference(PodTemplateSpec.class),
+ @BuildableReference(ResourceRequirements.class),
+ @BuildableReference(IntOrString.class),
+ @BuildableReference(ObjectReference.class),
+ @BuildableReference(LocalObjectReference.class),
+ @BuildableReference(PersistentVolumeClaim.class)
+})
+@Generated("jsonschema2pojo")
+public class OperatorStatusCRConditions implements Editable , KubernetesResource
+{
+
+ @JsonProperty("lastTransitionTime")
+ private String lastTransitionTime;
+ @JsonProperty("lastUpdateTime")
+ private String lastUpdateTime;
+ @JsonProperty("message")
+ private String message;
+ @JsonProperty("reason")
+ private String reason;
+ @JsonProperty("status")
+ private String status;
+ @JsonProperty("type")
+ private String type;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public OperatorStatusCRConditions() {
+ }
+
+ public OperatorStatusCRConditions(String lastTransitionTime, String lastUpdateTime, String message, String reason, String status, String type) {
+ super();
+ this.lastTransitionTime = lastTransitionTime;
+ this.lastUpdateTime = lastUpdateTime;
+ this.message = message;
+ this.reason = reason;
+ this.status = status;
+ this.type = type;
+ }
+
+ @JsonProperty("lastTransitionTime")
+ public String getLastTransitionTime() {
+ return lastTransitionTime;
+ }
+
+ @JsonProperty("lastTransitionTime")
+ public void setLastTransitionTime(String lastTransitionTime) {
+ this.lastTransitionTime = lastTransitionTime;
+ }
+
+ @JsonProperty("lastUpdateTime")
+ public String getLastUpdateTime() {
+ return lastUpdateTime;
+ }
+
+ @JsonProperty("lastUpdateTime")
+ public void setLastUpdateTime(String lastUpdateTime) {
+ this.lastUpdateTime = lastUpdateTime;
+ }
+
+ @JsonProperty("message")
+ public String getMessage() {
+ return message;
+ }
+
+ @JsonProperty("message")
+ public void setMessage(String message) {
+ this.message = message;
+ }
+
+ @JsonProperty("reason")
+ public String getReason() {
+ return reason;
+ }
+
+ @JsonProperty("reason")
+ public void setReason(String reason) {
+ this.reason = reason;
+ }
+
+ @JsonProperty("status")
+ public String getStatus() {
+ return status;
+ }
+
+ @JsonProperty("status")
+ public void setStatus(String status) {
+ this.status = status;
+ }
+
+ @JsonProperty("type")
+ public String getType() {
+ return type;
+ }
+
+ @JsonProperty("type")
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ @JsonIgnore
+ public OperatorStatusCRConditionsBuilder edit() {
+ return new OperatorStatusCRConditionsBuilder(this);
+ }
+
+ @JsonIgnore
+ public OperatorStatusCRConditionsBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorStatusCRefs.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorStatusCRefs.java
new file mode 100644
index 00000000000..84ae6491a04
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorStatusCRefs.java
@@ -0,0 +1,210 @@
+
+package io.fabric8.openshift.api.model.operatorhub.v1;
+
+import java.util.ArrayList;
+import java.util.LinkedHashMap;
+import java.util.List;
+import java.util.Map;
+import javax.annotation.Generated;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import io.fabric8.kubernetes.api.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+import io.fabric8.kubernetes.api.model.IntOrString;
+import io.fabric8.kubernetes.api.model.KubernetesResource;
+import io.fabric8.kubernetes.api.model.LabelSelector;
+import io.fabric8.kubernetes.api.model.LocalObjectReference;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
+import io.fabric8.kubernetes.api.model.ObjectReference;
+import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
+import io.fabric8.kubernetes.api.model.PodTemplateSpec;
+import io.fabric8.kubernetes.api.model.ResourceRequirements;
+import io.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "apiVersion",
+ "kind",
+ "conditions",
+ "fieldPath",
+ "name",
+ "namespace",
+ "resourceVersion",
+ "uid"
+})
+@ToString
+@EqualsAndHashCode
+@Accessors(prefix = {
+ "_",
+ ""
+})
+@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
+ @BuildableReference(ObjectMeta.class),
+ @BuildableReference(LabelSelector.class),
+ @BuildableReference(Container.class),
+ @BuildableReference(PodTemplateSpec.class),
+ @BuildableReference(ResourceRequirements.class),
+ @BuildableReference(IntOrString.class),
+ @BuildableReference(ObjectReference.class),
+ @BuildableReference(LocalObjectReference.class),
+ @BuildableReference(PersistentVolumeClaim.class)
+})
+@Generated("jsonschema2pojo")
+public class OperatorStatusCRefs implements Editable , KubernetesResource
+{
+
+ @JsonProperty("apiVersion")
+ private String apiVersion;
+ @JsonProperty("conditions")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ private List conditions = new ArrayList<>();
+ @JsonProperty("fieldPath")
+ private String fieldPath;
+ @JsonProperty("kind")
+ private String kind;
+ @JsonProperty("name")
+ private String name;
+ @JsonProperty("namespace")
+ private String namespace;
+ @JsonProperty("resourceVersion")
+ private String resourceVersion;
+ @JsonProperty("uid")
+ private String uid;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public OperatorStatusCRefs() {
+ }
+
+ public OperatorStatusCRefs(String apiVersion, List conditions, String fieldPath, String kind, String name, String namespace, String resourceVersion, String uid) {
+ super();
+ this.apiVersion = apiVersion;
+ this.conditions = conditions;
+ this.fieldPath = fieldPath;
+ this.kind = kind;
+ this.name = name;
+ this.namespace = namespace;
+ this.resourceVersion = resourceVersion;
+ this.uid = uid;
+ }
+
+ @JsonProperty("apiVersion")
+ public String getApiVersion() {
+ return apiVersion;
+ }
+
+ @JsonProperty("apiVersion")
+ public void setApiVersion(String apiVersion) {
+ this.apiVersion = apiVersion;
+ }
+
+ @JsonProperty("conditions")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ public List getConditions() {
+ return conditions;
+ }
+
+ @JsonProperty("conditions")
+ public void setConditions(List conditions) {
+ this.conditions = conditions;
+ }
+
+ @JsonProperty("fieldPath")
+ public String getFieldPath() {
+ return fieldPath;
+ }
+
+ @JsonProperty("fieldPath")
+ public void setFieldPath(String fieldPath) {
+ this.fieldPath = fieldPath;
+ }
+
+ @JsonProperty("kind")
+ public String getKind() {
+ return kind;
+ }
+
+ @JsonProperty("kind")
+ public void setKind(String kind) {
+ this.kind = kind;
+ }
+
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ @JsonProperty("name")
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ @JsonProperty("namespace")
+ public String getNamespace() {
+ return namespace;
+ }
+
+ @JsonProperty("namespace")
+ public void setNamespace(String namespace) {
+ this.namespace = namespace;
+ }
+
+ @JsonProperty("resourceVersion")
+ public String getResourceVersion() {
+ return resourceVersion;
+ }
+
+ @JsonProperty("resourceVersion")
+ public void setResourceVersion(String resourceVersion) {
+ this.resourceVersion = resourceVersion;
+ }
+
+ @JsonProperty("uid")
+ public String getUid() {
+ return uid;
+ }
+
+ @JsonProperty("uid")
+ public void setUid(String uid) {
+ this.uid = uid;
+ }
+
+ @JsonIgnore
+ public OperatorStatusCRefsBuilder edit() {
+ return new OperatorStatusCRefsBuilder(this);
+ }
+
+ @JsonIgnore
+ public OperatorStatusCRefsBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/Components.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorStatusComponents.java
similarity index 79%
rename from kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/Components.java
rename to kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorStatusComponents.java
index 338757ef682..9f0a1c3c2f5 100644
--- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/Components.java
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1/OperatorStatusComponents.java
@@ -12,12 +12,12 @@
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.fabric8.kubernetes.api.builder.Editable;
import io.fabric8.kubernetes.api.model.Container;
import io.fabric8.kubernetes.api.model.IntOrString;
import io.fabric8.kubernetes.api.model.KubernetesResource;
+import io.fabric8.kubernetes.api.model.LabelSelector;
import io.fabric8.kubernetes.api.model.LocalObjectReference;
import io.fabric8.kubernetes.api.model.ObjectMeta;
import io.fabric8.kubernetes.api.model.ObjectReference;
@@ -44,7 +44,7 @@
})
@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
@BuildableReference(ObjectMeta.class),
- @BuildableReference(io.fabric8.kubernetes.api.model.LabelSelector.class),
+ @BuildableReference(LabelSelector.class),
@BuildableReference(Container.class),
@BuildableReference(PodTemplateSpec.class),
@BuildableReference(ResourceRequirements.class),
@@ -54,14 +54,14 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class Components implements Editable , KubernetesResource
+public class OperatorStatusComponents implements Editable , KubernetesResource
{
@JsonProperty("labelSelector")
- private io.fabric8.kubernetes.api.model.LabelSelector labelSelector;
+ private OperatorStatusCLabelSelector labelSelector;
@JsonProperty("refs")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List refs = new ArrayList<>();
+ private List refs = new ArrayList<>();
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -69,43 +69,43 @@ public class Components implements Editable , KubernetesResou
* No args constructor for use in serialization
*
*/
- public Components() {
+ public OperatorStatusComponents() {
}
- public Components(io.fabric8.kubernetes.api.model.LabelSelector labelSelector, List refs) {
+ public OperatorStatusComponents(OperatorStatusCLabelSelector labelSelector, List refs) {
super();
this.labelSelector = labelSelector;
this.refs = refs;
}
@JsonProperty("labelSelector")
- public io.fabric8.kubernetes.api.model.LabelSelector getLabelSelector() {
+ public OperatorStatusCLabelSelector getLabelSelector() {
return labelSelector;
}
@JsonProperty("labelSelector")
- public void setLabelSelector(io.fabric8.kubernetes.api.model.LabelSelector labelSelector) {
+ public void setLabelSelector(OperatorStatusCLabelSelector labelSelector) {
this.labelSelector = labelSelector;
}
@JsonProperty("refs")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getRefs() {
+ public List getRefs() {
return refs;
}
@JsonProperty("refs")
- public void setRefs(List refs) {
+ public void setRefs(List refs) {
this.refs = refs;
}
@JsonIgnore
- public ComponentsBuilder edit() {
- return new ComponentsBuilder(this);
+ public OperatorStatusComponentsBuilder edit() {
+ return new OperatorStatusComponentsBuilder(this);
}
@JsonIgnore
- public ComponentsBuilder toBuilder() {
+ public OperatorStatusComponentsBuilder toBuilder() {
return edit();
}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSource.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSource.java
index 134c1aa549a..058339f33e1 100644
--- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSource.java
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSource.java
@@ -18,6 +18,7 @@
import io.fabric8.kubernetes.api.model.LabelSelector;
import io.fabric8.kubernetes.api.model.LocalObjectReference;
import io.fabric8.kubernetes.api.model.Namespaced;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
import io.fabric8.kubernetes.api.model.ObjectReference;
import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
import io.fabric8.kubernetes.api.model.PodTemplateSpec;
@@ -48,7 +49,7 @@
""
})
@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
- @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class),
+ @BuildableReference(ObjectMeta.class),
@BuildableReference(LabelSelector.class),
@BuildableReference(Container.class),
@BuildableReference(PodTemplateSpec.class),
@@ -82,7 +83,7 @@ public class CatalogSource implements Editable , HasMetada
@JsonProperty("kind")
private String kind = "CatalogSource";
@JsonProperty("metadata")
- private io.fabric8.kubernetes.api.model.ObjectMeta metadata;
+ private ObjectMeta metadata;
@JsonProperty("spec")
private CatalogSourceSpec spec;
@JsonProperty("status")
@@ -97,7 +98,7 @@ public class CatalogSource implements Editable , HasMetada
public CatalogSource() {
}
- public CatalogSource(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, CatalogSourceSpec spec, CatalogSourceStatus status) {
+ public CatalogSource(String apiVersion, String kind, ObjectMeta metadata, CatalogSourceSpec spec, CatalogSourceStatus status) {
super();
this.apiVersion = apiVersion;
this.kind = kind;
@@ -147,12 +148,12 @@ public void setKind(String kind) {
}
@JsonProperty("metadata")
- public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() {
+ public ObjectMeta getMetadata() {
return metadata;
}
@JsonProperty("metadata")
- public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) {
+ public void setMetadata(ObjectMeta metadata) {
this.metadata = metadata;
}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpec.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpec.java
index c75c6708ce0..eadd168ac73 100644
--- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpec.java
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpec.java
@@ -42,6 +42,7 @@
"image",
"priority",
"publisher",
+ "runAsRoot",
"secrets",
"sourceType",
"updateStrategy"
@@ -76,22 +77,24 @@ public class CatalogSourceSpec implements Editable , K
@JsonProperty("displayName")
private String displayName;
@JsonProperty("grpcPodConfig")
- private GrpcPodConfig grpcPodConfig;
+ private CatalogSourceSpecGrpcPodConfig grpcPodConfig;
@JsonProperty("icon")
- private Icon icon;
+ private CatalogSourceSpecIcon icon;
@JsonProperty("image")
private String image;
@JsonProperty("priority")
private Integer priority;
@JsonProperty("publisher")
private String publisher;
+ @JsonProperty("runAsRoot")
+ private Boolean runAsRoot;
@JsonProperty("secrets")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private List secrets = new ArrayList<>();
@JsonProperty("sourceType")
private String sourceType;
@JsonProperty("updateStrategy")
- private UpdateStrategy updateStrategy;
+ private CatalogSourceSpecUpdateStrategy updateStrategy;
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -102,7 +105,7 @@ public class CatalogSourceSpec implements Editable , K
public CatalogSourceSpec() {
}
- public CatalogSourceSpec(String address, String configMap, String description, String displayName, GrpcPodConfig grpcPodConfig, Icon icon, String image, Integer priority, String publisher, List secrets, String sourceType, UpdateStrategy updateStrategy) {
+ public CatalogSourceSpec(String address, String configMap, String description, String displayName, CatalogSourceSpecGrpcPodConfig grpcPodConfig, CatalogSourceSpecIcon icon, String image, Integer priority, String publisher, Boolean runAsRoot, List secrets, String sourceType, CatalogSourceSpecUpdateStrategy updateStrategy) {
super();
this.address = address;
this.configMap = configMap;
@@ -113,6 +116,7 @@ public CatalogSourceSpec(String address, String configMap, String description, S
this.image = image;
this.priority = priority;
this.publisher = publisher;
+ this.runAsRoot = runAsRoot;
this.secrets = secrets;
this.sourceType = sourceType;
this.updateStrategy = updateStrategy;
@@ -159,22 +163,22 @@ public void setDisplayName(String displayName) {
}
@JsonProperty("grpcPodConfig")
- public GrpcPodConfig getGrpcPodConfig() {
+ public CatalogSourceSpecGrpcPodConfig getGrpcPodConfig() {
return grpcPodConfig;
}
@JsonProperty("grpcPodConfig")
- public void setGrpcPodConfig(GrpcPodConfig grpcPodConfig) {
+ public void setGrpcPodConfig(CatalogSourceSpecGrpcPodConfig grpcPodConfig) {
this.grpcPodConfig = grpcPodConfig;
}
@JsonProperty("icon")
- public Icon getIcon() {
+ public CatalogSourceSpecIcon getIcon() {
return icon;
}
@JsonProperty("icon")
- public void setIcon(Icon icon) {
+ public void setIcon(CatalogSourceSpecIcon icon) {
this.icon = icon;
}
@@ -208,6 +212,16 @@ public void setPublisher(String publisher) {
this.publisher = publisher;
}
+ @JsonProperty("runAsRoot")
+ public Boolean getRunAsRoot() {
+ return runAsRoot;
+ }
+
+ @JsonProperty("runAsRoot")
+ public void setRunAsRoot(Boolean runAsRoot) {
+ this.runAsRoot = runAsRoot;
+ }
+
@JsonProperty("secrets")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public List getSecrets() {
@@ -230,12 +244,12 @@ public void setSourceType(String sourceType) {
}
@JsonProperty("updateStrategy")
- public UpdateStrategy getUpdateStrategy() {
+ public CatalogSourceSpecUpdateStrategy getUpdateStrategy() {
return updateStrategy;
}
@JsonProperty("updateStrategy")
- public void setUpdateStrategy(UpdateStrategy updateStrategy) {
+ public void setUpdateStrategy(CatalogSourceSpecUpdateStrategy updateStrategy) {
this.updateStrategy = updateStrategy;
}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCANAPDSIDEPMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCANAPDSIDEPMatchExpressions.java
new file mode 100644
index 00000000000..a77bba54ea8
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCANAPDSIDEPMatchExpressions.java
@@ -0,0 +1,140 @@
+
+package io.fabric8.openshift.api.model.operatorhub.v1alpha1;
+
+import java.util.ArrayList;
+import java.util.LinkedHashMap;
+import java.util.List;
+import java.util.Map;
+import javax.annotation.Generated;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import io.fabric8.kubernetes.api.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+import io.fabric8.kubernetes.api.model.IntOrString;
+import io.fabric8.kubernetes.api.model.KubernetesResource;
+import io.fabric8.kubernetes.api.model.LabelSelector;
+import io.fabric8.kubernetes.api.model.LocalObjectReference;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
+import io.fabric8.kubernetes.api.model.ObjectReference;
+import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
+import io.fabric8.kubernetes.api.model.PodTemplateSpec;
+import io.fabric8.kubernetes.api.model.ResourceRequirements;
+import io.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "key",
+ "operator",
+ "values"
+})
+@ToString
+@EqualsAndHashCode
+@Accessors(prefix = {
+ "_",
+ ""
+})
+@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
+ @BuildableReference(ObjectMeta.class),
+ @BuildableReference(LabelSelector.class),
+ @BuildableReference(Container.class),
+ @BuildableReference(PodTemplateSpec.class),
+ @BuildableReference(ResourceRequirements.class),
+ @BuildableReference(IntOrString.class),
+ @BuildableReference(ObjectReference.class),
+ @BuildableReference(LocalObjectReference.class),
+ @BuildableReference(PersistentVolumeClaim.class)
+})
+@Generated("jsonschema2pojo")
+public class CatalogSourceSpecGPCANAPDSIDEPMatchExpressions implements Editable , KubernetesResource
+{
+
+ @JsonProperty("key")
+ private String key;
+ @JsonProperty("operator")
+ private String operator;
+ @JsonProperty("values")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ private List values = new ArrayList<>();
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public CatalogSourceSpecGPCANAPDSIDEPMatchExpressions() {
+ }
+
+ public CatalogSourceSpecGPCANAPDSIDEPMatchExpressions(String key, String operator, List values) {
+ super();
+ this.key = key;
+ this.operator = operator;
+ this.values = values;
+ }
+
+ @JsonProperty("key")
+ public String getKey() {
+ return key;
+ }
+
+ @JsonProperty("key")
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ @JsonProperty("operator")
+ public String getOperator() {
+ return operator;
+ }
+
+ @JsonProperty("operator")
+ public void setOperator(String operator) {
+ this.operator = operator;
+ }
+
+ @JsonProperty("values")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ public List getValues() {
+ return values;
+ }
+
+ @JsonProperty("values")
+ public void setValues(List values) {
+ this.values = values;
+ }
+
+ @JsonIgnore
+ public CatalogSourceSpecGPCANAPDSIDEPMatchExpressionsBuilder edit() {
+ return new CatalogSourceSpecGPCANAPDSIDEPMatchExpressionsBuilder(this);
+ }
+
+ @JsonIgnore
+ public CatalogSourceSpecGPCANAPDSIDEPMatchExpressionsBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCANAPDSIDEPMatchFields.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCANAPDSIDEPMatchFields.java
new file mode 100644
index 00000000000..ce67e64215c
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCANAPDSIDEPMatchFields.java
@@ -0,0 +1,140 @@
+
+package io.fabric8.openshift.api.model.operatorhub.v1alpha1;
+
+import java.util.ArrayList;
+import java.util.LinkedHashMap;
+import java.util.List;
+import java.util.Map;
+import javax.annotation.Generated;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import io.fabric8.kubernetes.api.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+import io.fabric8.kubernetes.api.model.IntOrString;
+import io.fabric8.kubernetes.api.model.KubernetesResource;
+import io.fabric8.kubernetes.api.model.LabelSelector;
+import io.fabric8.kubernetes.api.model.LocalObjectReference;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
+import io.fabric8.kubernetes.api.model.ObjectReference;
+import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
+import io.fabric8.kubernetes.api.model.PodTemplateSpec;
+import io.fabric8.kubernetes.api.model.ResourceRequirements;
+import io.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "key",
+ "operator",
+ "values"
+})
+@ToString
+@EqualsAndHashCode
+@Accessors(prefix = {
+ "_",
+ ""
+})
+@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
+ @BuildableReference(ObjectMeta.class),
+ @BuildableReference(LabelSelector.class),
+ @BuildableReference(Container.class),
+ @BuildableReference(PodTemplateSpec.class),
+ @BuildableReference(ResourceRequirements.class),
+ @BuildableReference(IntOrString.class),
+ @BuildableReference(ObjectReference.class),
+ @BuildableReference(LocalObjectReference.class),
+ @BuildableReference(PersistentVolumeClaim.class)
+})
+@Generated("jsonschema2pojo")
+public class CatalogSourceSpecGPCANAPDSIDEPMatchFields implements Editable , KubernetesResource
+{
+
+ @JsonProperty("key")
+ private String key;
+ @JsonProperty("operator")
+ private String operator;
+ @JsonProperty("values")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ private List values = new ArrayList<>();
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public CatalogSourceSpecGPCANAPDSIDEPMatchFields() {
+ }
+
+ public CatalogSourceSpecGPCANAPDSIDEPMatchFields(String key, String operator, List values) {
+ super();
+ this.key = key;
+ this.operator = operator;
+ this.values = values;
+ }
+
+ @JsonProperty("key")
+ public String getKey() {
+ return key;
+ }
+
+ @JsonProperty("key")
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ @JsonProperty("operator")
+ public String getOperator() {
+ return operator;
+ }
+
+ @JsonProperty("operator")
+ public void setOperator(String operator) {
+ this.operator = operator;
+ }
+
+ @JsonProperty("values")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ public List getValues() {
+ return values;
+ }
+
+ @JsonProperty("values")
+ public void setValues(List values) {
+ this.values = values;
+ }
+
+ @JsonIgnore
+ public CatalogSourceSpecGPCANAPDSIDEPMatchFieldsBuilder edit() {
+ return new CatalogSourceSpecGPCANAPDSIDEPMatchFieldsBuilder(this);
+ }
+
+ @JsonIgnore
+ public CatalogSourceSpecGPCANAPDSIDEPMatchFieldsBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCANAPDSIDEPreference.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCANAPDSIDEPreference.java
new file mode 100644
index 00000000000..8169ca31787
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCANAPDSIDEPreference.java
@@ -0,0 +1,128 @@
+
+package io.fabric8.openshift.api.model.operatorhub.v1alpha1;
+
+import java.util.ArrayList;
+import java.util.LinkedHashMap;
+import java.util.List;
+import java.util.Map;
+import javax.annotation.Generated;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import io.fabric8.kubernetes.api.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+import io.fabric8.kubernetes.api.model.IntOrString;
+import io.fabric8.kubernetes.api.model.KubernetesResource;
+import io.fabric8.kubernetes.api.model.LabelSelector;
+import io.fabric8.kubernetes.api.model.LocalObjectReference;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
+import io.fabric8.kubernetes.api.model.ObjectReference;
+import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
+import io.fabric8.kubernetes.api.model.PodTemplateSpec;
+import io.fabric8.kubernetes.api.model.ResourceRequirements;
+import io.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "matchExpressions",
+ "matchFields"
+})
+@ToString
+@EqualsAndHashCode
+@Accessors(prefix = {
+ "_",
+ ""
+})
+@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
+ @BuildableReference(ObjectMeta.class),
+ @BuildableReference(LabelSelector.class),
+ @BuildableReference(Container.class),
+ @BuildableReference(PodTemplateSpec.class),
+ @BuildableReference(ResourceRequirements.class),
+ @BuildableReference(IntOrString.class),
+ @BuildableReference(ObjectReference.class),
+ @BuildableReference(LocalObjectReference.class),
+ @BuildableReference(PersistentVolumeClaim.class)
+})
+@Generated("jsonschema2pojo")
+public class CatalogSourceSpecGPCANAPDSIDEPreference implements Editable , KubernetesResource
+{
+
+ @JsonProperty("matchExpressions")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ private List matchExpressions = new ArrayList<>();
+ @JsonProperty("matchFields")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ private List matchFields = new ArrayList<>();
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public CatalogSourceSpecGPCANAPDSIDEPreference() {
+ }
+
+ public CatalogSourceSpecGPCANAPDSIDEPreference(List matchExpressions, List matchFields) {
+ super();
+ this.matchExpressions = matchExpressions;
+ this.matchFields = matchFields;
+ }
+
+ @JsonProperty("matchExpressions")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ public List getMatchExpressions() {
+ return matchExpressions;
+ }
+
+ @JsonProperty("matchExpressions")
+ public void setMatchExpressions(List matchExpressions) {
+ this.matchExpressions = matchExpressions;
+ }
+
+ @JsonProperty("matchFields")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ public List getMatchFields() {
+ return matchFields;
+ }
+
+ @JsonProperty("matchFields")
+ public void setMatchFields(List matchFields) {
+ this.matchFields = matchFields;
+ }
+
+ @JsonIgnore
+ public CatalogSourceSpecGPCANAPDSIDEPreferenceBuilder edit() {
+ return new CatalogSourceSpecGPCANAPDSIDEPreferenceBuilder(this);
+ }
+
+ @JsonIgnore
+ public CatalogSourceSpecGPCANAPDSIDEPreferenceBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCANAPreferredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCANAPreferredDuringSchedulingIgnoredDuringExecution.java
new file mode 100644
index 00000000000..75302058003
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCANAPreferredDuringSchedulingIgnoredDuringExecution.java
@@ -0,0 +1,122 @@
+
+package io.fabric8.openshift.api.model.operatorhub.v1alpha1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import io.fabric8.kubernetes.api.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+import io.fabric8.kubernetes.api.model.IntOrString;
+import io.fabric8.kubernetes.api.model.KubernetesResource;
+import io.fabric8.kubernetes.api.model.LabelSelector;
+import io.fabric8.kubernetes.api.model.LocalObjectReference;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
+import io.fabric8.kubernetes.api.model.ObjectReference;
+import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
+import io.fabric8.kubernetes.api.model.PodTemplateSpec;
+import io.fabric8.kubernetes.api.model.ResourceRequirements;
+import io.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "preference",
+ "weight"
+})
+@ToString
+@EqualsAndHashCode
+@Accessors(prefix = {
+ "_",
+ ""
+})
+@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
+ @BuildableReference(ObjectMeta.class),
+ @BuildableReference(LabelSelector.class),
+ @BuildableReference(Container.class),
+ @BuildableReference(PodTemplateSpec.class),
+ @BuildableReference(ResourceRequirements.class),
+ @BuildableReference(IntOrString.class),
+ @BuildableReference(ObjectReference.class),
+ @BuildableReference(LocalObjectReference.class),
+ @BuildableReference(PersistentVolumeClaim.class)
+})
+@Generated("jsonschema2pojo")
+public class CatalogSourceSpecGPCANAPreferredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource
+{
+
+ @JsonProperty("preference")
+ private CatalogSourceSpecGPCANAPDSIDEPreference preference;
+ @JsonProperty("weight")
+ private Integer weight;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap