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(); + + /** + * No args constructor for use in serialization + * + */ + public CatalogSourceSpecGPCANAPreferredDuringSchedulingIgnoredDuringExecution() { + } + + public CatalogSourceSpecGPCANAPreferredDuringSchedulingIgnoredDuringExecution(CatalogSourceSpecGPCANAPDSIDEPreference preference, Integer weight) { + super(); + this.preference = preference; + this.weight = weight; + } + + @JsonProperty("preference") + public CatalogSourceSpecGPCANAPDSIDEPreference getPreference() { + return preference; + } + + @JsonProperty("preference") + public void setPreference(CatalogSourceSpecGPCANAPDSIDEPreference preference) { + this.preference = preference; + } + + @JsonProperty("weight") + public Integer getWeight() { + return weight; + } + + @JsonProperty("weight") + public void setWeight(Integer weight) { + this.weight = weight; + } + + @JsonIgnore + public CatalogSourceSpecGPCANAPreferredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new CatalogSourceSpecGPCANAPreferredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCANAPreferredDuringSchedulingIgnoredDuringExecutionBuilder 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/CatalogSourceSpecGPCANARDSIDENSTMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCANARDSIDENSTMatchExpressions.java new file mode 100644 index 00000000000..ff11027f3ad --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCANARDSIDENSTMatchExpressions.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 CatalogSourceSpecGPCANARDSIDENSTMatchExpressions 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 CatalogSourceSpecGPCANARDSIDENSTMatchExpressions() { + } + + public CatalogSourceSpecGPCANARDSIDENSTMatchExpressions(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 CatalogSourceSpecGPCANARDSIDENSTMatchExpressionsBuilder edit() { + return new CatalogSourceSpecGPCANARDSIDENSTMatchExpressionsBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCANARDSIDENSTMatchExpressionsBuilder 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/CatalogSourceSpecGPCANARDSIDENSTMatchFields.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCANARDSIDENSTMatchFields.java new file mode 100644 index 00000000000..c9e0ef56a1e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCANARDSIDENSTMatchFields.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 CatalogSourceSpecGPCANARDSIDENSTMatchFields 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 CatalogSourceSpecGPCANARDSIDENSTMatchFields() { + } + + public CatalogSourceSpecGPCANARDSIDENSTMatchFields(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 CatalogSourceSpecGPCANARDSIDENSTMatchFieldsBuilder edit() { + return new CatalogSourceSpecGPCANARDSIDENSTMatchFieldsBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCANARDSIDENSTMatchFieldsBuilder 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/CatalogSourceSpecGPCANARDSIDENodeSelectorTerms.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCANARDSIDENodeSelectorTerms.java new file mode 100644 index 00000000000..e2b7de59ec0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCANARDSIDENodeSelectorTerms.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 CatalogSourceSpecGPCANARDSIDENodeSelectorTerms 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 CatalogSourceSpecGPCANARDSIDENodeSelectorTerms() { + } + + public CatalogSourceSpecGPCANARDSIDENodeSelectorTerms(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 CatalogSourceSpecGPCANARDSIDENodeSelectorTermsBuilder edit() { + return new CatalogSourceSpecGPCANARDSIDENodeSelectorTermsBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCANARDSIDENodeSelectorTermsBuilder 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/CatalogSourceSpecGPCANARequiredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCANARequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..672a8f25ff5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCANARequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,112 @@ + +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({ + "nodeSelectorTerms" +}) +@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 CatalogSourceSpecGPCANARequiredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("nodeSelectorTerms") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List nodeSelectorTerms = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public CatalogSourceSpecGPCANARequiredDuringSchedulingIgnoredDuringExecution() { + } + + public CatalogSourceSpecGPCANARequiredDuringSchedulingIgnoredDuringExecution(List nodeSelectorTerms) { + super(); + this.nodeSelectorTerms = nodeSelectorTerms; + } + + @JsonProperty("nodeSelectorTerms") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNodeSelectorTerms() { + return nodeSelectorTerms; + } + + @JsonProperty("nodeSelectorTerms") + public void setNodeSelectorTerms(List nodeSelectorTerms) { + this.nodeSelectorTerms = nodeSelectorTerms; + } + + @JsonIgnore + public CatalogSourceSpecGPCANARequiredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new CatalogSourceSpecGPCANARequiredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCANARequiredDuringSchedulingIgnoredDuringExecutionBuilder 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/CatalogSourceSpecGPCANodeAffinity.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCANodeAffinity.java new file mode 100644 index 00000000000..487464d1541 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCANodeAffinity.java @@ -0,0 +1,126 @@ + +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({ + "preferredDuringSchedulingIgnoredDuringExecution", + "requiredDuringSchedulingIgnoredDuringExecution" +}) +@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 CatalogSourceSpecGPCANodeAffinity implements Editable , KubernetesResource +{ + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List preferredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + private CatalogSourceSpecGPCANARequiredDuringSchedulingIgnoredDuringExecution requiredDuringSchedulingIgnoredDuringExecution; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public CatalogSourceSpecGPCANodeAffinity() { + } + + public CatalogSourceSpecGPCANodeAffinity(List preferredDuringSchedulingIgnoredDuringExecution, CatalogSourceSpecGPCANARequiredDuringSchedulingIgnoredDuringExecution requiredDuringSchedulingIgnoredDuringExecution) { + super(); + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + public void setPreferredDuringSchedulingIgnoredDuringExecution(List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + public CatalogSourceSpecGPCANARequiredDuringSchedulingIgnoredDuringExecution getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + public void setRequiredDuringSchedulingIgnoredDuringExecution(CatalogSourceSpecGPCANARequiredDuringSchedulingIgnoredDuringExecution requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonIgnore + public CatalogSourceSpecGPCANodeAffinityBuilder edit() { + return new CatalogSourceSpecGPCANodeAffinityBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCANodeAffinityBuilder 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/CatalogSourceSpecGPCAPAAPDSIDEPATLSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAAPDSIDEPATLSMatchExpressions.java new file mode 100644 index 00000000000..d7c09ab259d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAAPDSIDEPATLSMatchExpressions.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 CatalogSourceSpecGPCAPAAPDSIDEPATLSMatchExpressions 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 CatalogSourceSpecGPCAPAAPDSIDEPATLSMatchExpressions() { + } + + public CatalogSourceSpecGPCAPAAPDSIDEPATLSMatchExpressions(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 CatalogSourceSpecGPCAPAAPDSIDEPATLSMatchExpressionsBuilder edit() { + return new CatalogSourceSpecGPCAPAAPDSIDEPATLSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCAPAAPDSIDEPATLSMatchExpressionsBuilder 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/CatalogSourceSpecGPCAPAAPDSIDEPATLabelSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAAPDSIDEPATLabelSelector.java new file mode 100644 index 00000000000..2307b52e325 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAAPDSIDEPATLabelSelector.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", + "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 CatalogSourceSpecGPCAPAAPDSIDEPATLabelSelector 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 CatalogSourceSpecGPCAPAAPDSIDEPATLabelSelector() { + } + + public CatalogSourceSpecGPCAPAAPDSIDEPATLabelSelector(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 CatalogSourceSpecGPCAPAAPDSIDEPATLabelSelectorBuilder edit() { + return new CatalogSourceSpecGPCAPAAPDSIDEPATLabelSelectorBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCAPAAPDSIDEPATLabelSelectorBuilder 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/CatalogSourceSpecGPCAPAAPDSIDEPATNSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAAPDSIDEPATNSMatchExpressions.java new file mode 100644 index 00000000000..6cb5ec3de0e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAAPDSIDEPATNSMatchExpressions.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 CatalogSourceSpecGPCAPAAPDSIDEPATNSMatchExpressions 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 CatalogSourceSpecGPCAPAAPDSIDEPATNSMatchExpressions() { + } + + public CatalogSourceSpecGPCAPAAPDSIDEPATNSMatchExpressions(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 CatalogSourceSpecGPCAPAAPDSIDEPATNSMatchExpressionsBuilder edit() { + return new CatalogSourceSpecGPCAPAAPDSIDEPATNSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCAPAAPDSIDEPATNSMatchExpressionsBuilder 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/CatalogSourceSpecGPCAPAAPDSIDEPATNamespaceSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAAPDSIDEPATNamespaceSelector.java new file mode 100644 index 00000000000..e33c0a8f65f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAAPDSIDEPATNamespaceSelector.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", + "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 CatalogSourceSpecGPCAPAAPDSIDEPATNamespaceSelector 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 CatalogSourceSpecGPCAPAAPDSIDEPATNamespaceSelector() { + } + + public CatalogSourceSpecGPCAPAAPDSIDEPATNamespaceSelector(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 CatalogSourceSpecGPCAPAAPDSIDEPATNamespaceSelectorBuilder edit() { + return new CatalogSourceSpecGPCAPAAPDSIDEPATNamespaceSelectorBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCAPAAPDSIDEPATNamespaceSelectorBuilder 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/CatalogSourceSpecGPCAPAAPDSIDEPodAffinityTerm.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAAPDSIDEPodAffinityTerm.java new file mode 100644 index 00000000000..d721a2fe2a3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAAPDSIDEPodAffinityTerm.java @@ -0,0 +1,186 @@ + +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({ + "labelSelector", + "matchLabelKeys", + "mismatchLabelKeys", + "namespaceSelector", + "namespaces", + "topologyKey" +}) +@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 CatalogSourceSpecGPCAPAAPDSIDEPodAffinityTerm implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private CatalogSourceSpecGPCAPAAPDSIDEPATLabelSelector labelSelector; + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchLabelKeys = new ArrayList<>(); + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List mismatchLabelKeys = new ArrayList<>(); + @JsonProperty("namespaceSelector") + private CatalogSourceSpecGPCAPAAPDSIDEPATNamespaceSelector namespaceSelector; + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List namespaces = new ArrayList<>(); + @JsonProperty("topologyKey") + private String topologyKey; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public CatalogSourceSpecGPCAPAAPDSIDEPodAffinityTerm() { + } + + public CatalogSourceSpecGPCAPAAPDSIDEPodAffinityTerm(CatalogSourceSpecGPCAPAAPDSIDEPATLabelSelector labelSelector, List matchLabelKeys, List mismatchLabelKeys, CatalogSourceSpecGPCAPAAPDSIDEPATNamespaceSelector namespaceSelector, List namespaces, String topologyKey) { + super(); + this.labelSelector = labelSelector; + this.matchLabelKeys = matchLabelKeys; + this.mismatchLabelKeys = mismatchLabelKeys; + this.namespaceSelector = namespaceSelector; + this.namespaces = namespaces; + this.topologyKey = topologyKey; + } + + @JsonProperty("labelSelector") + public CatalogSourceSpecGPCAPAAPDSIDEPATLabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(CatalogSourceSpecGPCAPAAPDSIDEPATLabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchLabelKeys() { + return matchLabelKeys; + } + + @JsonProperty("matchLabelKeys") + public void setMatchLabelKeys(List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMismatchLabelKeys() { + return mismatchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + public void setMismatchLabelKeys(List mismatchLabelKeys) { + this.mismatchLabelKeys = mismatchLabelKeys; + } + + @JsonProperty("namespaceSelector") + public CatalogSourceSpecGPCAPAAPDSIDEPATNamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + @JsonProperty("namespaceSelector") + public void setNamespaceSelector(CatalogSourceSpecGPCAPAAPDSIDEPATNamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNamespaces() { + return namespaces; + } + + @JsonProperty("namespaces") + public void setNamespaces(List namespaces) { + this.namespaces = namespaces; + } + + @JsonProperty("topologyKey") + public String getTopologyKey() { + return topologyKey; + } + + @JsonProperty("topologyKey") + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @JsonIgnore + public CatalogSourceSpecGPCAPAAPDSIDEPodAffinityTermBuilder edit() { + return new CatalogSourceSpecGPCAPAAPDSIDEPodAffinityTermBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCAPAAPDSIDEPodAffinityTermBuilder 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/CatalogSourceSpecGPCAPAAPreferredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAAPreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..c97915947f5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAAPreferredDuringSchedulingIgnoredDuringExecution.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({ + "podAffinityTerm", + "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 CatalogSourceSpecGPCAPAAPreferredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("podAffinityTerm") + private CatalogSourceSpecGPCAPAAPDSIDEPodAffinityTerm podAffinityTerm; + @JsonProperty("weight") + private Integer weight; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public CatalogSourceSpecGPCAPAAPreferredDuringSchedulingIgnoredDuringExecution() { + } + + public CatalogSourceSpecGPCAPAAPreferredDuringSchedulingIgnoredDuringExecution(CatalogSourceSpecGPCAPAAPDSIDEPodAffinityTerm podAffinityTerm, Integer weight) { + super(); + this.podAffinityTerm = podAffinityTerm; + this.weight = weight; + } + + @JsonProperty("podAffinityTerm") + public CatalogSourceSpecGPCAPAAPDSIDEPodAffinityTerm getPodAffinityTerm() { + return podAffinityTerm; + } + + @JsonProperty("podAffinityTerm") + public void setPodAffinityTerm(CatalogSourceSpecGPCAPAAPDSIDEPodAffinityTerm podAffinityTerm) { + this.podAffinityTerm = podAffinityTerm; + } + + @JsonProperty("weight") + public Integer getWeight() { + return weight; + } + + @JsonProperty("weight") + public void setWeight(Integer weight) { + this.weight = weight; + } + + @JsonIgnore + public CatalogSourceSpecGPCAPAAPreferredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new CatalogSourceSpecGPCAPAAPreferredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCAPAAPreferredDuringSchedulingIgnoredDuringExecutionBuilder 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/CatalogSourceSpecGPCAPAARDSIDELSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAARDSIDELSMatchExpressions.java new file mode 100644 index 00000000000..507fca8f33b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAARDSIDELSMatchExpressions.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 CatalogSourceSpecGPCAPAARDSIDELSMatchExpressions 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 CatalogSourceSpecGPCAPAARDSIDELSMatchExpressions() { + } + + public CatalogSourceSpecGPCAPAARDSIDELSMatchExpressions(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 CatalogSourceSpecGPCAPAARDSIDELSMatchExpressionsBuilder edit() { + return new CatalogSourceSpecGPCAPAARDSIDELSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCAPAARDSIDELSMatchExpressionsBuilder 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/CatalogSourceSpecGPCAPAARDSIDELabelSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAARDSIDELabelSelector.java new file mode 100644 index 00000000000..10d56adb2ab --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAARDSIDELabelSelector.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", + "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 CatalogSourceSpecGPCAPAARDSIDELabelSelector 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 CatalogSourceSpecGPCAPAARDSIDELabelSelector() { + } + + public CatalogSourceSpecGPCAPAARDSIDELabelSelector(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 CatalogSourceSpecGPCAPAARDSIDELabelSelectorBuilder edit() { + return new CatalogSourceSpecGPCAPAARDSIDELabelSelectorBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCAPAARDSIDELabelSelectorBuilder 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/CatalogSourceSpecGPCAPAARDSIDENSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAARDSIDENSMatchExpressions.java new file mode 100644 index 00000000000..5fc1afe2b7e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAARDSIDENSMatchExpressions.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 CatalogSourceSpecGPCAPAARDSIDENSMatchExpressions 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 CatalogSourceSpecGPCAPAARDSIDENSMatchExpressions() { + } + + public CatalogSourceSpecGPCAPAARDSIDENSMatchExpressions(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 CatalogSourceSpecGPCAPAARDSIDENSMatchExpressionsBuilder edit() { + return new CatalogSourceSpecGPCAPAARDSIDENSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCAPAARDSIDENSMatchExpressionsBuilder 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/CatalogSourceSpecGPCAPAARDSIDENamespaceSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAARDSIDENamespaceSelector.java new file mode 100644 index 00000000000..3c19be0c22d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAARDSIDENamespaceSelector.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", + "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 CatalogSourceSpecGPCAPAARDSIDENamespaceSelector 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 CatalogSourceSpecGPCAPAARDSIDENamespaceSelector() { + } + + public CatalogSourceSpecGPCAPAARDSIDENamespaceSelector(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 CatalogSourceSpecGPCAPAARDSIDENamespaceSelectorBuilder edit() { + return new CatalogSourceSpecGPCAPAARDSIDENamespaceSelectorBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCAPAARDSIDENamespaceSelectorBuilder 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/CatalogSourceSpecGPCAPAARequiredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAARequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..0a7528980de --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAARequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,186 @@ + +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({ + "labelSelector", + "matchLabelKeys", + "mismatchLabelKeys", + "namespaceSelector", + "namespaces", + "topologyKey" +}) +@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 CatalogSourceSpecGPCAPAARequiredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private CatalogSourceSpecGPCAPAARDSIDELabelSelector labelSelector; + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchLabelKeys = new ArrayList<>(); + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List mismatchLabelKeys = new ArrayList<>(); + @JsonProperty("namespaceSelector") + private CatalogSourceSpecGPCAPAARDSIDENamespaceSelector namespaceSelector; + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List namespaces = new ArrayList<>(); + @JsonProperty("topologyKey") + private String topologyKey; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public CatalogSourceSpecGPCAPAARequiredDuringSchedulingIgnoredDuringExecution() { + } + + public CatalogSourceSpecGPCAPAARequiredDuringSchedulingIgnoredDuringExecution(CatalogSourceSpecGPCAPAARDSIDELabelSelector labelSelector, List matchLabelKeys, List mismatchLabelKeys, CatalogSourceSpecGPCAPAARDSIDENamespaceSelector namespaceSelector, List namespaces, String topologyKey) { + super(); + this.labelSelector = labelSelector; + this.matchLabelKeys = matchLabelKeys; + this.mismatchLabelKeys = mismatchLabelKeys; + this.namespaceSelector = namespaceSelector; + this.namespaces = namespaces; + this.topologyKey = topologyKey; + } + + @JsonProperty("labelSelector") + public CatalogSourceSpecGPCAPAARDSIDELabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(CatalogSourceSpecGPCAPAARDSIDELabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchLabelKeys() { + return matchLabelKeys; + } + + @JsonProperty("matchLabelKeys") + public void setMatchLabelKeys(List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMismatchLabelKeys() { + return mismatchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + public void setMismatchLabelKeys(List mismatchLabelKeys) { + this.mismatchLabelKeys = mismatchLabelKeys; + } + + @JsonProperty("namespaceSelector") + public CatalogSourceSpecGPCAPAARDSIDENamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + @JsonProperty("namespaceSelector") + public void setNamespaceSelector(CatalogSourceSpecGPCAPAARDSIDENamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNamespaces() { + return namespaces; + } + + @JsonProperty("namespaces") + public void setNamespaces(List namespaces) { + this.namespaces = namespaces; + } + + @JsonProperty("topologyKey") + public String getTopologyKey() { + return topologyKey; + } + + @JsonProperty("topologyKey") + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @JsonIgnore + public CatalogSourceSpecGPCAPAARequiredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new CatalogSourceSpecGPCAPAARequiredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCAPAARequiredDuringSchedulingIgnoredDuringExecutionBuilder 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/CatalogSourceSpecGPCAPAPDSIDEPATLSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAPDSIDEPATLSMatchExpressions.java new file mode 100644 index 00000000000..42a5c780826 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAPDSIDEPATLSMatchExpressions.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 CatalogSourceSpecGPCAPAPDSIDEPATLSMatchExpressions 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 CatalogSourceSpecGPCAPAPDSIDEPATLSMatchExpressions() { + } + + public CatalogSourceSpecGPCAPAPDSIDEPATLSMatchExpressions(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 CatalogSourceSpecGPCAPAPDSIDEPATLSMatchExpressionsBuilder edit() { + return new CatalogSourceSpecGPCAPAPDSIDEPATLSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCAPAPDSIDEPATLSMatchExpressionsBuilder 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/CatalogSourceSpecGPCAPAPDSIDEPATLabelSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAPDSIDEPATLabelSelector.java new file mode 100644 index 00000000000..23e4d3be690 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAPDSIDEPATLabelSelector.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", + "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 CatalogSourceSpecGPCAPAPDSIDEPATLabelSelector 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 CatalogSourceSpecGPCAPAPDSIDEPATLabelSelector() { + } + + public CatalogSourceSpecGPCAPAPDSIDEPATLabelSelector(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 CatalogSourceSpecGPCAPAPDSIDEPATLabelSelectorBuilder edit() { + return new CatalogSourceSpecGPCAPAPDSIDEPATLabelSelectorBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCAPAPDSIDEPATLabelSelectorBuilder 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/CatalogSourceSpecGPCAPAPDSIDEPATNSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAPDSIDEPATNSMatchExpressions.java new file mode 100644 index 00000000000..16363abc22f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAPDSIDEPATNSMatchExpressions.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 CatalogSourceSpecGPCAPAPDSIDEPATNSMatchExpressions 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 CatalogSourceSpecGPCAPAPDSIDEPATNSMatchExpressions() { + } + + public CatalogSourceSpecGPCAPAPDSIDEPATNSMatchExpressions(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 CatalogSourceSpecGPCAPAPDSIDEPATNSMatchExpressionsBuilder edit() { + return new CatalogSourceSpecGPCAPAPDSIDEPATNSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCAPAPDSIDEPATNSMatchExpressionsBuilder 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/CatalogSourceSpecGPCAPAPDSIDEPATNamespaceSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAPDSIDEPATNamespaceSelector.java new file mode 100644 index 00000000000..7c129e85124 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAPDSIDEPATNamespaceSelector.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", + "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 CatalogSourceSpecGPCAPAPDSIDEPATNamespaceSelector 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 CatalogSourceSpecGPCAPAPDSIDEPATNamespaceSelector() { + } + + public CatalogSourceSpecGPCAPAPDSIDEPATNamespaceSelector(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 CatalogSourceSpecGPCAPAPDSIDEPATNamespaceSelectorBuilder edit() { + return new CatalogSourceSpecGPCAPAPDSIDEPATNamespaceSelectorBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCAPAPDSIDEPATNamespaceSelectorBuilder 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/CatalogSourceSpecGPCAPAPDSIDEPodAffinityTerm.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAPDSIDEPodAffinityTerm.java new file mode 100644 index 00000000000..a5d6b3338d9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAPDSIDEPodAffinityTerm.java @@ -0,0 +1,186 @@ + +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({ + "labelSelector", + "matchLabelKeys", + "mismatchLabelKeys", + "namespaceSelector", + "namespaces", + "topologyKey" +}) +@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 CatalogSourceSpecGPCAPAPDSIDEPodAffinityTerm implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private CatalogSourceSpecGPCAPAPDSIDEPATLabelSelector labelSelector; + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchLabelKeys = new ArrayList<>(); + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List mismatchLabelKeys = new ArrayList<>(); + @JsonProperty("namespaceSelector") + private CatalogSourceSpecGPCAPAPDSIDEPATNamespaceSelector namespaceSelector; + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List namespaces = new ArrayList<>(); + @JsonProperty("topologyKey") + private String topologyKey; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public CatalogSourceSpecGPCAPAPDSIDEPodAffinityTerm() { + } + + public CatalogSourceSpecGPCAPAPDSIDEPodAffinityTerm(CatalogSourceSpecGPCAPAPDSIDEPATLabelSelector labelSelector, List matchLabelKeys, List mismatchLabelKeys, CatalogSourceSpecGPCAPAPDSIDEPATNamespaceSelector namespaceSelector, List namespaces, String topologyKey) { + super(); + this.labelSelector = labelSelector; + this.matchLabelKeys = matchLabelKeys; + this.mismatchLabelKeys = mismatchLabelKeys; + this.namespaceSelector = namespaceSelector; + this.namespaces = namespaces; + this.topologyKey = topologyKey; + } + + @JsonProperty("labelSelector") + public CatalogSourceSpecGPCAPAPDSIDEPATLabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(CatalogSourceSpecGPCAPAPDSIDEPATLabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchLabelKeys() { + return matchLabelKeys; + } + + @JsonProperty("matchLabelKeys") + public void setMatchLabelKeys(List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMismatchLabelKeys() { + return mismatchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + public void setMismatchLabelKeys(List mismatchLabelKeys) { + this.mismatchLabelKeys = mismatchLabelKeys; + } + + @JsonProperty("namespaceSelector") + public CatalogSourceSpecGPCAPAPDSIDEPATNamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + @JsonProperty("namespaceSelector") + public void setNamespaceSelector(CatalogSourceSpecGPCAPAPDSIDEPATNamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNamespaces() { + return namespaces; + } + + @JsonProperty("namespaces") + public void setNamespaces(List namespaces) { + this.namespaces = namespaces; + } + + @JsonProperty("topologyKey") + public String getTopologyKey() { + return topologyKey; + } + + @JsonProperty("topologyKey") + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @JsonIgnore + public CatalogSourceSpecGPCAPAPDSIDEPodAffinityTermBuilder edit() { + return new CatalogSourceSpecGPCAPAPDSIDEPodAffinityTermBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCAPAPDSIDEPodAffinityTermBuilder 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/CatalogSourceSpecGPCAPAPreferredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAPreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..0222e725829 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPAPreferredDuringSchedulingIgnoredDuringExecution.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({ + "podAffinityTerm", + "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 CatalogSourceSpecGPCAPAPreferredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("podAffinityTerm") + private CatalogSourceSpecGPCAPAPDSIDEPodAffinityTerm podAffinityTerm; + @JsonProperty("weight") + private Integer weight; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public CatalogSourceSpecGPCAPAPreferredDuringSchedulingIgnoredDuringExecution() { + } + + public CatalogSourceSpecGPCAPAPreferredDuringSchedulingIgnoredDuringExecution(CatalogSourceSpecGPCAPAPDSIDEPodAffinityTerm podAffinityTerm, Integer weight) { + super(); + this.podAffinityTerm = podAffinityTerm; + this.weight = weight; + } + + @JsonProperty("podAffinityTerm") + public CatalogSourceSpecGPCAPAPDSIDEPodAffinityTerm getPodAffinityTerm() { + return podAffinityTerm; + } + + @JsonProperty("podAffinityTerm") + public void setPodAffinityTerm(CatalogSourceSpecGPCAPAPDSIDEPodAffinityTerm podAffinityTerm) { + this.podAffinityTerm = podAffinityTerm; + } + + @JsonProperty("weight") + public Integer getWeight() { + return weight; + } + + @JsonProperty("weight") + public void setWeight(Integer weight) { + this.weight = weight; + } + + @JsonIgnore + public CatalogSourceSpecGPCAPAPreferredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new CatalogSourceSpecGPCAPAPreferredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCAPAPreferredDuringSchedulingIgnoredDuringExecutionBuilder 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/CatalogSourceSpecGPCAPARDSIDELSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPARDSIDELSMatchExpressions.java new file mode 100644 index 00000000000..bd4f5629755 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPARDSIDELSMatchExpressions.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 CatalogSourceSpecGPCAPARDSIDELSMatchExpressions 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 CatalogSourceSpecGPCAPARDSIDELSMatchExpressions() { + } + + public CatalogSourceSpecGPCAPARDSIDELSMatchExpressions(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 CatalogSourceSpecGPCAPARDSIDELSMatchExpressionsBuilder edit() { + return new CatalogSourceSpecGPCAPARDSIDELSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCAPARDSIDELSMatchExpressionsBuilder 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/CatalogSourceSpecGPCAPARDSIDELabelSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPARDSIDELabelSelector.java new file mode 100644 index 00000000000..06913e9829f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPARDSIDELabelSelector.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", + "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 CatalogSourceSpecGPCAPARDSIDELabelSelector 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 CatalogSourceSpecGPCAPARDSIDELabelSelector() { + } + + public CatalogSourceSpecGPCAPARDSIDELabelSelector(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 CatalogSourceSpecGPCAPARDSIDELabelSelectorBuilder edit() { + return new CatalogSourceSpecGPCAPARDSIDELabelSelectorBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCAPARDSIDELabelSelectorBuilder 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/CatalogSourceSpecGPCAPARDSIDENSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPARDSIDENSMatchExpressions.java new file mode 100644 index 00000000000..9fd49d74712 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPARDSIDENSMatchExpressions.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 CatalogSourceSpecGPCAPARDSIDENSMatchExpressions 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 CatalogSourceSpecGPCAPARDSIDENSMatchExpressions() { + } + + public CatalogSourceSpecGPCAPARDSIDENSMatchExpressions(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 CatalogSourceSpecGPCAPARDSIDENSMatchExpressionsBuilder edit() { + return new CatalogSourceSpecGPCAPARDSIDENSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCAPARDSIDENSMatchExpressionsBuilder 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/CatalogSourceSpecGPCAPARDSIDENamespaceSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPARDSIDENamespaceSelector.java new file mode 100644 index 00000000000..30b927d7804 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPARDSIDENamespaceSelector.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", + "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 CatalogSourceSpecGPCAPARDSIDENamespaceSelector 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 CatalogSourceSpecGPCAPARDSIDENamespaceSelector() { + } + + public CatalogSourceSpecGPCAPARDSIDENamespaceSelector(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 CatalogSourceSpecGPCAPARDSIDENamespaceSelectorBuilder edit() { + return new CatalogSourceSpecGPCAPARDSIDENamespaceSelectorBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCAPARDSIDENamespaceSelectorBuilder 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/CatalogSourceSpecGPCAPARequiredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPARequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..ce83e00e715 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPARequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,186 @@ + +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({ + "labelSelector", + "matchLabelKeys", + "mismatchLabelKeys", + "namespaceSelector", + "namespaces", + "topologyKey" +}) +@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 CatalogSourceSpecGPCAPARequiredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private CatalogSourceSpecGPCAPARDSIDELabelSelector labelSelector; + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchLabelKeys = new ArrayList<>(); + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List mismatchLabelKeys = new ArrayList<>(); + @JsonProperty("namespaceSelector") + private CatalogSourceSpecGPCAPARDSIDENamespaceSelector namespaceSelector; + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List namespaces = new ArrayList<>(); + @JsonProperty("topologyKey") + private String topologyKey; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public CatalogSourceSpecGPCAPARequiredDuringSchedulingIgnoredDuringExecution() { + } + + public CatalogSourceSpecGPCAPARequiredDuringSchedulingIgnoredDuringExecution(CatalogSourceSpecGPCAPARDSIDELabelSelector labelSelector, List matchLabelKeys, List mismatchLabelKeys, CatalogSourceSpecGPCAPARDSIDENamespaceSelector namespaceSelector, List namespaces, String topologyKey) { + super(); + this.labelSelector = labelSelector; + this.matchLabelKeys = matchLabelKeys; + this.mismatchLabelKeys = mismatchLabelKeys; + this.namespaceSelector = namespaceSelector; + this.namespaces = namespaces; + this.topologyKey = topologyKey; + } + + @JsonProperty("labelSelector") + public CatalogSourceSpecGPCAPARDSIDELabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(CatalogSourceSpecGPCAPARDSIDELabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchLabelKeys() { + return matchLabelKeys; + } + + @JsonProperty("matchLabelKeys") + public void setMatchLabelKeys(List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMismatchLabelKeys() { + return mismatchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + public void setMismatchLabelKeys(List mismatchLabelKeys) { + this.mismatchLabelKeys = mismatchLabelKeys; + } + + @JsonProperty("namespaceSelector") + public CatalogSourceSpecGPCAPARDSIDENamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + @JsonProperty("namespaceSelector") + public void setNamespaceSelector(CatalogSourceSpecGPCAPARDSIDENamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNamespaces() { + return namespaces; + } + + @JsonProperty("namespaces") + public void setNamespaces(List namespaces) { + this.namespaces = namespaces; + } + + @JsonProperty("topologyKey") + public String getTopologyKey() { + return topologyKey; + } + + @JsonProperty("topologyKey") + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @JsonIgnore + public CatalogSourceSpecGPCAPARequiredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new CatalogSourceSpecGPCAPARequiredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCAPARequiredDuringSchedulingIgnoredDuringExecutionBuilder 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/CatalogSourceSpecGPCAPodAffinity.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPodAffinity.java new file mode 100644 index 00000000000..0a8c3b05e10 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPodAffinity.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({ + "preferredDuringSchedulingIgnoredDuringExecution", + "requiredDuringSchedulingIgnoredDuringExecution" +}) +@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 CatalogSourceSpecGPCAPodAffinity implements Editable , KubernetesResource +{ + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List preferredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List requiredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public CatalogSourceSpecGPCAPodAffinity() { + } + + public CatalogSourceSpecGPCAPodAffinity(List preferredDuringSchedulingIgnoredDuringExecution, List requiredDuringSchedulingIgnoredDuringExecution) { + super(); + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + public void setPreferredDuringSchedulingIgnoredDuringExecution(List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + public void setRequiredDuringSchedulingIgnoredDuringExecution(List requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonIgnore + public CatalogSourceSpecGPCAPodAffinityBuilder edit() { + return new CatalogSourceSpecGPCAPodAffinityBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCAPodAffinityBuilder 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/CatalogSourceSpecGPCAPodAntiAffinity.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPodAntiAffinity.java new file mode 100644 index 00000000000..a7d3496ed85 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAPodAntiAffinity.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({ + "preferredDuringSchedulingIgnoredDuringExecution", + "requiredDuringSchedulingIgnoredDuringExecution" +}) +@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 CatalogSourceSpecGPCAPodAntiAffinity implements Editable , KubernetesResource +{ + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List preferredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List requiredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public CatalogSourceSpecGPCAPodAntiAffinity() { + } + + public CatalogSourceSpecGPCAPodAntiAffinity(List preferredDuringSchedulingIgnoredDuringExecution, List requiredDuringSchedulingIgnoredDuringExecution) { + super(); + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + public void setPreferredDuringSchedulingIgnoredDuringExecution(List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + public void setRequiredDuringSchedulingIgnoredDuringExecution(List requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonIgnore + public CatalogSourceSpecGPCAPodAntiAffinityBuilder edit() { + return new CatalogSourceSpecGPCAPodAntiAffinityBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCAPodAntiAffinityBuilder 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/CatalogSourceSpecGPCAffinity.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAffinity.java new file mode 100644 index 00000000000..8c87398b6b3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCAffinity.java @@ -0,0 +1,136 @@ + +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({ + "nodeAffinity", + "podAffinity", + "podAntiAffinity" +}) +@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 CatalogSourceSpecGPCAffinity implements Editable , KubernetesResource +{ + + @JsonProperty("nodeAffinity") + private CatalogSourceSpecGPCANodeAffinity nodeAffinity; + @JsonProperty("podAffinity") + private CatalogSourceSpecGPCAPodAffinity podAffinity; + @JsonProperty("podAntiAffinity") + private CatalogSourceSpecGPCAPodAntiAffinity podAntiAffinity; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public CatalogSourceSpecGPCAffinity() { + } + + public CatalogSourceSpecGPCAffinity(CatalogSourceSpecGPCANodeAffinity nodeAffinity, CatalogSourceSpecGPCAPodAffinity podAffinity, CatalogSourceSpecGPCAPodAntiAffinity podAntiAffinity) { + super(); + this.nodeAffinity = nodeAffinity; + this.podAffinity = podAffinity; + this.podAntiAffinity = podAntiAffinity; + } + + @JsonProperty("nodeAffinity") + public CatalogSourceSpecGPCANodeAffinity getNodeAffinity() { + return nodeAffinity; + } + + @JsonProperty("nodeAffinity") + public void setNodeAffinity(CatalogSourceSpecGPCANodeAffinity nodeAffinity) { + this.nodeAffinity = nodeAffinity; + } + + @JsonProperty("podAffinity") + public CatalogSourceSpecGPCAPodAffinity getPodAffinity() { + return podAffinity; + } + + @JsonProperty("podAffinity") + public void setPodAffinity(CatalogSourceSpecGPCAPodAffinity podAffinity) { + this.podAffinity = podAffinity; + } + + @JsonProperty("podAntiAffinity") + public CatalogSourceSpecGPCAPodAntiAffinity getPodAntiAffinity() { + return podAntiAffinity; + } + + @JsonProperty("podAntiAffinity") + public void setPodAntiAffinity(CatalogSourceSpecGPCAPodAntiAffinity podAntiAffinity) { + this.podAntiAffinity = podAntiAffinity; + } + + @JsonIgnore + public CatalogSourceSpecGPCAffinityBuilder edit() { + return new CatalogSourceSpecGPCAffinityBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCAffinityBuilder 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/CatalogSourceSpecGPCExtractContent.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCExtractContent.java new file mode 100644 index 00000000000..6256170d72e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCExtractContent.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({ + "cacheDir", + "catalogDir" +}) +@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 CatalogSourceSpecGPCExtractContent implements Editable , KubernetesResource +{ + + @JsonProperty("cacheDir") + private String cacheDir; + @JsonProperty("catalogDir") + private String catalogDir; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public CatalogSourceSpecGPCExtractContent() { + } + + public CatalogSourceSpecGPCExtractContent(String cacheDir, String catalogDir) { + super(); + this.cacheDir = cacheDir; + this.catalogDir = catalogDir; + } + + @JsonProperty("cacheDir") + public String getCacheDir() { + return cacheDir; + } + + @JsonProperty("cacheDir") + public void setCacheDir(String cacheDir) { + this.cacheDir = cacheDir; + } + + @JsonProperty("catalogDir") + public String getCatalogDir() { + return catalogDir; + } + + @JsonProperty("catalogDir") + public void setCatalogDir(String catalogDir) { + this.catalogDir = catalogDir; + } + + @JsonIgnore + public CatalogSourceSpecGPCExtractContentBuilder edit() { + return new CatalogSourceSpecGPCExtractContentBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCExtractContentBuilder 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/CatalogSourceSpecGPCTolerations.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCTolerations.java new file mode 100644 index 00000000000..76fc73fe45f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGPCTolerations.java @@ -0,0 +1,164 @@ + +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({ + "effect", + "key", + "operator", + "tolerationSeconds", + "value" +}) +@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 CatalogSourceSpecGPCTolerations implements Editable , KubernetesResource +{ + + @JsonProperty("effect") + private String effect; + @JsonProperty("key") + private String key; + @JsonProperty("operator") + private String operator; + @JsonProperty("tolerationSeconds") + private Long tolerationSeconds; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public CatalogSourceSpecGPCTolerations() { + } + + public CatalogSourceSpecGPCTolerations(String effect, String key, String operator, Long tolerationSeconds, String value) { + super(); + this.effect = effect; + this.key = key; + this.operator = operator; + this.tolerationSeconds = tolerationSeconds; + this.value = value; + } + + @JsonProperty("effect") + public String getEffect() { + return effect; + } + + @JsonProperty("effect") + public void setEffect(String effect) { + this.effect = effect; + } + + @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("tolerationSeconds") + public Long getTolerationSeconds() { + return tolerationSeconds; + } + + @JsonProperty("tolerationSeconds") + public void setTolerationSeconds(Long tolerationSeconds) { + this.tolerationSeconds = tolerationSeconds; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public CatalogSourceSpecGPCTolerationsBuilder edit() { + return new CatalogSourceSpecGPCTolerationsBuilder(this); + } + + @JsonIgnore + public CatalogSourceSpecGPCTolerationsBuilder 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/GrpcPodConfig.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGrpcPodConfig.java similarity index 70% rename from kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/GrpcPodConfig.java rename to kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGrpcPodConfig.java index 4792b04bd55..790c7b0d843 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/GrpcPodConfig.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecGrpcPodConfig.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.Affinity; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -25,7 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Toleration; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -36,6 +34,8 @@ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "affinity", + "extractContent", + "memoryTarget", "nodeSelector", "priorityClassName", "securityContextConfig", @@ -59,11 +59,16 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GrpcPodConfig implements Editable , KubernetesResource +public class CatalogSourceSpecGrpcPodConfig implements Editable , KubernetesResource { @JsonProperty("affinity") - private Affinity affinity; + private CatalogSourceSpecGPCAffinity affinity; + @JsonProperty("extractContent") + private CatalogSourceSpecGPCExtractContent extractContent; + @JsonProperty("memoryTarget") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object memoryTarget; @JsonProperty("nodeSelector") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map nodeSelector = new LinkedHashMap<>(); @@ -73,7 +78,7 @@ public class GrpcPodConfig implements Editable , Kubernete private String securityContextConfig; @JsonProperty("tolerations") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List tolerations = new ArrayList<>(); + private List tolerations = new ArrayList<>(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -81,12 +86,14 @@ public class GrpcPodConfig implements Editable , Kubernete * No args constructor for use in serialization * */ - public GrpcPodConfig() { + public CatalogSourceSpecGrpcPodConfig() { } - public GrpcPodConfig(Affinity affinity, Map nodeSelector, String priorityClassName, String securityContextConfig, List tolerations) { + public CatalogSourceSpecGrpcPodConfig(CatalogSourceSpecGPCAffinity affinity, CatalogSourceSpecGPCExtractContent extractContent, Object memoryTarget, Map nodeSelector, String priorityClassName, String securityContextConfig, List tolerations) { super(); this.affinity = affinity; + this.extractContent = extractContent; + this.memoryTarget = memoryTarget; this.nodeSelector = nodeSelector; this.priorityClassName = priorityClassName; this.securityContextConfig = securityContextConfig; @@ -94,15 +101,36 @@ public GrpcPodConfig(Affinity affinity, Map nodeSelector, String } @JsonProperty("affinity") - public Affinity getAffinity() { + public CatalogSourceSpecGPCAffinity getAffinity() { return affinity; } @JsonProperty("affinity") - public void setAffinity(Affinity affinity) { + public void setAffinity(CatalogSourceSpecGPCAffinity affinity) { this.affinity = affinity; } + @JsonProperty("extractContent") + public CatalogSourceSpecGPCExtractContent getExtractContent() { + return extractContent; + } + + @JsonProperty("extractContent") + public void setExtractContent(CatalogSourceSpecGPCExtractContent extractContent) { + this.extractContent = extractContent; + } + + @JsonProperty("memoryTarget") + public Object getMemoryTarget() { + return memoryTarget; + } + + @JsonProperty("memoryTarget") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setMemoryTarget(Object memoryTarget) { + this.memoryTarget = memoryTarget; + } + @JsonProperty("nodeSelector") @JsonInclude(JsonInclude.Include.NON_EMPTY) public Map getNodeSelector() { @@ -136,22 +164,22 @@ public void setSecurityContextConfig(String securityContextConfig) { @JsonProperty("tolerations") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getTolerations() { + public List getTolerations() { return tolerations; } @JsonProperty("tolerations") - public void setTolerations(List tolerations) { + public void setTolerations(List tolerations) { this.tolerations = tolerations; } @JsonIgnore - public GrpcPodConfigBuilder edit() { - return new GrpcPodConfigBuilder(this); + public CatalogSourceSpecGrpcPodConfigBuilder edit() { + return new CatalogSourceSpecGrpcPodConfigBuilder(this); } @JsonIgnore - public GrpcPodConfigBuilder toBuilder() { + public CatalogSourceSpecGrpcPodConfigBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/Icon.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecIcon.java similarity index 90% rename from kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/Icon.java rename to kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecIcon.java index b4004d258fe..0da2e331f90 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/Icon.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecIcon.java @@ -52,7 +52,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Icon implements Editable , KubernetesResource +public class CatalogSourceSpecIcon implements Editable , KubernetesResource { @JsonProperty("base64data") @@ -66,10 +66,10 @@ public class Icon implements Editable , KubernetesResource * No args constructor for use in serialization * */ - public Icon() { + public CatalogSourceSpecIcon() { } - public Icon(String base64data, String mediatype) { + public CatalogSourceSpecIcon(String base64data, String mediatype) { super(); this.base64data = base64data; this.mediatype = mediatype; @@ -96,12 +96,12 @@ public void setMediatype(String mediatype) { } @JsonIgnore - public IconBuilder edit() { - return new IconBuilder(this); + public CatalogSourceSpecIconBuilder edit() { + return new CatalogSourceSpecIconBuilder(this); } @JsonIgnore - public IconBuilder toBuilder() { + public CatalogSourceSpecIconBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/RegistryPoll.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecUSRegistryPoll.java similarity index 88% rename from kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/RegistryPoll.java rename to kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecUSRegistryPoll.java index 2cb977bc320..c5128407da8 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/RegistryPoll.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecUSRegistryPoll.java @@ -51,7 +51,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RegistryPoll implements Editable , KubernetesResource +public class CatalogSourceSpecUSRegistryPoll implements Editable , KubernetesResource { @JsonProperty("interval") @@ -63,10 +63,10 @@ public class RegistryPoll implements Editable , KubernetesR * No args constructor for use in serialization * */ - public RegistryPoll() { + public CatalogSourceSpecUSRegistryPoll() { } - public RegistryPoll(String interval) { + public CatalogSourceSpecUSRegistryPoll(String interval) { super(); this.interval = interval; } @@ -82,12 +82,12 @@ public void setInterval(String interval) { } @JsonIgnore - public RegistryPollBuilder edit() { - return new RegistryPollBuilder(this); + public CatalogSourceSpecUSRegistryPollBuilder edit() { + return new CatalogSourceSpecUSRegistryPollBuilder(this); } @JsonIgnore - public RegistryPollBuilder toBuilder() { + public CatalogSourceSpecUSRegistryPollBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/UpdateStrategy.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecUpdateStrategy.java similarity index 83% rename from kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/UpdateStrategy.java rename to kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecUpdateStrategy.java index d61654223d7..cce389cfd36 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/UpdateStrategy.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceSpecUpdateStrategy.java @@ -51,11 +51,11 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class UpdateStrategy implements Editable , KubernetesResource +public class CatalogSourceSpecUpdateStrategy implements Editable , KubernetesResource { @JsonProperty("registryPoll") - private RegistryPoll registryPoll; + private CatalogSourceSpecUSRegistryPoll registryPoll; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -63,31 +63,31 @@ public class UpdateStrategy implements Editable , Kuberne * No args constructor for use in serialization * */ - public UpdateStrategy() { + public CatalogSourceSpecUpdateStrategy() { } - public UpdateStrategy(RegistryPoll registryPoll) { + public CatalogSourceSpecUpdateStrategy(CatalogSourceSpecUSRegistryPoll registryPoll) { super(); this.registryPoll = registryPoll; } @JsonProperty("registryPoll") - public RegistryPoll getRegistryPoll() { + public CatalogSourceSpecUSRegistryPoll getRegistryPoll() { return registryPoll; } @JsonProperty("registryPoll") - public void setRegistryPoll(RegistryPoll registryPoll) { + public void setRegistryPoll(CatalogSourceSpecUSRegistryPoll registryPoll) { this.registryPoll = registryPoll; } @JsonIgnore - public UpdateStrategyBuilder edit() { - return new UpdateStrategyBuilder(this); + public CatalogSourceSpecUpdateStrategyBuilder edit() { + return new CatalogSourceSpecUpdateStrategyBuilder(this); } @JsonIgnore - public UpdateStrategyBuilder toBuilder() { + public CatalogSourceSpecUpdateStrategyBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceStatus.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceStatus.java index 6b8208e9a4c..5a4a705f0bd 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceStatus.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceStatus.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; @@ -65,11 +64,11 @@ public class CatalogSourceStatus implements Editable @JsonProperty("conditions") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List conditions = new ArrayList<>(); + private List conditions = new ArrayList<>(); @JsonProperty("configMapReference") - private ConfigMapResourceReference configMapReference; + private CatalogSourceStatusConfigMapReference configMapReference; @JsonProperty("connectionState") - private GRPCConnectionState connectionState; + private CatalogSourceStatusConnectionState connectionState; @JsonProperty("latestImageRegistryPoll") private String latestImageRegistryPoll; @JsonProperty("message") @@ -77,7 +76,7 @@ public class CatalogSourceStatus implements Editable @JsonProperty("reason") private String reason; @JsonProperty("registryService") - private RegistryServiceStatus registryService; + private CatalogSourceStatusRegistryService registryService; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -88,7 +87,7 @@ public class CatalogSourceStatus implements Editable public CatalogSourceStatus() { } - public CatalogSourceStatus(List conditions, ConfigMapResourceReference configMapReference, GRPCConnectionState connectionState, String latestImageRegistryPoll, String message, String reason, RegistryServiceStatus registryService) { + public CatalogSourceStatus(List conditions, CatalogSourceStatusConfigMapReference configMapReference, CatalogSourceStatusConnectionState connectionState, String latestImageRegistryPoll, String message, String reason, CatalogSourceStatusRegistryService registryService) { super(); this.conditions = conditions; this.configMapReference = configMapReference; @@ -101,32 +100,32 @@ public CatalogSourceStatus(List conditions, ConfigMapResourceReferenc @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; } @JsonProperty("configMapReference") - public ConfigMapResourceReference getConfigMapReference() { + public CatalogSourceStatusConfigMapReference getConfigMapReference() { return configMapReference; } @JsonProperty("configMapReference") - public void setConfigMapReference(ConfigMapResourceReference configMapReference) { + public void setConfigMapReference(CatalogSourceStatusConfigMapReference configMapReference) { this.configMapReference = configMapReference; } @JsonProperty("connectionState") - public GRPCConnectionState getConnectionState() { + public CatalogSourceStatusConnectionState getConnectionState() { return connectionState; } @JsonProperty("connectionState") - public void setConnectionState(GRPCConnectionState connectionState) { + public void setConnectionState(CatalogSourceStatusConnectionState connectionState) { this.connectionState = connectionState; } @@ -161,12 +160,12 @@ public void setReason(String reason) { } @JsonProperty("registryService") - public RegistryServiceStatus getRegistryService() { + public CatalogSourceStatusRegistryService getRegistryService() { return registryService; } @JsonProperty("registryService") - public void setRegistryService(RegistryServiceStatus registryService) { + public void setRegistryService(CatalogSourceStatusRegistryService registryService) { this.registryService = registryService; } diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceStatusConditions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceStatusConditions.java new file mode 100644 index 00000000000..28214895d48 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceStatusConditions.java @@ -0,0 +1,178 @@ + +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({ + "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 CatalogSourceStatusConditions 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 CatalogSourceStatusConditions() { + } + + public CatalogSourceStatusConditions(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 CatalogSourceStatusConditionsBuilder edit() { + return new CatalogSourceStatusConditionsBuilder(this); + } + + @JsonIgnore + public CatalogSourceStatusConditionsBuilder 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/ConfigMapResourceReference.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceStatusConfigMapReference.java similarity index 89% rename from kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ConfigMapResourceReference.java rename to kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceStatusConfigMapReference.java index a9133d7f6e3..352e34decc9 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ConfigMapResourceReference.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceStatusConfigMapReference.java @@ -55,7 +55,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ConfigMapResourceReference implements Editable , KubernetesResource +public class CatalogSourceStatusConfigMapReference implements Editable , KubernetesResource { @JsonProperty("lastUpdateTime") @@ -75,10 +75,10 @@ public class ConfigMapResourceReference implements Editable , KubernetesResource +public class CatalogSourceStatusConnectionState implements Editable , KubernetesResource { @JsonProperty("address") @@ -69,10 +69,10 @@ public class GRPCConnectionState implements Editable * No args constructor for use in serialization * */ - public GRPCConnectionState() { + public CatalogSourceStatusConnectionState() { } - public GRPCConnectionState(String address, String lastConnect, String lastObservedState) { + public CatalogSourceStatusConnectionState(String address, String lastConnect, String lastObservedState) { super(); this.address = address; this.lastConnect = lastConnect; @@ -110,12 +110,12 @@ public void setLastObservedState(String lastObservedState) { } @JsonIgnore - public GRPCConnectionStateBuilder edit() { - return new GRPCConnectionStateBuilder(this); + public CatalogSourceStatusConnectionStateBuilder edit() { + return new CatalogSourceStatusConnectionStateBuilder(this); } @JsonIgnore - public GRPCConnectionStateBuilder toBuilder() { + public CatalogSourceStatusConnectionStateBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/RegistryServiceStatus.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceStatusRegistryService.java similarity index 89% rename from kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/RegistryServiceStatus.java rename to kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceStatusRegistryService.java index bee6238f5e5..8f9e4168b19 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/RegistryServiceStatus.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CatalogSourceStatusRegistryService.java @@ -55,7 +55,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RegistryServiceStatus implements Editable , KubernetesResource +public class CatalogSourceStatusRegistryService implements Editable , KubernetesResource { @JsonProperty("createdAt") @@ -75,10 +75,10 @@ public class RegistryServiceStatus implements Editable annotations = new LinkedHashMap<>(); @JsonProperty("apiservicedefinitions") - private APIServiceDefinitions apiservicedefinitions; + private ClusterServiceVersionSpecApiservicedefinitions apiservicedefinitions; @JsonProperty("cleanup") - private CleanupSpec cleanup; + private ClusterServiceVersionSpecCleanup cleanup; @JsonProperty("customresourcedefinitions") - private CustomResourceDefinitions customresourcedefinitions; + private ClusterServiceVersionSpecCustomresourcedefinitions customresourcedefinitions; @JsonProperty("description") private String description; @JsonProperty("displayName") private String displayName; @JsonProperty("icon") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List icon = new ArrayList<>(); + private List icon = new ArrayList<>(); @JsonProperty("install") - private NamedInstallStrategy install; + private ClusterServiceVersionSpecInstall install; @JsonProperty("installModes") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List installModes = new ArrayList<>(); + private List installModes = new ArrayList<>(); @JsonProperty("keywords") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List keywords = new ArrayList<>(); @@ -107,26 +107,26 @@ public class ClusterServiceVersionSpec implements Editable labels = new LinkedHashMap<>(); @JsonProperty("links") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List links = new ArrayList<>(); + private List links = new ArrayList<>(); @JsonProperty("maintainers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List maintainers = new ArrayList<>(); + private List maintainers = new ArrayList<>(); @JsonProperty("maturity") private String maturity; @JsonProperty("minKubeVersion") private String minKubeVersion; @JsonProperty("nativeAPIs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List nativeAPIs = new ArrayList<>(); + private List nativeAPIs = new ArrayList<>(); @JsonProperty("provider") - private AppLink provider; + private ClusterServiceVersionSpecProvider provider; @JsonProperty("relatedImages") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List relatedImages = new ArrayList<>(); + private List relatedImages = new ArrayList<>(); @JsonProperty("replaces") private String replaces; @JsonProperty("selector") - private io.fabric8.kubernetes.api.model.LabelSelector selector; + private ClusterServiceVersionSpecSelector selector; @JsonProperty("skips") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List skips = new ArrayList<>(); @@ -134,7 +134,7 @@ public class ClusterServiceVersionSpec implements Editable webhookdefinitions = new ArrayList<>(); + private List webhookdefinitions = new ArrayList<>(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -145,7 +145,7 @@ public class ClusterServiceVersionSpec implements Editable annotations, APIServiceDefinitions apiservicedefinitions, CleanupSpec cleanup, CustomResourceDefinitions customresourcedefinitions, String description, String displayName, List icon, NamedInstallStrategy install, List installModes, List keywords, Map labels, List links, List maintainers, String maturity, String minKubeVersion, List nativeAPIs, AppLink provider, List relatedImages, String replaces, io.fabric8.kubernetes.api.model.LabelSelector selector, List skips, String version, List webhookdefinitions) { + public ClusterServiceVersionSpec(Map annotations, ClusterServiceVersionSpecApiservicedefinitions apiservicedefinitions, ClusterServiceVersionSpecCleanup cleanup, ClusterServiceVersionSpecCustomresourcedefinitions customresourcedefinitions, String description, String displayName, List icon, ClusterServiceVersionSpecInstall install, List installModes, List keywords, Map labels, List links, List maintainers, String maturity, String minKubeVersion, List nativeAPIs, ClusterServiceVersionSpecProvider provider, List relatedImages, String replaces, ClusterServiceVersionSpecSelector selector, List skips, String version, List webhookdefinitions) { super(); this.annotations = annotations; this.apiservicedefinitions = apiservicedefinitions; @@ -184,32 +184,32 @@ public void setAnnotations(Map annotations) { } @JsonProperty("apiservicedefinitions") - public APIServiceDefinitions getApiservicedefinitions() { + public ClusterServiceVersionSpecApiservicedefinitions getApiservicedefinitions() { return apiservicedefinitions; } @JsonProperty("apiservicedefinitions") - public void setApiservicedefinitions(APIServiceDefinitions apiservicedefinitions) { + public void setApiservicedefinitions(ClusterServiceVersionSpecApiservicedefinitions apiservicedefinitions) { this.apiservicedefinitions = apiservicedefinitions; } @JsonProperty("cleanup") - public CleanupSpec getCleanup() { + public ClusterServiceVersionSpecCleanup getCleanup() { return cleanup; } @JsonProperty("cleanup") - public void setCleanup(CleanupSpec cleanup) { + public void setCleanup(ClusterServiceVersionSpecCleanup cleanup) { this.cleanup = cleanup; } @JsonProperty("customresourcedefinitions") - public CustomResourceDefinitions getCustomresourcedefinitions() { + public ClusterServiceVersionSpecCustomresourcedefinitions getCustomresourcedefinitions() { return customresourcedefinitions; } @JsonProperty("customresourcedefinitions") - public void setCustomresourcedefinitions(CustomResourceDefinitions customresourcedefinitions) { + public void setCustomresourcedefinitions(ClusterServiceVersionSpecCustomresourcedefinitions customresourcedefinitions) { this.customresourcedefinitions = customresourcedefinitions; } @@ -235,33 +235,33 @@ public void setDisplayName(String displayName) { @JsonProperty("icon") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getIcon() { + public List getIcon() { return icon; } @JsonProperty("icon") - public void setIcon(List icon) { + public void setIcon(List icon) { this.icon = icon; } @JsonProperty("install") - public NamedInstallStrategy getInstall() { + public ClusterServiceVersionSpecInstall getInstall() { return install; } @JsonProperty("install") - public void setInstall(NamedInstallStrategy install) { + public void setInstall(ClusterServiceVersionSpecInstall install) { this.install = install; } @JsonProperty("installModes") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getInstallModes() { + public List getInstallModes() { return installModes; } @JsonProperty("installModes") - public void setInstallModes(List installModes) { + public void setInstallModes(List installModes) { this.installModes = installModes; } @@ -289,23 +289,23 @@ public void setLabels(Map labels) { @JsonProperty("links") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getLinks() { + public List getLinks() { return links; } @JsonProperty("links") - public void setLinks(List links) { + public void setLinks(List links) { this.links = links; } @JsonProperty("maintainers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getMaintainers() { + public List getMaintainers() { return maintainers; } @JsonProperty("maintainers") - public void setMaintainers(List maintainers) { + public void setMaintainers(List maintainers) { this.maintainers = maintainers; } @@ -331,33 +331,33 @@ public void setMinKubeVersion(String minKubeVersion) { @JsonProperty("nativeAPIs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getNativeAPIs() { + public List getNativeAPIs() { return nativeAPIs; } @JsonProperty("nativeAPIs") - public void setNativeAPIs(List nativeAPIs) { + public void setNativeAPIs(List nativeAPIs) { this.nativeAPIs = nativeAPIs; } @JsonProperty("provider") - public AppLink getProvider() { + public ClusterServiceVersionSpecProvider getProvider() { return provider; } @JsonProperty("provider") - public void setProvider(AppLink provider) { + public void setProvider(ClusterServiceVersionSpecProvider provider) { this.provider = provider; } @JsonProperty("relatedImages") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getRelatedImages() { + public List getRelatedImages() { return relatedImages; } @JsonProperty("relatedImages") - public void setRelatedImages(List relatedImages) { + public void setRelatedImages(List relatedImages) { this.relatedImages = relatedImages; } @@ -372,12 +372,12 @@ public void setReplaces(String replaces) { } @JsonProperty("selector") - public io.fabric8.kubernetes.api.model.LabelSelector getSelector() { + public ClusterServiceVersionSpecSelector getSelector() { return selector; } @JsonProperty("selector") - public void setSelector(io.fabric8.kubernetes.api.model.LabelSelector selector) { + public void setSelector(ClusterServiceVersionSpecSelector selector) { this.selector = selector; } @@ -404,12 +404,12 @@ public void setVersion(String version) { @JsonProperty("webhookdefinitions") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getWebhookdefinitions() { + public List getWebhookdefinitions() { return webhookdefinitions; } @JsonProperty("webhookdefinitions") - public void setWebhookdefinitions(List webhookdefinitions) { + public void setWebhookdefinitions(List webhookdefinitions) { this.webhookdefinitions = webhookdefinitions; } diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecAOActionDescriptors.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecAOActionDescriptors.java new file mode 100644 index 00000000000..223b3e11e41 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecAOActionDescriptors.java @@ -0,0 +1,168 @@ + +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({ + "description", + "displayName", + "path", + "value", + "x-descriptors" +}) +@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 ClusterServiceVersionSpecAOActionDescriptors implements Editable , KubernetesResource +{ + + @JsonProperty("description") + private String description; + @JsonProperty("displayName") + private String displayName; + @JsonProperty("path") + private String path; + @JsonProperty("value") + private String value; + @JsonProperty("x-descriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List xDescriptors = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecAOActionDescriptors() { + } + + public ClusterServiceVersionSpecAOActionDescriptors(String description, String displayName, String path, String value, List xDescriptors) { + super(); + this.description = description; + this.displayName = displayName; + this.path = path; + this.value = value; + this.xDescriptors = xDescriptors; + } + + @JsonProperty("description") + public String getDescription() { + return description; + } + + @JsonProperty("description") + public void setDescription(String description) { + this.description = description; + } + + @JsonProperty("displayName") + public String getDisplayName() { + return displayName; + } + + @JsonProperty("displayName") + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonProperty("x-descriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getXDescriptors() { + return xDescriptors; + } + + @JsonProperty("x-descriptors") + public void setXDescriptors(List xDescriptors) { + this.xDescriptors = xDescriptors; + } + + @JsonIgnore + public ClusterServiceVersionSpecAOActionDescriptorsBuilder edit() { + return new ClusterServiceVersionSpecAOActionDescriptorsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecAOActionDescriptorsBuilder 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/ClusterServiceVersionSpecAOSpecDescriptors.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecAOSpecDescriptors.java new file mode 100644 index 00000000000..f374a75465e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecAOSpecDescriptors.java @@ -0,0 +1,168 @@ + +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({ + "description", + "displayName", + "path", + "value", + "x-descriptors" +}) +@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 ClusterServiceVersionSpecAOSpecDescriptors implements Editable , KubernetesResource +{ + + @JsonProperty("description") + private String description; + @JsonProperty("displayName") + private String displayName; + @JsonProperty("path") + private String path; + @JsonProperty("value") + private String value; + @JsonProperty("x-descriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List xDescriptors = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecAOSpecDescriptors() { + } + + public ClusterServiceVersionSpecAOSpecDescriptors(String description, String displayName, String path, String value, List xDescriptors) { + super(); + this.description = description; + this.displayName = displayName; + this.path = path; + this.value = value; + this.xDescriptors = xDescriptors; + } + + @JsonProperty("description") + public String getDescription() { + return description; + } + + @JsonProperty("description") + public void setDescription(String description) { + this.description = description; + } + + @JsonProperty("displayName") + public String getDisplayName() { + return displayName; + } + + @JsonProperty("displayName") + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonProperty("x-descriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getXDescriptors() { + return xDescriptors; + } + + @JsonProperty("x-descriptors") + public void setXDescriptors(List xDescriptors) { + this.xDescriptors = xDescriptors; + } + + @JsonIgnore + public ClusterServiceVersionSpecAOSpecDescriptorsBuilder edit() { + return new ClusterServiceVersionSpecAOSpecDescriptorsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecAOSpecDescriptorsBuilder 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/ClusterServiceVersionSpecAOStatusDescriptors.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecAOStatusDescriptors.java new file mode 100644 index 00000000000..1b6b3c0fca3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecAOStatusDescriptors.java @@ -0,0 +1,168 @@ + +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({ + "description", + "displayName", + "path", + "value", + "x-descriptors" +}) +@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 ClusterServiceVersionSpecAOStatusDescriptors implements Editable , KubernetesResource +{ + + @JsonProperty("description") + private String description; + @JsonProperty("displayName") + private String displayName; + @JsonProperty("path") + private String path; + @JsonProperty("value") + private String value; + @JsonProperty("x-descriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List xDescriptors = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecAOStatusDescriptors() { + } + + public ClusterServiceVersionSpecAOStatusDescriptors(String description, String displayName, String path, String value, List xDescriptors) { + super(); + this.description = description; + this.displayName = displayName; + this.path = path; + this.value = value; + this.xDescriptors = xDescriptors; + } + + @JsonProperty("description") + public String getDescription() { + return description; + } + + @JsonProperty("description") + public void setDescription(String description) { + this.description = description; + } + + @JsonProperty("displayName") + public String getDisplayName() { + return displayName; + } + + @JsonProperty("displayName") + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonProperty("x-descriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getXDescriptors() { + return xDescriptors; + } + + @JsonProperty("x-descriptors") + public void setXDescriptors(List xDescriptors) { + this.xDescriptors = xDescriptors; + } + + @JsonIgnore + public ClusterServiceVersionSpecAOStatusDescriptorsBuilder edit() { + return new ClusterServiceVersionSpecAOStatusDescriptorsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecAOStatusDescriptorsBuilder 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/ClusterServiceVersionSpecAOwned.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecAOwned.java new file mode 100644 index 00000000000..c15d274ef2e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecAOwned.java @@ -0,0 +1,272 @@ + +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({ + "kind", + "actionDescriptors", + "containerPort", + "deploymentName", + "description", + "displayName", + "group", + "name", + "resources", + "specDescriptors", + "statusDescriptors", + "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 ClusterServiceVersionSpecAOwned implements Editable , KubernetesResource +{ + + @JsonProperty("actionDescriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List actionDescriptors = new ArrayList<>(); + @JsonProperty("containerPort") + private Integer containerPort; + @JsonProperty("deploymentName") + private String deploymentName; + @JsonProperty("description") + private String description; + @JsonProperty("displayName") + private String displayName; + @JsonProperty("group") + private String group; + @JsonProperty("kind") + private String kind; + @JsonProperty("name") + private String name; + @JsonProperty("resources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List resources = new ArrayList<>(); + @JsonProperty("specDescriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List specDescriptors = new ArrayList<>(); + @JsonProperty("statusDescriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List statusDescriptors = new ArrayList<>(); + @JsonProperty("version") + private String version; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecAOwned() { + } + + public ClusterServiceVersionSpecAOwned(List actionDescriptors, Integer containerPort, String deploymentName, String description, String displayName, String group, String kind, String name, List resources, List specDescriptors, List statusDescriptors, String version) { + super(); + this.actionDescriptors = actionDescriptors; + this.containerPort = containerPort; + this.deploymentName = deploymentName; + this.description = description; + this.displayName = displayName; + this.group = group; + this.kind = kind; + this.name = name; + this.resources = resources; + this.specDescriptors = specDescriptors; + this.statusDescriptors = statusDescriptors; + this.version = version; + } + + @JsonProperty("actionDescriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getActionDescriptors() { + return actionDescriptors; + } + + @JsonProperty("actionDescriptors") + public void setActionDescriptors(List actionDescriptors) { + this.actionDescriptors = actionDescriptors; + } + + @JsonProperty("containerPort") + public Integer getContainerPort() { + return containerPort; + } + + @JsonProperty("containerPort") + public void setContainerPort(Integer containerPort) { + this.containerPort = containerPort; + } + + @JsonProperty("deploymentName") + public String getDeploymentName() { + return deploymentName; + } + + @JsonProperty("deploymentName") + public void setDeploymentName(String deploymentName) { + this.deploymentName = deploymentName; + } + + @JsonProperty("description") + public String getDescription() { + return description; + } + + @JsonProperty("description") + public void setDescription(String description) { + this.description = description; + } + + @JsonProperty("displayName") + public String getDisplayName() { + return displayName; + } + + @JsonProperty("displayName") + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + @JsonProperty("group") + public String getGroup() { + return group; + } + + @JsonProperty("group") + public void setGroup(String group) { + this.group = group; + } + + @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("resources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResources() { + return resources; + } + + @JsonProperty("resources") + public void setResources(List resources) { + this.resources = resources; + } + + @JsonProperty("specDescriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSpecDescriptors() { + return specDescriptors; + } + + @JsonProperty("specDescriptors") + public void setSpecDescriptors(List specDescriptors) { + this.specDescriptors = specDescriptors; + } + + @JsonProperty("statusDescriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getStatusDescriptors() { + return statusDescriptors; + } + + @JsonProperty("statusDescriptors") + public void setStatusDescriptors(List statusDescriptors) { + this.statusDescriptors = statusDescriptors; + } + + @JsonProperty("version") + public String getVersion() { + return version; + } + + @JsonProperty("version") + public void setVersion(String version) { + this.version = version; + } + + @JsonIgnore + public ClusterServiceVersionSpecAOwnedBuilder edit() { + return new ClusterServiceVersionSpecAOwnedBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecAOwnedBuilder 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/ClusterServiceVersionSpecARActionDescriptors.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecARActionDescriptors.java new file mode 100644 index 00000000000..e7416834e1c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecARActionDescriptors.java @@ -0,0 +1,168 @@ + +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({ + "description", + "displayName", + "path", + "value", + "x-descriptors" +}) +@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 ClusterServiceVersionSpecARActionDescriptors implements Editable , KubernetesResource +{ + + @JsonProperty("description") + private String description; + @JsonProperty("displayName") + private String displayName; + @JsonProperty("path") + private String path; + @JsonProperty("value") + private String value; + @JsonProperty("x-descriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List xDescriptors = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecARActionDescriptors() { + } + + public ClusterServiceVersionSpecARActionDescriptors(String description, String displayName, String path, String value, List xDescriptors) { + super(); + this.description = description; + this.displayName = displayName; + this.path = path; + this.value = value; + this.xDescriptors = xDescriptors; + } + + @JsonProperty("description") + public String getDescription() { + return description; + } + + @JsonProperty("description") + public void setDescription(String description) { + this.description = description; + } + + @JsonProperty("displayName") + public String getDisplayName() { + return displayName; + } + + @JsonProperty("displayName") + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonProperty("x-descriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getXDescriptors() { + return xDescriptors; + } + + @JsonProperty("x-descriptors") + public void setXDescriptors(List xDescriptors) { + this.xDescriptors = xDescriptors; + } + + @JsonIgnore + public ClusterServiceVersionSpecARActionDescriptorsBuilder edit() { + return new ClusterServiceVersionSpecARActionDescriptorsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecARActionDescriptorsBuilder 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/ClusterServiceVersionSpecARSpecDescriptors.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecARSpecDescriptors.java new file mode 100644 index 00000000000..cf7bfd1308f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecARSpecDescriptors.java @@ -0,0 +1,168 @@ + +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({ + "description", + "displayName", + "path", + "value", + "x-descriptors" +}) +@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 ClusterServiceVersionSpecARSpecDescriptors implements Editable , KubernetesResource +{ + + @JsonProperty("description") + private String description; + @JsonProperty("displayName") + private String displayName; + @JsonProperty("path") + private String path; + @JsonProperty("value") + private String value; + @JsonProperty("x-descriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List xDescriptors = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecARSpecDescriptors() { + } + + public ClusterServiceVersionSpecARSpecDescriptors(String description, String displayName, String path, String value, List xDescriptors) { + super(); + this.description = description; + this.displayName = displayName; + this.path = path; + this.value = value; + this.xDescriptors = xDescriptors; + } + + @JsonProperty("description") + public String getDescription() { + return description; + } + + @JsonProperty("description") + public void setDescription(String description) { + this.description = description; + } + + @JsonProperty("displayName") + public String getDisplayName() { + return displayName; + } + + @JsonProperty("displayName") + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonProperty("x-descriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getXDescriptors() { + return xDescriptors; + } + + @JsonProperty("x-descriptors") + public void setXDescriptors(List xDescriptors) { + this.xDescriptors = xDescriptors; + } + + @JsonIgnore + public ClusterServiceVersionSpecARSpecDescriptorsBuilder edit() { + return new ClusterServiceVersionSpecARSpecDescriptorsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecARSpecDescriptorsBuilder 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/ClusterServiceVersionSpecARStatusDescriptors.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecARStatusDescriptors.java new file mode 100644 index 00000000000..d6eaef477c5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecARStatusDescriptors.java @@ -0,0 +1,168 @@ + +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({ + "description", + "displayName", + "path", + "value", + "x-descriptors" +}) +@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 ClusterServiceVersionSpecARStatusDescriptors implements Editable , KubernetesResource +{ + + @JsonProperty("description") + private String description; + @JsonProperty("displayName") + private String displayName; + @JsonProperty("path") + private String path; + @JsonProperty("value") + private String value; + @JsonProperty("x-descriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List xDescriptors = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecARStatusDescriptors() { + } + + public ClusterServiceVersionSpecARStatusDescriptors(String description, String displayName, String path, String value, List xDescriptors) { + super(); + this.description = description; + this.displayName = displayName; + this.path = path; + this.value = value; + this.xDescriptors = xDescriptors; + } + + @JsonProperty("description") + public String getDescription() { + return description; + } + + @JsonProperty("description") + public void setDescription(String description) { + this.description = description; + } + + @JsonProperty("displayName") + public String getDisplayName() { + return displayName; + } + + @JsonProperty("displayName") + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonProperty("x-descriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getXDescriptors() { + return xDescriptors; + } + + @JsonProperty("x-descriptors") + public void setXDescriptors(List xDescriptors) { + this.xDescriptors = xDescriptors; + } + + @JsonIgnore + public ClusterServiceVersionSpecARStatusDescriptorsBuilder edit() { + return new ClusterServiceVersionSpecARStatusDescriptorsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecARStatusDescriptorsBuilder 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/ClusterServiceVersionSpecARequired.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecARequired.java new file mode 100644 index 00000000000..0b404f39c15 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecARequired.java @@ -0,0 +1,272 @@ + +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({ + "kind", + "actionDescriptors", + "containerPort", + "deploymentName", + "description", + "displayName", + "group", + "name", + "resources", + "specDescriptors", + "statusDescriptors", + "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 ClusterServiceVersionSpecARequired implements Editable , KubernetesResource +{ + + @JsonProperty("actionDescriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List actionDescriptors = new ArrayList<>(); + @JsonProperty("containerPort") + private Integer containerPort; + @JsonProperty("deploymentName") + private String deploymentName; + @JsonProperty("description") + private String description; + @JsonProperty("displayName") + private String displayName; + @JsonProperty("group") + private String group; + @JsonProperty("kind") + private String kind; + @JsonProperty("name") + private String name; + @JsonProperty("resources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List resources = new ArrayList<>(); + @JsonProperty("specDescriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List specDescriptors = new ArrayList<>(); + @JsonProperty("statusDescriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List statusDescriptors = new ArrayList<>(); + @JsonProperty("version") + private String version; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecARequired() { + } + + public ClusterServiceVersionSpecARequired(List actionDescriptors, Integer containerPort, String deploymentName, String description, String displayName, String group, String kind, String name, List resources, List specDescriptors, List statusDescriptors, String version) { + super(); + this.actionDescriptors = actionDescriptors; + this.containerPort = containerPort; + this.deploymentName = deploymentName; + this.description = description; + this.displayName = displayName; + this.group = group; + this.kind = kind; + this.name = name; + this.resources = resources; + this.specDescriptors = specDescriptors; + this.statusDescriptors = statusDescriptors; + this.version = version; + } + + @JsonProperty("actionDescriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getActionDescriptors() { + return actionDescriptors; + } + + @JsonProperty("actionDescriptors") + public void setActionDescriptors(List actionDescriptors) { + this.actionDescriptors = actionDescriptors; + } + + @JsonProperty("containerPort") + public Integer getContainerPort() { + return containerPort; + } + + @JsonProperty("containerPort") + public void setContainerPort(Integer containerPort) { + this.containerPort = containerPort; + } + + @JsonProperty("deploymentName") + public String getDeploymentName() { + return deploymentName; + } + + @JsonProperty("deploymentName") + public void setDeploymentName(String deploymentName) { + this.deploymentName = deploymentName; + } + + @JsonProperty("description") + public String getDescription() { + return description; + } + + @JsonProperty("description") + public void setDescription(String description) { + this.description = description; + } + + @JsonProperty("displayName") + public String getDisplayName() { + return displayName; + } + + @JsonProperty("displayName") + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + @JsonProperty("group") + public String getGroup() { + return group; + } + + @JsonProperty("group") + public void setGroup(String group) { + this.group = group; + } + + @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("resources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResources() { + return resources; + } + + @JsonProperty("resources") + public void setResources(List resources) { + this.resources = resources; + } + + @JsonProperty("specDescriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSpecDescriptors() { + return specDescriptors; + } + + @JsonProperty("specDescriptors") + public void setSpecDescriptors(List specDescriptors) { + this.specDescriptors = specDescriptors; + } + + @JsonProperty("statusDescriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getStatusDescriptors() { + return statusDescriptors; + } + + @JsonProperty("statusDescriptors") + public void setStatusDescriptors(List statusDescriptors) { + this.statusDescriptors = statusDescriptors; + } + + @JsonProperty("version") + public String getVersion() { + return version; + } + + @JsonProperty("version") + public void setVersion(String version) { + this.version = version; + } + + @JsonIgnore + public ClusterServiceVersionSpecARequiredBuilder edit() { + return new ClusterServiceVersionSpecARequiredBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecARequiredBuilder 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/ClusterServiceVersionSpecApiservicedefinitions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecApiservicedefinitions.java new file mode 100644 index 00000000000..61f0e4b8825 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecApiservicedefinitions.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({ + "owned", + "required" +}) +@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 ClusterServiceVersionSpecApiservicedefinitions implements Editable , KubernetesResource +{ + + @JsonProperty("owned") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List owned = new ArrayList<>(); + @JsonProperty("required") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List required = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecApiservicedefinitions() { + } + + public ClusterServiceVersionSpecApiservicedefinitions(List owned, List required) { + super(); + this.owned = owned; + this.required = required; + } + + @JsonProperty("owned") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getOwned() { + return owned; + } + + @JsonProperty("owned") + public void setOwned(List owned) { + this.owned = owned; + } + + @JsonProperty("required") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getRequired() { + return required; + } + + @JsonProperty("required") + public void setRequired(List required) { + this.required = required; + } + + @JsonIgnore + public ClusterServiceVersionSpecApiservicedefinitionsBuilder edit() { + return new ClusterServiceVersionSpecApiservicedefinitionsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecApiservicedefinitionsBuilder 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/ClusterServiceVersionSpecCOActionDescriptors.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecCOActionDescriptors.java new file mode 100644 index 00000000000..0dc99404a6d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecCOActionDescriptors.java @@ -0,0 +1,168 @@ + +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({ + "description", + "displayName", + "path", + "value", + "x-descriptors" +}) +@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 ClusterServiceVersionSpecCOActionDescriptors implements Editable , KubernetesResource +{ + + @JsonProperty("description") + private String description; + @JsonProperty("displayName") + private String displayName; + @JsonProperty("path") + private String path; + @JsonProperty("value") + private String value; + @JsonProperty("x-descriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List xDescriptors = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecCOActionDescriptors() { + } + + public ClusterServiceVersionSpecCOActionDescriptors(String description, String displayName, String path, String value, List xDescriptors) { + super(); + this.description = description; + this.displayName = displayName; + this.path = path; + this.value = value; + this.xDescriptors = xDescriptors; + } + + @JsonProperty("description") + public String getDescription() { + return description; + } + + @JsonProperty("description") + public void setDescription(String description) { + this.description = description; + } + + @JsonProperty("displayName") + public String getDisplayName() { + return displayName; + } + + @JsonProperty("displayName") + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonProperty("x-descriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getXDescriptors() { + return xDescriptors; + } + + @JsonProperty("x-descriptors") + public void setXDescriptors(List xDescriptors) { + this.xDescriptors = xDescriptors; + } + + @JsonIgnore + public ClusterServiceVersionSpecCOActionDescriptorsBuilder edit() { + return new ClusterServiceVersionSpecCOActionDescriptorsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecCOActionDescriptorsBuilder 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/ClusterServiceVersionSpecCOSpecDescriptors.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecCOSpecDescriptors.java new file mode 100644 index 00000000000..5dba73fa334 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecCOSpecDescriptors.java @@ -0,0 +1,168 @@ + +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({ + "description", + "displayName", + "path", + "value", + "x-descriptors" +}) +@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 ClusterServiceVersionSpecCOSpecDescriptors implements Editable , KubernetesResource +{ + + @JsonProperty("description") + private String description; + @JsonProperty("displayName") + private String displayName; + @JsonProperty("path") + private String path; + @JsonProperty("value") + private String value; + @JsonProperty("x-descriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List xDescriptors = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecCOSpecDescriptors() { + } + + public ClusterServiceVersionSpecCOSpecDescriptors(String description, String displayName, String path, String value, List xDescriptors) { + super(); + this.description = description; + this.displayName = displayName; + this.path = path; + this.value = value; + this.xDescriptors = xDescriptors; + } + + @JsonProperty("description") + public String getDescription() { + return description; + } + + @JsonProperty("description") + public void setDescription(String description) { + this.description = description; + } + + @JsonProperty("displayName") + public String getDisplayName() { + return displayName; + } + + @JsonProperty("displayName") + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonProperty("x-descriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getXDescriptors() { + return xDescriptors; + } + + @JsonProperty("x-descriptors") + public void setXDescriptors(List xDescriptors) { + this.xDescriptors = xDescriptors; + } + + @JsonIgnore + public ClusterServiceVersionSpecCOSpecDescriptorsBuilder edit() { + return new ClusterServiceVersionSpecCOSpecDescriptorsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecCOSpecDescriptorsBuilder 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/ClusterServiceVersionSpecCOStatusDescriptors.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecCOStatusDescriptors.java new file mode 100644 index 00000000000..1bb1a4c7609 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecCOStatusDescriptors.java @@ -0,0 +1,168 @@ + +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({ + "description", + "displayName", + "path", + "value", + "x-descriptors" +}) +@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 ClusterServiceVersionSpecCOStatusDescriptors implements Editable , KubernetesResource +{ + + @JsonProperty("description") + private String description; + @JsonProperty("displayName") + private String displayName; + @JsonProperty("path") + private String path; + @JsonProperty("value") + private String value; + @JsonProperty("x-descriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List xDescriptors = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecCOStatusDescriptors() { + } + + public ClusterServiceVersionSpecCOStatusDescriptors(String description, String displayName, String path, String value, List xDescriptors) { + super(); + this.description = description; + this.displayName = displayName; + this.path = path; + this.value = value; + this.xDescriptors = xDescriptors; + } + + @JsonProperty("description") + public String getDescription() { + return description; + } + + @JsonProperty("description") + public void setDescription(String description) { + this.description = description; + } + + @JsonProperty("displayName") + public String getDisplayName() { + return displayName; + } + + @JsonProperty("displayName") + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonProperty("x-descriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getXDescriptors() { + return xDescriptors; + } + + @JsonProperty("x-descriptors") + public void setXDescriptors(List xDescriptors) { + this.xDescriptors = xDescriptors; + } + + @JsonIgnore + public ClusterServiceVersionSpecCOStatusDescriptorsBuilder edit() { + return new ClusterServiceVersionSpecCOStatusDescriptorsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecCOStatusDescriptorsBuilder 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/ClusterServiceVersionSpecCOwned.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecCOwned.java new file mode 100644 index 00000000000..169cac0c562 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecCOwned.java @@ -0,0 +1,230 @@ + +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({ + "kind", + "actionDescriptors", + "description", + "displayName", + "name", + "resources", + "specDescriptors", + "statusDescriptors", + "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 ClusterServiceVersionSpecCOwned implements Editable , KubernetesResource +{ + + @JsonProperty("actionDescriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List actionDescriptors = new ArrayList<>(); + @JsonProperty("description") + private String description; + @JsonProperty("displayName") + private String displayName; + @JsonProperty("kind") + private String kind; + @JsonProperty("name") + private String name; + @JsonProperty("resources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List resources = new ArrayList<>(); + @JsonProperty("specDescriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List specDescriptors = new ArrayList<>(); + @JsonProperty("statusDescriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List statusDescriptors = new ArrayList<>(); + @JsonProperty("version") + private String version; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecCOwned() { + } + + public ClusterServiceVersionSpecCOwned(List actionDescriptors, String description, String displayName, String kind, String name, List resources, List specDescriptors, List statusDescriptors, String version) { + super(); + this.actionDescriptors = actionDescriptors; + this.description = description; + this.displayName = displayName; + this.kind = kind; + this.name = name; + this.resources = resources; + this.specDescriptors = specDescriptors; + this.statusDescriptors = statusDescriptors; + this.version = version; + } + + @JsonProperty("actionDescriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getActionDescriptors() { + return actionDescriptors; + } + + @JsonProperty("actionDescriptors") + public void setActionDescriptors(List actionDescriptors) { + this.actionDescriptors = actionDescriptors; + } + + @JsonProperty("description") + public String getDescription() { + return description; + } + + @JsonProperty("description") + public void setDescription(String description) { + this.description = description; + } + + @JsonProperty("displayName") + public String getDisplayName() { + return displayName; + } + + @JsonProperty("displayName") + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + @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("resources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResources() { + return resources; + } + + @JsonProperty("resources") + public void setResources(List resources) { + this.resources = resources; + } + + @JsonProperty("specDescriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSpecDescriptors() { + return specDescriptors; + } + + @JsonProperty("specDescriptors") + public void setSpecDescriptors(List specDescriptors) { + this.specDescriptors = specDescriptors; + } + + @JsonProperty("statusDescriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getStatusDescriptors() { + return statusDescriptors; + } + + @JsonProperty("statusDescriptors") + public void setStatusDescriptors(List statusDescriptors) { + this.statusDescriptors = statusDescriptors; + } + + @JsonProperty("version") + public String getVersion() { + return version; + } + + @JsonProperty("version") + public void setVersion(String version) { + this.version = version; + } + + @JsonIgnore + public ClusterServiceVersionSpecCOwnedBuilder edit() { + return new ClusterServiceVersionSpecCOwnedBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecCOwnedBuilder 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/ClusterServiceVersionSpecCRActionDescriptors.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecCRActionDescriptors.java new file mode 100644 index 00000000000..a5d8bb78843 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecCRActionDescriptors.java @@ -0,0 +1,168 @@ + +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({ + "description", + "displayName", + "path", + "value", + "x-descriptors" +}) +@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 ClusterServiceVersionSpecCRActionDescriptors implements Editable , KubernetesResource +{ + + @JsonProperty("description") + private String description; + @JsonProperty("displayName") + private String displayName; + @JsonProperty("path") + private String path; + @JsonProperty("value") + private String value; + @JsonProperty("x-descriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List xDescriptors = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecCRActionDescriptors() { + } + + public ClusterServiceVersionSpecCRActionDescriptors(String description, String displayName, String path, String value, List xDescriptors) { + super(); + this.description = description; + this.displayName = displayName; + this.path = path; + this.value = value; + this.xDescriptors = xDescriptors; + } + + @JsonProperty("description") + public String getDescription() { + return description; + } + + @JsonProperty("description") + public void setDescription(String description) { + this.description = description; + } + + @JsonProperty("displayName") + public String getDisplayName() { + return displayName; + } + + @JsonProperty("displayName") + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonProperty("x-descriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getXDescriptors() { + return xDescriptors; + } + + @JsonProperty("x-descriptors") + public void setXDescriptors(List xDescriptors) { + this.xDescriptors = xDescriptors; + } + + @JsonIgnore + public ClusterServiceVersionSpecCRActionDescriptorsBuilder edit() { + return new ClusterServiceVersionSpecCRActionDescriptorsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecCRActionDescriptorsBuilder 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/ClusterServiceVersionSpecCRSpecDescriptors.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecCRSpecDescriptors.java new file mode 100644 index 00000000000..bc2cd0a6ad8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecCRSpecDescriptors.java @@ -0,0 +1,168 @@ + +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({ + "description", + "displayName", + "path", + "value", + "x-descriptors" +}) +@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 ClusterServiceVersionSpecCRSpecDescriptors implements Editable , KubernetesResource +{ + + @JsonProperty("description") + private String description; + @JsonProperty("displayName") + private String displayName; + @JsonProperty("path") + private String path; + @JsonProperty("value") + private String value; + @JsonProperty("x-descriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List xDescriptors = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecCRSpecDescriptors() { + } + + public ClusterServiceVersionSpecCRSpecDescriptors(String description, String displayName, String path, String value, List xDescriptors) { + super(); + this.description = description; + this.displayName = displayName; + this.path = path; + this.value = value; + this.xDescriptors = xDescriptors; + } + + @JsonProperty("description") + public String getDescription() { + return description; + } + + @JsonProperty("description") + public void setDescription(String description) { + this.description = description; + } + + @JsonProperty("displayName") + public String getDisplayName() { + return displayName; + } + + @JsonProperty("displayName") + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonProperty("x-descriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getXDescriptors() { + return xDescriptors; + } + + @JsonProperty("x-descriptors") + public void setXDescriptors(List xDescriptors) { + this.xDescriptors = xDescriptors; + } + + @JsonIgnore + public ClusterServiceVersionSpecCRSpecDescriptorsBuilder edit() { + return new ClusterServiceVersionSpecCRSpecDescriptorsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecCRSpecDescriptorsBuilder 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/ClusterServiceVersionSpecCRStatusDescriptors.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecCRStatusDescriptors.java new file mode 100644 index 00000000000..946fa219ea3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecCRStatusDescriptors.java @@ -0,0 +1,168 @@ + +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({ + "description", + "displayName", + "path", + "value", + "x-descriptors" +}) +@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 ClusterServiceVersionSpecCRStatusDescriptors implements Editable , KubernetesResource +{ + + @JsonProperty("description") + private String description; + @JsonProperty("displayName") + private String displayName; + @JsonProperty("path") + private String path; + @JsonProperty("value") + private String value; + @JsonProperty("x-descriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List xDescriptors = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecCRStatusDescriptors() { + } + + public ClusterServiceVersionSpecCRStatusDescriptors(String description, String displayName, String path, String value, List xDescriptors) { + super(); + this.description = description; + this.displayName = displayName; + this.path = path; + this.value = value; + this.xDescriptors = xDescriptors; + } + + @JsonProperty("description") + public String getDescription() { + return description; + } + + @JsonProperty("description") + public void setDescription(String description) { + this.description = description; + } + + @JsonProperty("displayName") + public String getDisplayName() { + return displayName; + } + + @JsonProperty("displayName") + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonProperty("x-descriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getXDescriptors() { + return xDescriptors; + } + + @JsonProperty("x-descriptors") + public void setXDescriptors(List xDescriptors) { + this.xDescriptors = xDescriptors; + } + + @JsonIgnore + public ClusterServiceVersionSpecCRStatusDescriptorsBuilder edit() { + return new ClusterServiceVersionSpecCRStatusDescriptorsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecCRStatusDescriptorsBuilder 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/ClusterServiceVersionSpecCRequired.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecCRequired.java new file mode 100644 index 00000000000..76a9e5b62dc --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecCRequired.java @@ -0,0 +1,230 @@ + +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({ + "kind", + "actionDescriptors", + "description", + "displayName", + "name", + "resources", + "specDescriptors", + "statusDescriptors", + "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 ClusterServiceVersionSpecCRequired implements Editable , KubernetesResource +{ + + @JsonProperty("actionDescriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List actionDescriptors = new ArrayList<>(); + @JsonProperty("description") + private String description; + @JsonProperty("displayName") + private String displayName; + @JsonProperty("kind") + private String kind; + @JsonProperty("name") + private String name; + @JsonProperty("resources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List resources = new ArrayList<>(); + @JsonProperty("specDescriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List specDescriptors = new ArrayList<>(); + @JsonProperty("statusDescriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List statusDescriptors = new ArrayList<>(); + @JsonProperty("version") + private String version; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecCRequired() { + } + + public ClusterServiceVersionSpecCRequired(List actionDescriptors, String description, String displayName, String kind, String name, List resources, List specDescriptors, List statusDescriptors, String version) { + super(); + this.actionDescriptors = actionDescriptors; + this.description = description; + this.displayName = displayName; + this.kind = kind; + this.name = name; + this.resources = resources; + this.specDescriptors = specDescriptors; + this.statusDescriptors = statusDescriptors; + this.version = version; + } + + @JsonProperty("actionDescriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getActionDescriptors() { + return actionDescriptors; + } + + @JsonProperty("actionDescriptors") + public void setActionDescriptors(List actionDescriptors) { + this.actionDescriptors = actionDescriptors; + } + + @JsonProperty("description") + public String getDescription() { + return description; + } + + @JsonProperty("description") + public void setDescription(String description) { + this.description = description; + } + + @JsonProperty("displayName") + public String getDisplayName() { + return displayName; + } + + @JsonProperty("displayName") + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + @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("resources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResources() { + return resources; + } + + @JsonProperty("resources") + public void setResources(List resources) { + this.resources = resources; + } + + @JsonProperty("specDescriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSpecDescriptors() { + return specDescriptors; + } + + @JsonProperty("specDescriptors") + public void setSpecDescriptors(List specDescriptors) { + this.specDescriptors = specDescriptors; + } + + @JsonProperty("statusDescriptors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getStatusDescriptors() { + return statusDescriptors; + } + + @JsonProperty("statusDescriptors") + public void setStatusDescriptors(List statusDescriptors) { + this.statusDescriptors = statusDescriptors; + } + + @JsonProperty("version") + public String getVersion() { + return version; + } + + @JsonProperty("version") + public void setVersion(String version) { + this.version = version; + } + + @JsonIgnore + public ClusterServiceVersionSpecCRequiredBuilder edit() { + return new ClusterServiceVersionSpecCRequiredBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecCRequiredBuilder 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/CleanupSpec.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecCleanup.java similarity index 88% rename from kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CleanupSpec.java rename to kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecCleanup.java index ed4ccfdf77f..6f4dca6422d 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CleanupSpec.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecCleanup.java @@ -51,7 +51,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CleanupSpec implements Editable , KubernetesResource +public class ClusterServiceVersionSpecCleanup implements Editable , KubernetesResource { @JsonProperty("enabled") @@ -63,10 +63,10 @@ public class CleanupSpec implements Editable , KubernetesRes * No args constructor for use in serialization * */ - public CleanupSpec() { + public ClusterServiceVersionSpecCleanup() { } - public CleanupSpec(Boolean enabled) { + public ClusterServiceVersionSpecCleanup(Boolean enabled) { super(); this.enabled = enabled; } @@ -82,12 +82,12 @@ public void setEnabled(Boolean enabled) { } @JsonIgnore - public CleanupSpecBuilder edit() { - return new CleanupSpecBuilder(this); + public ClusterServiceVersionSpecCleanupBuilder edit() { + return new ClusterServiceVersionSpecCleanupBuilder(this); } @JsonIgnore - public CleanupSpecBuilder toBuilder() { + public ClusterServiceVersionSpecCleanupBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecCustomresourcedefinitions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecCustomresourcedefinitions.java new file mode 100644 index 00000000000..02181e11b44 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecCustomresourcedefinitions.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({ + "owned", + "required" +}) +@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 ClusterServiceVersionSpecCustomresourcedefinitions implements Editable , KubernetesResource +{ + + @JsonProperty("owned") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List owned = new ArrayList<>(); + @JsonProperty("required") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List required = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecCustomresourcedefinitions() { + } + + public ClusterServiceVersionSpecCustomresourcedefinitions(List owned, List required) { + super(); + this.owned = owned; + this.required = required; + } + + @JsonProperty("owned") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getOwned() { + return owned; + } + + @JsonProperty("owned") + public void setOwned(List owned) { + this.owned = owned; + } + + @JsonProperty("required") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getRequired() { + return required; + } + + @JsonProperty("required") + public void setRequired(List required) { + this.required = required; + } + + @JsonIgnore + public ClusterServiceVersionSpecCustomresourcedefinitionsBuilder edit() { + return new ClusterServiceVersionSpecCustomresourcedefinitionsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecCustomresourcedefinitionsBuilder 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/StrategyDetailsDeployment.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpec.java similarity index 73% rename from kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/StrategyDetailsDeployment.java rename to kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpec.java index 5bb6efd912e..c853e210b39 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/StrategyDetailsDeployment.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpec.java @@ -55,18 +55,18 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StrategyDetailsDeployment implements Editable , KubernetesResource +public class ClusterServiceVersionSpecISpec implements Editable , KubernetesResource { @JsonProperty("clusterPermissions") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List clusterPermissions = new ArrayList<>(); + private List clusterPermissions = new ArrayList<>(); @JsonProperty("deployments") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List deployments = new ArrayList<>(); + private List deployments = new ArrayList<>(); @JsonProperty("permissions") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List permissions = new ArrayList<>(); + private List permissions = new ArrayList<>(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -74,10 +74,10 @@ public class StrategyDetailsDeployment implements Editable clusterPermissions, List deployments, List permissions) { + public ClusterServiceVersionSpecISpec(List clusterPermissions, List deployments, List permissions) { super(); this.clusterPermissions = clusterPermissions; this.deployments = deployments; @@ -86,44 +86,44 @@ public StrategyDetailsDeployment(List clusterPerm @JsonProperty("clusterPermissions") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getClusterPermissions() { + public List getClusterPermissions() { return clusterPermissions; } @JsonProperty("clusterPermissions") - public void setClusterPermissions(List clusterPermissions) { + public void setClusterPermissions(List clusterPermissions) { this.clusterPermissions = clusterPermissions; } @JsonProperty("deployments") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getDeployments() { + public List getDeployments() { return deployments; } @JsonProperty("deployments") - public void setDeployments(List deployments) { + public void setDeployments(List deployments) { this.deployments = deployments; } @JsonProperty("permissions") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getPermissions() { + public List getPermissions() { return permissions; } @JsonProperty("permissions") - public void setPermissions(List permissions) { + public void setPermissions(List permissions) { this.permissions = permissions; } @JsonIgnore - public StrategyDetailsDeploymentBuilder edit() { - return new StrategyDetailsDeploymentBuilder(this); + public ClusterServiceVersionSpecISpecBuilder edit() { + return new ClusterServiceVersionSpecISpecBuilder(this); } @JsonIgnore - public StrategyDetailsDeploymentBuilder toBuilder() { + public ClusterServiceVersionSpecISpecBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecCPRules.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecCPRules.java new file mode 100644 index 00000000000..773c282cbb9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecCPRules.java @@ -0,0 +1,176 @@ + +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({ + "apiGroups", + "nonResourceURLs", + "resourceNames", + "resources", + "verbs" +}) +@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 ClusterServiceVersionSpecISpecCPRules implements Editable , KubernetesResource +{ + + @JsonProperty("apiGroups") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List apiGroups = new ArrayList<>(); + @JsonProperty("nonResourceURLs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List nonResourceURLs = new ArrayList<>(); + @JsonProperty("resourceNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List resourceNames = new ArrayList<>(); + @JsonProperty("resources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List resources = new ArrayList<>(); + @JsonProperty("verbs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List verbs = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecCPRules() { + } + + public ClusterServiceVersionSpecISpecCPRules(List apiGroups, List nonResourceURLs, List resourceNames, List resources, List verbs) { + super(); + this.apiGroups = apiGroups; + this.nonResourceURLs = nonResourceURLs; + this.resourceNames = resourceNames; + this.resources = resources; + this.verbs = verbs; + } + + @JsonProperty("apiGroups") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getApiGroups() { + return apiGroups; + } + + @JsonProperty("apiGroups") + public void setApiGroups(List apiGroups) { + this.apiGroups = apiGroups; + } + + @JsonProperty("nonResourceURLs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNonResourceURLs() { + return nonResourceURLs; + } + + @JsonProperty("nonResourceURLs") + public void setNonResourceURLs(List nonResourceURLs) { + this.nonResourceURLs = nonResourceURLs; + } + + @JsonProperty("resourceNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResourceNames() { + return resourceNames; + } + + @JsonProperty("resourceNames") + public void setResourceNames(List resourceNames) { + this.resourceNames = resourceNames; + } + + @JsonProperty("resources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResources() { + return resources; + } + + @JsonProperty("resources") + public void setResources(List resources) { + this.resources = resources; + } + + @JsonProperty("verbs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getVerbs() { + return verbs; + } + + @JsonProperty("verbs") + public void setVerbs(List verbs) { + this.verbs = verbs; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecCPRulesBuilder edit() { + return new ClusterServiceVersionSpecISpecCPRulesBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecCPRulesBuilder 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/ClusterServiceVersionSpecISpecClusterPermissions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecClusterPermissions.java new file mode 100644 index 00000000000..6acd6ddfb83 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecClusterPermissions.java @@ -0,0 +1,126 @@ + +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({ + "rules", + "serviceAccountName" +}) +@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 ClusterServiceVersionSpecISpecClusterPermissions implements Editable , KubernetesResource +{ + + @JsonProperty("rules") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List rules = new ArrayList<>(); + @JsonProperty("serviceAccountName") + private String serviceAccountName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecClusterPermissions() { + } + + public ClusterServiceVersionSpecISpecClusterPermissions(List rules, String serviceAccountName) { + super(); + this.rules = rules; + this.serviceAccountName = serviceAccountName; + } + + @JsonProperty("rules") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getRules() { + return rules; + } + + @JsonProperty("rules") + public void setRules(List rules) { + this.rules = rules; + } + + @JsonProperty("serviceAccountName") + public String getServiceAccountName() { + return serviceAccountName; + } + + @JsonProperty("serviceAccountName") + public void setServiceAccountName(String serviceAccountName) { + this.serviceAccountName = serviceAccountName; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecClusterPermissionsBuilder edit() { + return new ClusterServiceVersionSpecISpecClusterPermissionsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecClusterPermissionsBuilder 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/ClusterServiceVersionSpecISpecDSpec.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpec.java new file mode 100644 index 00000000000..60ef19e988b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpec.java @@ -0,0 +1,206 @@ + +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({ + "minReadySeconds", + "paused", + "progressDeadlineSeconds", + "replicas", + "revisionHistoryLimit", + "selector", + "strategy", + "template" +}) +@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 ClusterServiceVersionSpecISpecDSpec implements Editable , KubernetesResource +{ + + @JsonProperty("minReadySeconds") + private Integer minReadySeconds; + @JsonProperty("paused") + private Boolean paused; + @JsonProperty("progressDeadlineSeconds") + private Integer progressDeadlineSeconds; + @JsonProperty("replicas") + private Integer replicas; + @JsonProperty("revisionHistoryLimit") + private Integer revisionHistoryLimit; + @JsonProperty("selector") + private ClusterServiceVersionSpecISpecDSpecSelector selector; + @JsonProperty("strategy") + private ClusterServiceVersionSpecISpecDSpecStrategy strategy; + @JsonProperty("template") + private ClusterServiceVersionSpecISpecDSpecTemplate template; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpec() { + } + + public ClusterServiceVersionSpecISpecDSpec(Integer minReadySeconds, Boolean paused, Integer progressDeadlineSeconds, Integer replicas, Integer revisionHistoryLimit, ClusterServiceVersionSpecISpecDSpecSelector selector, ClusterServiceVersionSpecISpecDSpecStrategy strategy, ClusterServiceVersionSpecISpecDSpecTemplate template) { + super(); + this.minReadySeconds = minReadySeconds; + this.paused = paused; + this.progressDeadlineSeconds = progressDeadlineSeconds; + this.replicas = replicas; + this.revisionHistoryLimit = revisionHistoryLimit; + this.selector = selector; + this.strategy = strategy; + this.template = template; + } + + @JsonProperty("minReadySeconds") + public Integer getMinReadySeconds() { + return minReadySeconds; + } + + @JsonProperty("minReadySeconds") + public void setMinReadySeconds(Integer minReadySeconds) { + this.minReadySeconds = minReadySeconds; + } + + @JsonProperty("paused") + public Boolean getPaused() { + return paused; + } + + @JsonProperty("paused") + public void setPaused(Boolean paused) { + this.paused = paused; + } + + @JsonProperty("progressDeadlineSeconds") + public Integer getProgressDeadlineSeconds() { + return progressDeadlineSeconds; + } + + @JsonProperty("progressDeadlineSeconds") + public void setProgressDeadlineSeconds(Integer progressDeadlineSeconds) { + this.progressDeadlineSeconds = progressDeadlineSeconds; + } + + @JsonProperty("replicas") + public Integer getReplicas() { + return replicas; + } + + @JsonProperty("replicas") + public void setReplicas(Integer replicas) { + this.replicas = replicas; + } + + @JsonProperty("revisionHistoryLimit") + public Integer getRevisionHistoryLimit() { + return revisionHistoryLimit; + } + + @JsonProperty("revisionHistoryLimit") + public void setRevisionHistoryLimit(Integer revisionHistoryLimit) { + this.revisionHistoryLimit = revisionHistoryLimit; + } + + @JsonProperty("selector") + public ClusterServiceVersionSpecISpecDSpecSelector getSelector() { + return selector; + } + + @JsonProperty("selector") + public void setSelector(ClusterServiceVersionSpecISpecDSpecSelector selector) { + this.selector = selector; + } + + @JsonProperty("strategy") + public ClusterServiceVersionSpecISpecDSpecStrategy getStrategy() { + return strategy; + } + + @JsonProperty("strategy") + public void setStrategy(ClusterServiceVersionSpecISpecDSpecStrategy strategy) { + this.strategy = strategy; + } + + @JsonProperty("template") + public ClusterServiceVersionSpecISpecDSpecTemplate getTemplate() { + return template; + } + + @JsonProperty("template") + public void setTemplate(ClusterServiceVersionSpecISpecDSpecTemplate template) { + this.template = template; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecBuilder 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/ClusterServiceVersionSpecISpecDSpecSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecSMatchExpressions.java new file mode 100644 index 00000000000..94be774a48b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecSMatchExpressions.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 ClusterServiceVersionSpecISpecDSpecSMatchExpressions 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 ClusterServiceVersionSpecISpecDSpecSMatchExpressions() { + } + + public ClusterServiceVersionSpecISpecDSpecSMatchExpressions(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 ClusterServiceVersionSpecISpecDSpecSMatchExpressionsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecSMatchExpressionsBuilder 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/ClusterServiceVersionSpecISpecDSpecSRollingUpdate.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecSRollingUpdate.java new file mode 100644 index 00000000000..bd2c6d4a452 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecSRollingUpdate.java @@ -0,0 +1,126 @@ + +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({ + "maxSurge", + "maxUnavailable" +}) +@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 ClusterServiceVersionSpecISpecDSpecSRollingUpdate implements Editable , KubernetesResource +{ + + @JsonProperty("maxSurge") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object maxSurge; + @JsonProperty("maxUnavailable") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object maxUnavailable; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecSRollingUpdate() { + } + + public ClusterServiceVersionSpecISpecDSpecSRollingUpdate(Object maxSurge, Object maxUnavailable) { + super(); + this.maxSurge = maxSurge; + this.maxUnavailable = maxUnavailable; + } + + @JsonProperty("maxSurge") + public Object getMaxSurge() { + return maxSurge; + } + + @JsonProperty("maxSurge") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setMaxSurge(Object maxSurge) { + this.maxSurge = maxSurge; + } + + @JsonProperty("maxUnavailable") + public Object getMaxUnavailable() { + return maxUnavailable; + } + + @JsonProperty("maxUnavailable") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setMaxUnavailable(Object maxUnavailable) { + this.maxUnavailable = maxUnavailable; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecSRollingUpdateBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecSRollingUpdateBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecSRollingUpdateBuilder 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/ClusterServiceVersionSpecISpecDSpecSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecSelector.java new file mode 100644 index 00000000000..7593e8bc55c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecSelector.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", + "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 ClusterServiceVersionSpecISpecDSpecSelector 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 ClusterServiceVersionSpecISpecDSpecSelector() { + } + + public ClusterServiceVersionSpecISpecDSpecSelector(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 ClusterServiceVersionSpecISpecDSpecSelectorBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecSelectorBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecSelectorBuilder 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/ClusterServiceVersionSpecISpecDSpecStrategy.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecStrategy.java new file mode 100644 index 00000000000..c2e2bf369cc --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecStrategy.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({ + "rollingUpdate", + "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 ClusterServiceVersionSpecISpecDSpecStrategy implements Editable , KubernetesResource +{ + + @JsonProperty("rollingUpdate") + private ClusterServiceVersionSpecISpecDSpecSRollingUpdate rollingUpdate; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecStrategy() { + } + + public ClusterServiceVersionSpecISpecDSpecStrategy(ClusterServiceVersionSpecISpecDSpecSRollingUpdate rollingUpdate, String type) { + super(); + this.rollingUpdate = rollingUpdate; + this.type = type; + } + + @JsonProperty("rollingUpdate") + public ClusterServiceVersionSpecISpecDSpecSRollingUpdate getRollingUpdate() { + return rollingUpdate; + } + + @JsonProperty("rollingUpdate") + public void setRollingUpdate(ClusterServiceVersionSpecISpecDSpecSRollingUpdate rollingUpdate) { + this.rollingUpdate = rollingUpdate; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecStrategyBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecStrategyBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecStrategyBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpec.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpec.java new file mode 100644 index 00000000000..806f9ebe445 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpec.java @@ -0,0 +1,671 @@ + +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.PodReadinessGate; +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({ + "activeDeadlineSeconds", + "affinity", + "automountServiceAccountToken", + "containers", + "dnsConfig", + "dnsPolicy", + "enableServiceLinks", + "ephemeralContainers", + "hostAliases", + "hostIPC", + "hostNetwork", + "hostPID", + "hostUsers", + "hostname", + "imagePullSecrets", + "initContainers", + "nodeName", + "nodeSelector", + "os", + "overhead", + "preemptionPolicy", + "priority", + "priorityClassName", + "readinessGates", + "resourceClaims", + "restartPolicy", + "runtimeClassName", + "schedulerName", + "schedulingGates", + "securityContext", + "serviceAccount", + "serviceAccountName", + "setHostnameAsFQDN", + "shareProcessNamespace", + "subdomain", + "terminationGracePeriodSeconds", + "tolerations", + "topologySpreadConstraints", + "volumes" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpec implements Editable , KubernetesResource +{ + + @JsonProperty("activeDeadlineSeconds") + private Long activeDeadlineSeconds; + @JsonProperty("affinity") + private ClusterServiceVersionSpecISpecDSpecTSpecAffinity affinity; + @JsonProperty("automountServiceAccountToken") + private Boolean automountServiceAccountToken; + @JsonProperty("containers") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List containers = new ArrayList<>(); + @JsonProperty("dnsConfig") + private ClusterServiceVersionSpecISpecDSpecTSpecDnsConfig dnsConfig; + @JsonProperty("dnsPolicy") + private String dnsPolicy; + @JsonProperty("enableServiceLinks") + private Boolean enableServiceLinks; + @JsonProperty("ephemeralContainers") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List ephemeralContainers = new ArrayList<>(); + @JsonProperty("hostAliases") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List hostAliases = new ArrayList<>(); + @JsonProperty("hostIPC") + private Boolean hostIPC; + @JsonProperty("hostNetwork") + private Boolean hostNetwork; + @JsonProperty("hostPID") + private Boolean hostPID; + @JsonProperty("hostUsers") + private Boolean hostUsers; + @JsonProperty("hostname") + private String hostname; + @JsonProperty("imagePullSecrets") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List imagePullSecrets = new ArrayList<>(); + @JsonProperty("initContainers") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List initContainers = new ArrayList<>(); + @JsonProperty("nodeName") + private String nodeName; + @JsonProperty("nodeSelector") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map nodeSelector = new LinkedHashMap<>(); + @JsonProperty("os") + private ClusterServiceVersionSpecISpecDSpecTSpecOs os; + @JsonProperty("overhead") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map overhead = new LinkedHashMap<>(); + @JsonProperty("preemptionPolicy") + private String preemptionPolicy; + @JsonProperty("priority") + private Integer priority; + @JsonProperty("priorityClassName") + private String priorityClassName; + @JsonProperty("readinessGates") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List readinessGates = new ArrayList<>(); + @JsonProperty("resourceClaims") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List resourceClaims = new ArrayList<>(); + @JsonProperty("restartPolicy") + private String restartPolicy; + @JsonProperty("runtimeClassName") + private String runtimeClassName; + @JsonProperty("schedulerName") + private String schedulerName; + @JsonProperty("schedulingGates") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List schedulingGates = new ArrayList<>(); + @JsonProperty("securityContext") + private ClusterServiceVersionSpecISpecDSpecTSpecSecurityContext securityContext; + @JsonProperty("serviceAccount") + private String serviceAccount; + @JsonProperty("serviceAccountName") + private String serviceAccountName; + @JsonProperty("setHostnameAsFQDN") + private Boolean setHostnameAsFQDN; + @JsonProperty("shareProcessNamespace") + private Boolean shareProcessNamespace; + @JsonProperty("subdomain") + private String subdomain; + @JsonProperty("terminationGracePeriodSeconds") + private Long terminationGracePeriodSeconds; + @JsonProperty("tolerations") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List tolerations = new ArrayList<>(); + @JsonProperty("topologySpreadConstraints") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List topologySpreadConstraints = new ArrayList<>(); + @JsonProperty("volumes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List volumes = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpec() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpec(Long activeDeadlineSeconds, ClusterServiceVersionSpecISpecDSpecTSpecAffinity affinity, Boolean automountServiceAccountToken, List containers, ClusterServiceVersionSpecISpecDSpecTSpecDnsConfig dnsConfig, String dnsPolicy, Boolean enableServiceLinks, List ephemeralContainers, List hostAliases, Boolean hostIPC, Boolean hostNetwork, Boolean hostPID, Boolean hostUsers, String hostname, List imagePullSecrets, List initContainers, String nodeName, Map nodeSelector, ClusterServiceVersionSpecISpecDSpecTSpecOs os, Map overhead, String preemptionPolicy, Integer priority, String priorityClassName, List readinessGates, List resourceClaims, String restartPolicy, String runtimeClassName, String schedulerName, List schedulingGates, ClusterServiceVersionSpecISpecDSpecTSpecSecurityContext securityContext, String serviceAccount, String serviceAccountName, Boolean setHostnameAsFQDN, Boolean shareProcessNamespace, String subdomain, Long terminationGracePeriodSeconds, List tolerations, List topologySpreadConstraints, List volumes) { + super(); + this.activeDeadlineSeconds = activeDeadlineSeconds; + this.affinity = affinity; + this.automountServiceAccountToken = automountServiceAccountToken; + this.containers = containers; + this.dnsConfig = dnsConfig; + this.dnsPolicy = dnsPolicy; + this.enableServiceLinks = enableServiceLinks; + this.ephemeralContainers = ephemeralContainers; + this.hostAliases = hostAliases; + this.hostIPC = hostIPC; + this.hostNetwork = hostNetwork; + this.hostPID = hostPID; + this.hostUsers = hostUsers; + this.hostname = hostname; + this.imagePullSecrets = imagePullSecrets; + this.initContainers = initContainers; + this.nodeName = nodeName; + this.nodeSelector = nodeSelector; + this.os = os; + this.overhead = overhead; + this.preemptionPolicy = preemptionPolicy; + this.priority = priority; + this.priorityClassName = priorityClassName; + this.readinessGates = readinessGates; + this.resourceClaims = resourceClaims; + this.restartPolicy = restartPolicy; + this.runtimeClassName = runtimeClassName; + this.schedulerName = schedulerName; + this.schedulingGates = schedulingGates; + this.securityContext = securityContext; + this.serviceAccount = serviceAccount; + this.serviceAccountName = serviceAccountName; + this.setHostnameAsFQDN = setHostnameAsFQDN; + this.shareProcessNamespace = shareProcessNamespace; + this.subdomain = subdomain; + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + this.tolerations = tolerations; + this.topologySpreadConstraints = topologySpreadConstraints; + this.volumes = volumes; + } + + @JsonProperty("activeDeadlineSeconds") + public Long getActiveDeadlineSeconds() { + return activeDeadlineSeconds; + } + + @JsonProperty("activeDeadlineSeconds") + public void setActiveDeadlineSeconds(Long activeDeadlineSeconds) { + this.activeDeadlineSeconds = activeDeadlineSeconds; + } + + @JsonProperty("affinity") + public ClusterServiceVersionSpecISpecDSpecTSpecAffinity getAffinity() { + return affinity; + } + + @JsonProperty("affinity") + public void setAffinity(ClusterServiceVersionSpecISpecDSpecTSpecAffinity affinity) { + this.affinity = affinity; + } + + @JsonProperty("automountServiceAccountToken") + public Boolean getAutomountServiceAccountToken() { + return automountServiceAccountToken; + } + + @JsonProperty("automountServiceAccountToken") + public void setAutomountServiceAccountToken(Boolean automountServiceAccountToken) { + this.automountServiceAccountToken = automountServiceAccountToken; + } + + @JsonProperty("containers") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getContainers() { + return containers; + } + + @JsonProperty("containers") + public void setContainers(List containers) { + this.containers = containers; + } + + @JsonProperty("dnsConfig") + public ClusterServiceVersionSpecISpecDSpecTSpecDnsConfig getDnsConfig() { + return dnsConfig; + } + + @JsonProperty("dnsConfig") + public void setDnsConfig(ClusterServiceVersionSpecISpecDSpecTSpecDnsConfig dnsConfig) { + this.dnsConfig = dnsConfig; + } + + @JsonProperty("dnsPolicy") + public String getDnsPolicy() { + return dnsPolicy; + } + + @JsonProperty("dnsPolicy") + public void setDnsPolicy(String dnsPolicy) { + this.dnsPolicy = dnsPolicy; + } + + @JsonProperty("enableServiceLinks") + public Boolean getEnableServiceLinks() { + return enableServiceLinks; + } + + @JsonProperty("enableServiceLinks") + public void setEnableServiceLinks(Boolean enableServiceLinks) { + this.enableServiceLinks = enableServiceLinks; + } + + @JsonProperty("ephemeralContainers") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getEphemeralContainers() { + return ephemeralContainers; + } + + @JsonProperty("ephemeralContainers") + public void setEphemeralContainers(List ephemeralContainers) { + this.ephemeralContainers = ephemeralContainers; + } + + @JsonProperty("hostAliases") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHostAliases() { + return hostAliases; + } + + @JsonProperty("hostAliases") + public void setHostAliases(List hostAliases) { + this.hostAliases = hostAliases; + } + + @JsonProperty("hostIPC") + public Boolean getHostIPC() { + return hostIPC; + } + + @JsonProperty("hostIPC") + public void setHostIPC(Boolean hostIPC) { + this.hostIPC = hostIPC; + } + + @JsonProperty("hostNetwork") + public Boolean getHostNetwork() { + return hostNetwork; + } + + @JsonProperty("hostNetwork") + public void setHostNetwork(Boolean hostNetwork) { + this.hostNetwork = hostNetwork; + } + + @JsonProperty("hostPID") + public Boolean getHostPID() { + return hostPID; + } + + @JsonProperty("hostPID") + public void setHostPID(Boolean hostPID) { + this.hostPID = hostPID; + } + + @JsonProperty("hostUsers") + public Boolean getHostUsers() { + return hostUsers; + } + + @JsonProperty("hostUsers") + public void setHostUsers(Boolean hostUsers) { + this.hostUsers = hostUsers; + } + + @JsonProperty("hostname") + public String getHostname() { + return hostname; + } + + @JsonProperty("hostname") + public void setHostname(String hostname) { + this.hostname = hostname; + } + + @JsonProperty("imagePullSecrets") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getImagePullSecrets() { + return imagePullSecrets; + } + + @JsonProperty("imagePullSecrets") + public void setImagePullSecrets(List imagePullSecrets) { + this.imagePullSecrets = imagePullSecrets; + } + + @JsonProperty("initContainers") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getInitContainers() { + return initContainers; + } + + @JsonProperty("initContainers") + public void setInitContainers(List initContainers) { + this.initContainers = initContainers; + } + + @JsonProperty("nodeName") + public String getNodeName() { + return nodeName; + } + + @JsonProperty("nodeName") + public void setNodeName(String nodeName) { + this.nodeName = nodeName; + } + + @JsonProperty("nodeSelector") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getNodeSelector() { + return nodeSelector; + } + + @JsonProperty("nodeSelector") + public void setNodeSelector(Map nodeSelector) { + this.nodeSelector = nodeSelector; + } + + @JsonProperty("os") + public ClusterServiceVersionSpecISpecDSpecTSpecOs getOs() { + return os; + } + + @JsonProperty("os") + public void setOs(ClusterServiceVersionSpecISpecDSpecTSpecOs os) { + this.os = os; + } + + @JsonProperty("overhead") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getOverhead() { + return overhead; + } + + @JsonProperty("overhead") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setOverhead(Map overhead) { + this.overhead = overhead; + } + + @JsonProperty("preemptionPolicy") + public String getPreemptionPolicy() { + return preemptionPolicy; + } + + @JsonProperty("preemptionPolicy") + public void setPreemptionPolicy(String preemptionPolicy) { + this.preemptionPolicy = preemptionPolicy; + } + + @JsonProperty("priority") + public Integer getPriority() { + return priority; + } + + @JsonProperty("priority") + public void setPriority(Integer priority) { + this.priority = priority; + } + + @JsonProperty("priorityClassName") + public String getPriorityClassName() { + return priorityClassName; + } + + @JsonProperty("priorityClassName") + public void setPriorityClassName(String priorityClassName) { + this.priorityClassName = priorityClassName; + } + + @JsonProperty("readinessGates") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getReadinessGates() { + return readinessGates; + } + + @JsonProperty("readinessGates") + public void setReadinessGates(List readinessGates) { + this.readinessGates = readinessGates; + } + + @JsonProperty("resourceClaims") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResourceClaims() { + return resourceClaims; + } + + @JsonProperty("resourceClaims") + public void setResourceClaims(List resourceClaims) { + this.resourceClaims = resourceClaims; + } + + @JsonProperty("restartPolicy") + public String getRestartPolicy() { + return restartPolicy; + } + + @JsonProperty("restartPolicy") + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + + @JsonProperty("runtimeClassName") + public String getRuntimeClassName() { + return runtimeClassName; + } + + @JsonProperty("runtimeClassName") + public void setRuntimeClassName(String runtimeClassName) { + this.runtimeClassName = runtimeClassName; + } + + @JsonProperty("schedulerName") + public String getSchedulerName() { + return schedulerName; + } + + @JsonProperty("schedulerName") + public void setSchedulerName(String schedulerName) { + this.schedulerName = schedulerName; + } + + @JsonProperty("schedulingGates") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSchedulingGates() { + return schedulingGates; + } + + @JsonProperty("schedulingGates") + public void setSchedulingGates(List schedulingGates) { + this.schedulingGates = schedulingGates; + } + + @JsonProperty("securityContext") + public ClusterServiceVersionSpecISpecDSpecTSpecSecurityContext getSecurityContext() { + return securityContext; + } + + @JsonProperty("securityContext") + public void setSecurityContext(ClusterServiceVersionSpecISpecDSpecTSpecSecurityContext securityContext) { + this.securityContext = securityContext; + } + + @JsonProperty("serviceAccount") + public String getServiceAccount() { + return serviceAccount; + } + + @JsonProperty("serviceAccount") + public void setServiceAccount(String serviceAccount) { + this.serviceAccount = serviceAccount; + } + + @JsonProperty("serviceAccountName") + public String getServiceAccountName() { + return serviceAccountName; + } + + @JsonProperty("serviceAccountName") + public void setServiceAccountName(String serviceAccountName) { + this.serviceAccountName = serviceAccountName; + } + + @JsonProperty("setHostnameAsFQDN") + public Boolean getSetHostnameAsFQDN() { + return setHostnameAsFQDN; + } + + @JsonProperty("setHostnameAsFQDN") + public void setSetHostnameAsFQDN(Boolean setHostnameAsFQDN) { + this.setHostnameAsFQDN = setHostnameAsFQDN; + } + + @JsonProperty("shareProcessNamespace") + public Boolean getShareProcessNamespace() { + return shareProcessNamespace; + } + + @JsonProperty("shareProcessNamespace") + public void setShareProcessNamespace(Boolean shareProcessNamespace) { + this.shareProcessNamespace = shareProcessNamespace; + } + + @JsonProperty("subdomain") + public String getSubdomain() { + return subdomain; + } + + @JsonProperty("subdomain") + public void setSubdomain(String subdomain) { + this.subdomain = subdomain; + } + + @JsonProperty("terminationGracePeriodSeconds") + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + @JsonProperty("terminationGracePeriodSeconds") + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @JsonProperty("tolerations") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getTolerations() { + return tolerations; + } + + @JsonProperty("tolerations") + public void setTolerations(List tolerations) { + this.tolerations = tolerations; + } + + @JsonProperty("topologySpreadConstraints") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getTopologySpreadConstraints() { + return topologySpreadConstraints; + } + + @JsonProperty("topologySpreadConstraints") + public void setTopologySpreadConstraints(List topologySpreadConstraints) { + this.topologySpreadConstraints = topologySpreadConstraints; + } + + @JsonProperty("volumes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getVolumes() { + return volumes; + } + + @JsonProperty("volumes") + public void setVolumes(List volumes) { + this.volumes = volumes; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPMatchExpressions.java new file mode 100644 index 00000000000..73e16741bc3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPMatchExpressions.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 ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPMatchExpressions 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 ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPMatchExpressions() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPMatchExpressions(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 ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPMatchExpressionsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPMatchExpressionsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPMatchExpressionsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPMatchFields.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPMatchFields.java new file mode 100644 index 00000000000..4d891848914 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPMatchFields.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 ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPMatchFields 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 ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPMatchFields() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPMatchFields(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 ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPMatchFieldsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPMatchFieldsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPMatchFieldsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPreference.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPreference.java new file mode 100644 index 00000000000..c49d39fa502 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPreference.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 ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPreference 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 ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPreference() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPreference(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 ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPreferenceBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPreferenceBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPreferenceBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecANAPreferredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecANAPreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..96f63dad65c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecANAPreferredDuringSchedulingIgnoredDuringExecution.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 ClusterServiceVersionSpecISpecDSpecTSpecANAPreferredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("preference") + private ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPreference preference; + @JsonProperty("weight") + private Integer weight; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecANAPreferredDuringSchedulingIgnoredDuringExecution() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecANAPreferredDuringSchedulingIgnoredDuringExecution(ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPreference preference, Integer weight) { + super(); + this.preference = preference; + this.weight = weight; + } + + @JsonProperty("preference") + public ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPreference getPreference() { + return preference; + } + + @JsonProperty("preference") + public void setPreference(ClusterServiceVersionSpecISpecDSpecTSpecANAPDSIDEPreference preference) { + this.preference = preference; + } + + @JsonProperty("weight") + public Integer getWeight() { + return weight; + } + + @JsonProperty("weight") + public void setWeight(Integer weight) { + this.weight = weight; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecANAPreferredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecANAPreferredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecANAPreferredDuringSchedulingIgnoredDuringExecutionBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecANARDSIDENSTMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecANARDSIDENSTMatchExpressions.java new file mode 100644 index 00000000000..c123f0cf2de --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecANARDSIDENSTMatchExpressions.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 ClusterServiceVersionSpecISpecDSpecTSpecANARDSIDENSTMatchExpressions 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 ClusterServiceVersionSpecISpecDSpecTSpecANARDSIDENSTMatchExpressions() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecANARDSIDENSTMatchExpressions(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 ClusterServiceVersionSpecISpecDSpecTSpecANARDSIDENSTMatchExpressionsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecANARDSIDENSTMatchExpressionsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecANARDSIDENSTMatchExpressionsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecANARDSIDENSTMatchFields.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecANARDSIDENSTMatchFields.java new file mode 100644 index 00000000000..c0c7d2fcd05 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecANARDSIDENSTMatchFields.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 ClusterServiceVersionSpecISpecDSpecTSpecANARDSIDENSTMatchFields 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 ClusterServiceVersionSpecISpecDSpecTSpecANARDSIDENSTMatchFields() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecANARDSIDENSTMatchFields(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 ClusterServiceVersionSpecISpecDSpecTSpecANARDSIDENSTMatchFieldsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecANARDSIDENSTMatchFieldsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecANARDSIDENSTMatchFieldsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecANARDSIDENodeSelectorTerms.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecANARDSIDENodeSelectorTerms.java new file mode 100644 index 00000000000..e91d6927ad6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecANARDSIDENodeSelectorTerms.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 ClusterServiceVersionSpecISpecDSpecTSpecANARDSIDENodeSelectorTerms 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 ClusterServiceVersionSpecISpecDSpecTSpecANARDSIDENodeSelectorTerms() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecANARDSIDENodeSelectorTerms(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 ClusterServiceVersionSpecISpecDSpecTSpecANARDSIDENodeSelectorTermsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecANARDSIDENodeSelectorTermsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecANARDSIDENodeSelectorTermsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecANARequiredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecANARequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..950cb20c8f6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecANARequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,112 @@ + +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({ + "nodeSelectorTerms" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecANARequiredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("nodeSelectorTerms") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List nodeSelectorTerms = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecANARequiredDuringSchedulingIgnoredDuringExecution() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecANARequiredDuringSchedulingIgnoredDuringExecution(List nodeSelectorTerms) { + super(); + this.nodeSelectorTerms = nodeSelectorTerms; + } + + @JsonProperty("nodeSelectorTerms") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNodeSelectorTerms() { + return nodeSelectorTerms; + } + + @JsonProperty("nodeSelectorTerms") + public void setNodeSelectorTerms(List nodeSelectorTerms) { + this.nodeSelectorTerms = nodeSelectorTerms; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecANARequiredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecANARequiredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecANARequiredDuringSchedulingIgnoredDuringExecutionBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecANodeAffinity.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecANodeAffinity.java new file mode 100644 index 00000000000..cfa80e4a616 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecANodeAffinity.java @@ -0,0 +1,126 @@ + +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({ + "preferredDuringSchedulingIgnoredDuringExecution", + "requiredDuringSchedulingIgnoredDuringExecution" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecANodeAffinity implements Editable , KubernetesResource +{ + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List preferredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + private ClusterServiceVersionSpecISpecDSpecTSpecANARequiredDuringSchedulingIgnoredDuringExecution requiredDuringSchedulingIgnoredDuringExecution; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecANodeAffinity() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecANodeAffinity(List preferredDuringSchedulingIgnoredDuringExecution, ClusterServiceVersionSpecISpecDSpecTSpecANARequiredDuringSchedulingIgnoredDuringExecution requiredDuringSchedulingIgnoredDuringExecution) { + super(); + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + public void setPreferredDuringSchedulingIgnoredDuringExecution(List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + public ClusterServiceVersionSpecISpecDSpecTSpecANARequiredDuringSchedulingIgnoredDuringExecution getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + public void setRequiredDuringSchedulingIgnoredDuringExecution(ClusterServiceVersionSpecISpecDSpecTSpecANARequiredDuringSchedulingIgnoredDuringExecution requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecANodeAffinityBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecANodeAffinityBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecANodeAffinityBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATLSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATLSMatchExpressions.java new file mode 100644 index 00000000000..85dff41015e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATLSMatchExpressions.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 ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATLSMatchExpressions 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 ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATLSMatchExpressions() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATLSMatchExpressions(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 ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATLSMatchExpressionsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATLSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATLSMatchExpressionsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATLabelSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATLabelSelector.java new file mode 100644 index 00000000000..459bbe24d58 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATLabelSelector.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", + "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 ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATLabelSelector 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 ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATLabelSelector() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATLabelSelector(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 ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATLabelSelectorBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATLabelSelectorBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATLabelSelectorBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATNSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATNSMatchExpressions.java new file mode 100644 index 00000000000..79472d87b52 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATNSMatchExpressions.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 ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATNSMatchExpressions 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 ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATNSMatchExpressions() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATNSMatchExpressions(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 ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATNSMatchExpressionsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATNSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATNSMatchExpressionsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATNamespaceSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATNamespaceSelector.java new file mode 100644 index 00000000000..96c76e84ffc --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATNamespaceSelector.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", + "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 ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATNamespaceSelector 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 ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATNamespaceSelector() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATNamespaceSelector(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 ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATNamespaceSelectorBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATNamespaceSelectorBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATNamespaceSelectorBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPodAffinityTerm.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPodAffinityTerm.java new file mode 100644 index 00000000000..518af300b58 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPodAffinityTerm.java @@ -0,0 +1,186 @@ + +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({ + "labelSelector", + "matchLabelKeys", + "mismatchLabelKeys", + "namespaceSelector", + "namespaces", + "topologyKey" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPodAffinityTerm implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATLabelSelector labelSelector; + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchLabelKeys = new ArrayList<>(); + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List mismatchLabelKeys = new ArrayList<>(); + @JsonProperty("namespaceSelector") + private ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATNamespaceSelector namespaceSelector; + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List namespaces = new ArrayList<>(); + @JsonProperty("topologyKey") + private String topologyKey; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPodAffinityTerm() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPodAffinityTerm(ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATLabelSelector labelSelector, List matchLabelKeys, List mismatchLabelKeys, ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATNamespaceSelector namespaceSelector, List namespaces, String topologyKey) { + super(); + this.labelSelector = labelSelector; + this.matchLabelKeys = matchLabelKeys; + this.mismatchLabelKeys = mismatchLabelKeys; + this.namespaceSelector = namespaceSelector; + this.namespaces = namespaces; + this.topologyKey = topologyKey; + } + + @JsonProperty("labelSelector") + public ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATLabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATLabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchLabelKeys() { + return matchLabelKeys; + } + + @JsonProperty("matchLabelKeys") + public void setMatchLabelKeys(List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMismatchLabelKeys() { + return mismatchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + public void setMismatchLabelKeys(List mismatchLabelKeys) { + this.mismatchLabelKeys = mismatchLabelKeys; + } + + @JsonProperty("namespaceSelector") + public ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATNamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + @JsonProperty("namespaceSelector") + public void setNamespaceSelector(ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPATNamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNamespaces() { + return namespaces; + } + + @JsonProperty("namespaces") + public void setNamespaces(List namespaces) { + this.namespaces = namespaces; + } + + @JsonProperty("topologyKey") + public String getTopologyKey() { + return topologyKey; + } + + @JsonProperty("topologyKey") + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPodAffinityTermBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPodAffinityTermBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPodAffinityTermBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecAPAAPreferredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAAPreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..7062cf7c122 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAAPreferredDuringSchedulingIgnoredDuringExecution.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({ + "podAffinityTerm", + "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 ClusterServiceVersionSpecISpecDSpecTSpecAPAAPreferredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("podAffinityTerm") + private ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPodAffinityTerm podAffinityTerm; + @JsonProperty("weight") + private Integer weight; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecAPAAPreferredDuringSchedulingIgnoredDuringExecution() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecAPAAPreferredDuringSchedulingIgnoredDuringExecution(ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPodAffinityTerm podAffinityTerm, Integer weight) { + super(); + this.podAffinityTerm = podAffinityTerm; + this.weight = weight; + } + + @JsonProperty("podAffinityTerm") + public ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPodAffinityTerm getPodAffinityTerm() { + return podAffinityTerm; + } + + @JsonProperty("podAffinityTerm") + public void setPodAffinityTerm(ClusterServiceVersionSpecISpecDSpecTSpecAPAAPDSIDEPodAffinityTerm podAffinityTerm) { + this.podAffinityTerm = podAffinityTerm; + } + + @JsonProperty("weight") + public Integer getWeight() { + return weight; + } + + @JsonProperty("weight") + public void setWeight(Integer weight) { + this.weight = weight; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPAAPreferredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecAPAAPreferredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPAAPreferredDuringSchedulingIgnoredDuringExecutionBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDELSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDELSMatchExpressions.java new file mode 100644 index 00000000000..e39ff039260 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDELSMatchExpressions.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 ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDELSMatchExpressions 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 ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDELSMatchExpressions() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDELSMatchExpressions(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 ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDELSMatchExpressionsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDELSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDELSMatchExpressionsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDELabelSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDELabelSelector.java new file mode 100644 index 00000000000..bc90a651360 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDELabelSelector.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", + "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 ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDELabelSelector 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 ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDELabelSelector() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDELabelSelector(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 ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDELabelSelectorBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDELabelSelectorBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDELabelSelectorBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDENSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDENSMatchExpressions.java new file mode 100644 index 00000000000..d864f6ac817 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDENSMatchExpressions.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 ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDENSMatchExpressions 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 ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDENSMatchExpressions() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDENSMatchExpressions(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 ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDENSMatchExpressionsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDENSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDENSMatchExpressionsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDENamespaceSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDENamespaceSelector.java new file mode 100644 index 00000000000..22607ca25cd --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDENamespaceSelector.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", + "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 ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDENamespaceSelector 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 ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDENamespaceSelector() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDENamespaceSelector(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 ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDENamespaceSelectorBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDENamespaceSelectorBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDENamespaceSelectorBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecAPAARequiredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAARequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..137ff69a47b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAARequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,186 @@ + +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({ + "labelSelector", + "matchLabelKeys", + "mismatchLabelKeys", + "namespaceSelector", + "namespaces", + "topologyKey" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecAPAARequiredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDELabelSelector labelSelector; + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchLabelKeys = new ArrayList<>(); + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List mismatchLabelKeys = new ArrayList<>(); + @JsonProperty("namespaceSelector") + private ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDENamespaceSelector namespaceSelector; + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List namespaces = new ArrayList<>(); + @JsonProperty("topologyKey") + private String topologyKey; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecAPAARequiredDuringSchedulingIgnoredDuringExecution() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecAPAARequiredDuringSchedulingIgnoredDuringExecution(ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDELabelSelector labelSelector, List matchLabelKeys, List mismatchLabelKeys, ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDENamespaceSelector namespaceSelector, List namespaces, String topologyKey) { + super(); + this.labelSelector = labelSelector; + this.matchLabelKeys = matchLabelKeys; + this.mismatchLabelKeys = mismatchLabelKeys; + this.namespaceSelector = namespaceSelector; + this.namespaces = namespaces; + this.topologyKey = topologyKey; + } + + @JsonProperty("labelSelector") + public ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDELabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDELabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchLabelKeys() { + return matchLabelKeys; + } + + @JsonProperty("matchLabelKeys") + public void setMatchLabelKeys(List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMismatchLabelKeys() { + return mismatchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + public void setMismatchLabelKeys(List mismatchLabelKeys) { + this.mismatchLabelKeys = mismatchLabelKeys; + } + + @JsonProperty("namespaceSelector") + public ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDENamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + @JsonProperty("namespaceSelector") + public void setNamespaceSelector(ClusterServiceVersionSpecISpecDSpecTSpecAPAARDSIDENamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNamespaces() { + return namespaces; + } + + @JsonProperty("namespaces") + public void setNamespaces(List namespaces) { + this.namespaces = namespaces; + } + + @JsonProperty("topologyKey") + public String getTopologyKey() { + return topologyKey; + } + + @JsonProperty("topologyKey") + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPAARequiredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecAPAARequiredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPAARequiredDuringSchedulingIgnoredDuringExecutionBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATLSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATLSMatchExpressions.java new file mode 100644 index 00000000000..bf8b9a6a9fa --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATLSMatchExpressions.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 ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATLSMatchExpressions 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 ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATLSMatchExpressions() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATLSMatchExpressions(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 ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATLSMatchExpressionsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATLSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATLSMatchExpressionsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATLabelSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATLabelSelector.java new file mode 100644 index 00000000000..793fcc4d512 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATLabelSelector.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", + "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 ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATLabelSelector 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 ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATLabelSelector() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATLabelSelector(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 ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATLabelSelectorBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATLabelSelectorBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATLabelSelectorBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATNSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATNSMatchExpressions.java new file mode 100644 index 00000000000..43f0a234553 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATNSMatchExpressions.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 ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATNSMatchExpressions 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 ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATNSMatchExpressions() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATNSMatchExpressions(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 ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATNSMatchExpressionsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATNSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATNSMatchExpressionsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATNamespaceSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATNamespaceSelector.java new file mode 100644 index 00000000000..507fcbf7980 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATNamespaceSelector.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", + "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 ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATNamespaceSelector 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 ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATNamespaceSelector() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATNamespaceSelector(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 ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATNamespaceSelectorBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATNamespaceSelectorBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATNamespaceSelectorBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPodAffinityTerm.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPodAffinityTerm.java new file mode 100644 index 00000000000..f79aa016359 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPodAffinityTerm.java @@ -0,0 +1,186 @@ + +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({ + "labelSelector", + "matchLabelKeys", + "mismatchLabelKeys", + "namespaceSelector", + "namespaces", + "topologyKey" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPodAffinityTerm implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATLabelSelector labelSelector; + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchLabelKeys = new ArrayList<>(); + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List mismatchLabelKeys = new ArrayList<>(); + @JsonProperty("namespaceSelector") + private ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATNamespaceSelector namespaceSelector; + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List namespaces = new ArrayList<>(); + @JsonProperty("topologyKey") + private String topologyKey; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPodAffinityTerm() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPodAffinityTerm(ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATLabelSelector labelSelector, List matchLabelKeys, List mismatchLabelKeys, ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATNamespaceSelector namespaceSelector, List namespaces, String topologyKey) { + super(); + this.labelSelector = labelSelector; + this.matchLabelKeys = matchLabelKeys; + this.mismatchLabelKeys = mismatchLabelKeys; + this.namespaceSelector = namespaceSelector; + this.namespaces = namespaces; + this.topologyKey = topologyKey; + } + + @JsonProperty("labelSelector") + public ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATLabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATLabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchLabelKeys() { + return matchLabelKeys; + } + + @JsonProperty("matchLabelKeys") + public void setMatchLabelKeys(List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMismatchLabelKeys() { + return mismatchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + public void setMismatchLabelKeys(List mismatchLabelKeys) { + this.mismatchLabelKeys = mismatchLabelKeys; + } + + @JsonProperty("namespaceSelector") + public ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATNamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + @JsonProperty("namespaceSelector") + public void setNamespaceSelector(ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPATNamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNamespaces() { + return namespaces; + } + + @JsonProperty("namespaces") + public void setNamespaces(List namespaces) { + this.namespaces = namespaces; + } + + @JsonProperty("topologyKey") + public String getTopologyKey() { + return topologyKey; + } + + @JsonProperty("topologyKey") + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPodAffinityTermBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPodAffinityTermBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPodAffinityTermBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecAPAPreferredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAPreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..d10ee9da3f3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPAPreferredDuringSchedulingIgnoredDuringExecution.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({ + "podAffinityTerm", + "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 ClusterServiceVersionSpecISpecDSpecTSpecAPAPreferredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("podAffinityTerm") + private ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPodAffinityTerm podAffinityTerm; + @JsonProperty("weight") + private Integer weight; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecAPAPreferredDuringSchedulingIgnoredDuringExecution() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecAPAPreferredDuringSchedulingIgnoredDuringExecution(ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPodAffinityTerm podAffinityTerm, Integer weight) { + super(); + this.podAffinityTerm = podAffinityTerm; + this.weight = weight; + } + + @JsonProperty("podAffinityTerm") + public ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPodAffinityTerm getPodAffinityTerm() { + return podAffinityTerm; + } + + @JsonProperty("podAffinityTerm") + public void setPodAffinityTerm(ClusterServiceVersionSpecISpecDSpecTSpecAPAPDSIDEPodAffinityTerm podAffinityTerm) { + this.podAffinityTerm = podAffinityTerm; + } + + @JsonProperty("weight") + public Integer getWeight() { + return weight; + } + + @JsonProperty("weight") + public void setWeight(Integer weight) { + this.weight = weight; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPAPreferredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecAPAPreferredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPAPreferredDuringSchedulingIgnoredDuringExecutionBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDELSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDELSMatchExpressions.java new file mode 100644 index 00000000000..c11d66049d7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDELSMatchExpressions.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 ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDELSMatchExpressions 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 ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDELSMatchExpressions() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDELSMatchExpressions(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 ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDELSMatchExpressionsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDELSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDELSMatchExpressionsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDELabelSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDELabelSelector.java new file mode 100644 index 00000000000..76ae01f32ee --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDELabelSelector.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", + "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 ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDELabelSelector 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 ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDELabelSelector() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDELabelSelector(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 ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDELabelSelectorBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDELabelSelectorBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDELabelSelectorBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDENSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDENSMatchExpressions.java new file mode 100644 index 00000000000..bb4678b4cb4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDENSMatchExpressions.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 ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDENSMatchExpressions 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 ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDENSMatchExpressions() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDENSMatchExpressions(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 ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDENSMatchExpressionsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDENSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDENSMatchExpressionsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDENamespaceSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDENamespaceSelector.java new file mode 100644 index 00000000000..e3b767f79e6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDENamespaceSelector.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", + "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 ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDENamespaceSelector 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 ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDENamespaceSelector() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDENamespaceSelector(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 ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDENamespaceSelectorBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDENamespaceSelectorBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDENamespaceSelectorBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecAPARequiredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPARequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..3f797533e46 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPARequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,186 @@ + +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({ + "labelSelector", + "matchLabelKeys", + "mismatchLabelKeys", + "namespaceSelector", + "namespaces", + "topologyKey" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecAPARequiredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDELabelSelector labelSelector; + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchLabelKeys = new ArrayList<>(); + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List mismatchLabelKeys = new ArrayList<>(); + @JsonProperty("namespaceSelector") + private ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDENamespaceSelector namespaceSelector; + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List namespaces = new ArrayList<>(); + @JsonProperty("topologyKey") + private String topologyKey; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecAPARequiredDuringSchedulingIgnoredDuringExecution() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecAPARequiredDuringSchedulingIgnoredDuringExecution(ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDELabelSelector labelSelector, List matchLabelKeys, List mismatchLabelKeys, ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDENamespaceSelector namespaceSelector, List namespaces, String topologyKey) { + super(); + this.labelSelector = labelSelector; + this.matchLabelKeys = matchLabelKeys; + this.mismatchLabelKeys = mismatchLabelKeys; + this.namespaceSelector = namespaceSelector; + this.namespaces = namespaces; + this.topologyKey = topologyKey; + } + + @JsonProperty("labelSelector") + public ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDELabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDELabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchLabelKeys() { + return matchLabelKeys; + } + + @JsonProperty("matchLabelKeys") + public void setMatchLabelKeys(List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMismatchLabelKeys() { + return mismatchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + public void setMismatchLabelKeys(List mismatchLabelKeys) { + this.mismatchLabelKeys = mismatchLabelKeys; + } + + @JsonProperty("namespaceSelector") + public ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDENamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + @JsonProperty("namespaceSelector") + public void setNamespaceSelector(ClusterServiceVersionSpecISpecDSpecTSpecAPARDSIDENamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNamespaces() { + return namespaces; + } + + @JsonProperty("namespaces") + public void setNamespaces(List namespaces) { + this.namespaces = namespaces; + } + + @JsonProperty("topologyKey") + public String getTopologyKey() { + return topologyKey; + } + + @JsonProperty("topologyKey") + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPARequiredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecAPARequiredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPARequiredDuringSchedulingIgnoredDuringExecutionBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecAPodAffinity.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPodAffinity.java new file mode 100644 index 00000000000..0e474d0bb65 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPodAffinity.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({ + "preferredDuringSchedulingIgnoredDuringExecution", + "requiredDuringSchedulingIgnoredDuringExecution" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecAPodAffinity implements Editable , KubernetesResource +{ + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List preferredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List requiredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecAPodAffinity() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecAPodAffinity(List preferredDuringSchedulingIgnoredDuringExecution, List requiredDuringSchedulingIgnoredDuringExecution) { + super(); + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + public void setPreferredDuringSchedulingIgnoredDuringExecution(List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + public void setRequiredDuringSchedulingIgnoredDuringExecution(List requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPodAffinityBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecAPodAffinityBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPodAffinityBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecAPodAntiAffinity.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPodAntiAffinity.java new file mode 100644 index 00000000000..c99c39c395e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAPodAntiAffinity.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({ + "preferredDuringSchedulingIgnoredDuringExecution", + "requiredDuringSchedulingIgnoredDuringExecution" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecAPodAntiAffinity implements Editable , KubernetesResource +{ + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List preferredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List requiredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecAPodAntiAffinity() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecAPodAntiAffinity(List preferredDuringSchedulingIgnoredDuringExecution, List requiredDuringSchedulingIgnoredDuringExecution) { + super(); + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + public void setPreferredDuringSchedulingIgnoredDuringExecution(List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + public void setRequiredDuringSchedulingIgnoredDuringExecution(List requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPodAntiAffinityBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecAPodAntiAffinityBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAPodAntiAffinityBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecAffinity.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAffinity.java new file mode 100644 index 00000000000..691b04ec496 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecAffinity.java @@ -0,0 +1,136 @@ + +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({ + "nodeAffinity", + "podAffinity", + "podAntiAffinity" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecAffinity implements Editable , KubernetesResource +{ + + @JsonProperty("nodeAffinity") + private ClusterServiceVersionSpecISpecDSpecTSpecANodeAffinity nodeAffinity; + @JsonProperty("podAffinity") + private ClusterServiceVersionSpecISpecDSpecTSpecAPodAffinity podAffinity; + @JsonProperty("podAntiAffinity") + private ClusterServiceVersionSpecISpecDSpecTSpecAPodAntiAffinity podAntiAffinity; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecAffinity() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecAffinity(ClusterServiceVersionSpecISpecDSpecTSpecANodeAffinity nodeAffinity, ClusterServiceVersionSpecISpecDSpecTSpecAPodAffinity podAffinity, ClusterServiceVersionSpecISpecDSpecTSpecAPodAntiAffinity podAntiAffinity) { + super(); + this.nodeAffinity = nodeAffinity; + this.podAffinity = podAffinity; + this.podAntiAffinity = podAntiAffinity; + } + + @JsonProperty("nodeAffinity") + public ClusterServiceVersionSpecISpecDSpecTSpecANodeAffinity getNodeAffinity() { + return nodeAffinity; + } + + @JsonProperty("nodeAffinity") + public void setNodeAffinity(ClusterServiceVersionSpecISpecDSpecTSpecANodeAffinity nodeAffinity) { + this.nodeAffinity = nodeAffinity; + } + + @JsonProperty("podAffinity") + public ClusterServiceVersionSpecISpecDSpecTSpecAPodAffinity getPodAffinity() { + return podAffinity; + } + + @JsonProperty("podAffinity") + public void setPodAffinity(ClusterServiceVersionSpecISpecDSpecTSpecAPodAffinity podAffinity) { + this.podAffinity = podAffinity; + } + + @JsonProperty("podAntiAffinity") + public ClusterServiceVersionSpecISpecDSpecTSpecAPodAntiAffinity getPodAntiAffinity() { + return podAntiAffinity; + } + + @JsonProperty("podAntiAffinity") + public void setPodAntiAffinity(ClusterServiceVersionSpecISpecDSpecTSpecAPodAntiAffinity podAntiAffinity) { + this.podAntiAffinity = podAntiAffinity; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAffinityBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecAffinityBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecAffinityBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCEFConfigMapRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCEFConfigMapRef.java new file mode 100644 index 00000000000..778d0acfca5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCEFConfigMapRef.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({ + "name", + "optional" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCEFConfigMapRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCEFConfigMapRef() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCEFConfigMapRef(String name, Boolean optional) { + super(); + this.name = name; + this.optional = optional; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCEFConfigMapRefBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCEFConfigMapRefBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCEFConfigMapRefBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCEFSecretRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCEFSecretRef.java new file mode 100644 index 00000000000..344d7cfe37f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCEFSecretRef.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({ + "name", + "optional" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCEFSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCEFSecretRef() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCEFSecretRef(String name, Boolean optional) { + super(); + this.name = name; + this.optional = optional; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCEFSecretRefBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCEFSecretRefBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCEFSecretRefBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCEVFConfigMapKeyRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCEVFConfigMapKeyRef.java new file mode 100644 index 00000000000..19fd2b1343f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCEVFConfigMapKeyRef.java @@ -0,0 +1,136 @@ + +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({ + "key", + "name", + "optional" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCEVFConfigMapKeyRef implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCEVFConfigMapKeyRef() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCEVFConfigMapKeyRef(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCEVFConfigMapKeyRefBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCEVFConfigMapKeyRefBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCEVFConfigMapKeyRefBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCEVFFieldRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCEVFFieldRef.java new file mode 100644 index 00000000000..3a549b1b749 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCEVFFieldRef.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({ + "apiVersion", + "fieldPath" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCEVFFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiVersion") + private String apiVersion; + @JsonProperty("fieldPath") + private String fieldPath; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCEVFFieldRef() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCEVFFieldRef(String apiVersion, String fieldPath) { + super(); + this.apiVersion = apiVersion; + this.fieldPath = fieldPath; + } + + @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; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCEVFFieldRefBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCEVFFieldRefBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCEVFFieldRefBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCEVFResourceFieldRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCEVFResourceFieldRef.java new file mode 100644 index 00000000000..4cb4ec8a283 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCEVFResourceFieldRef.java @@ -0,0 +1,138 @@ + +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({ + "containerName", + "divisor", + "resource" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCEVFResourceFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("containerName") + private String containerName; + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object divisor; + @JsonProperty("resource") + private String resource; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCEVFResourceFieldRef() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCEVFResourceFieldRef(String containerName, Object divisor, String resource) { + super(); + this.containerName = containerName; + this.divisor = divisor; + this.resource = resource; + } + + @JsonProperty("containerName") + public String getContainerName() { + return containerName; + } + + @JsonProperty("containerName") + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @JsonProperty("divisor") + public Object getDivisor() { + return divisor; + } + + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setDivisor(Object divisor) { + this.divisor = divisor; + } + + @JsonProperty("resource") + public String getResource() { + return resource; + } + + @JsonProperty("resource") + public void setResource(String resource) { + this.resource = resource; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCEVFResourceFieldRefBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCEVFResourceFieldRefBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCEVFResourceFieldRefBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCEVFSecretKeyRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCEVFSecretKeyRef.java new file mode 100644 index 00000000000..7c7bd07463a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCEVFSecretKeyRef.java @@ -0,0 +1,136 @@ + +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({ + "key", + "name", + "optional" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCEVFSecretKeyRef implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCEVFSecretKeyRef() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCEVFSecretKeyRef(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCEVFSecretKeyRefBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCEVFSecretKeyRefBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCEVFSecretKeyRefBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCEValueFrom.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCEValueFrom.java new file mode 100644 index 00000000000..97501f49936 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCEValueFrom.java @@ -0,0 +1,150 @@ + +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({ + "configMapKeyRef", + "fieldRef", + "resourceFieldRef", + "secretKeyRef" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCEValueFrom implements Editable , KubernetesResource +{ + + @JsonProperty("configMapKeyRef") + private ClusterServiceVersionSpecISpecDSpecTSpecCEVFConfigMapKeyRef configMapKeyRef; + @JsonProperty("fieldRef") + private ClusterServiceVersionSpecISpecDSpecTSpecCEVFFieldRef fieldRef; + @JsonProperty("resourceFieldRef") + private ClusterServiceVersionSpecISpecDSpecTSpecCEVFResourceFieldRef resourceFieldRef; + @JsonProperty("secretKeyRef") + private ClusterServiceVersionSpecISpecDSpecTSpecCEVFSecretKeyRef secretKeyRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCEValueFrom() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCEValueFrom(ClusterServiceVersionSpecISpecDSpecTSpecCEVFConfigMapKeyRef configMapKeyRef, ClusterServiceVersionSpecISpecDSpecTSpecCEVFFieldRef fieldRef, ClusterServiceVersionSpecISpecDSpecTSpecCEVFResourceFieldRef resourceFieldRef, ClusterServiceVersionSpecISpecDSpecTSpecCEVFSecretKeyRef secretKeyRef) { + super(); + this.configMapKeyRef = configMapKeyRef; + this.fieldRef = fieldRef; + this.resourceFieldRef = resourceFieldRef; + this.secretKeyRef = secretKeyRef; + } + + @JsonProperty("configMapKeyRef") + public ClusterServiceVersionSpecISpecDSpecTSpecCEVFConfigMapKeyRef getConfigMapKeyRef() { + return configMapKeyRef; + } + + @JsonProperty("configMapKeyRef") + public void setConfigMapKeyRef(ClusterServiceVersionSpecISpecDSpecTSpecCEVFConfigMapKeyRef configMapKeyRef) { + this.configMapKeyRef = configMapKeyRef; + } + + @JsonProperty("fieldRef") + public ClusterServiceVersionSpecISpecDSpecTSpecCEVFFieldRef getFieldRef() { + return fieldRef; + } + + @JsonProperty("fieldRef") + public void setFieldRef(ClusterServiceVersionSpecISpecDSpecTSpecCEVFFieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @JsonProperty("resourceFieldRef") + public ClusterServiceVersionSpecISpecDSpecTSpecCEVFResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + @JsonProperty("resourceFieldRef") + public void setResourceFieldRef(ClusterServiceVersionSpecISpecDSpecTSpecCEVFResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @JsonProperty("secretKeyRef") + public ClusterServiceVersionSpecISpecDSpecTSpecCEVFSecretKeyRef getSecretKeyRef() { + return secretKeyRef; + } + + @JsonProperty("secretKeyRef") + public void setSecretKeyRef(ClusterServiceVersionSpecISpecDSpecTSpecCEVFSecretKeyRef secretKeyRef) { + this.secretKeyRef = secretKeyRef; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCEValueFromBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCEValueFromBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCEValueFromBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCEnv.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCEnv.java new file mode 100644 index 00000000000..e91029a2bbb --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCEnv.java @@ -0,0 +1,136 @@ + +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({ + "name", + "value", + "valueFrom" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCEnv implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonProperty("valueFrom") + private ClusterServiceVersionSpecISpecDSpecTSpecCEValueFrom valueFrom; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCEnv() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCEnv(String name, String value, ClusterServiceVersionSpecISpecDSpecTSpecCEValueFrom valueFrom) { + super(); + this.name = name; + this.value = value; + this.valueFrom = valueFrom; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonProperty("valueFrom") + public ClusterServiceVersionSpecISpecDSpecTSpecCEValueFrom getValueFrom() { + return valueFrom; + } + + @JsonProperty("valueFrom") + public void setValueFrom(ClusterServiceVersionSpecISpecDSpecTSpecCEValueFrom valueFrom) { + this.valueFrom = valueFrom; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCEnvBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCEnvBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCEnvBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCEnvFrom.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCEnvFrom.java new file mode 100644 index 00000000000..c1df987529d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCEnvFrom.java @@ -0,0 +1,136 @@ + +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({ + "configMapRef", + "prefix", + "secretRef" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCEnvFrom implements Editable , KubernetesResource +{ + + @JsonProperty("configMapRef") + private ClusterServiceVersionSpecISpecDSpecTSpecCEFConfigMapRef configMapRef; + @JsonProperty("prefix") + private String prefix; + @JsonProperty("secretRef") + private ClusterServiceVersionSpecISpecDSpecTSpecCEFSecretRef secretRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCEnvFrom() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCEnvFrom(ClusterServiceVersionSpecISpecDSpecTSpecCEFConfigMapRef configMapRef, String prefix, ClusterServiceVersionSpecISpecDSpecTSpecCEFSecretRef secretRef) { + super(); + this.configMapRef = configMapRef; + this.prefix = prefix; + this.secretRef = secretRef; + } + + @JsonProperty("configMapRef") + public ClusterServiceVersionSpecISpecDSpecTSpecCEFConfigMapRef getConfigMapRef() { + return configMapRef; + } + + @JsonProperty("configMapRef") + public void setConfigMapRef(ClusterServiceVersionSpecISpecDSpecTSpecCEFConfigMapRef configMapRef) { + this.configMapRef = configMapRef; + } + + @JsonProperty("prefix") + public String getPrefix() { + return prefix; + } + + @JsonProperty("prefix") + public void setPrefix(String prefix) { + this.prefix = prefix; + } + + @JsonProperty("secretRef") + public ClusterServiceVersionSpecISpecDSpecTSpecCEFSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(ClusterServiceVersionSpecISpecDSpecTSpecCEFSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCEnvFromBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCEnvFromBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCEnvFromBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCLPExec.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPExec.java new file mode 100644 index 00000000000..3c51b0d60c2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPExec.java @@ -0,0 +1,112 @@ + +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({ + "command" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCLPExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCLPExec() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCLPExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPExecBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCLPExecBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPExecBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCLPGrpc.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPGrpc.java new file mode 100644 index 00000000000..176de3f05bd --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPGrpc.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({ + "port", + "service" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCLPGrpc implements Editable , KubernetesResource +{ + + @JsonProperty("port") + private Integer port; + @JsonProperty("service") + private String service; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCLPGrpc() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCLPGrpc(Integer port, String service) { + super(); + this.port = port; + this.service = service; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("service") + public String getService() { + return service; + } + + @JsonProperty("service") + public void setService(String service) { + this.service = service; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPGrpcBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCLPGrpcBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPGrpcBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCLPHGHttpHeaders.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPHGHttpHeaders.java new file mode 100644 index 00000000000..2416ea29b0f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPHGHttpHeaders.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({ + "name", + "value" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCLPHGHttpHeaders implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCLPHGHttpHeaders() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCLPHGHttpHeaders(String name, String value) { + super(); + this.name = name; + this.value = value; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPHGHttpHeadersBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCLPHGHttpHeadersBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPHGHttpHeadersBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCLPHttpGet.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPHttpGet.java new file mode 100644 index 00000000000..2e32145dbe4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPHttpGet.java @@ -0,0 +1,170 @@ + +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({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCLPHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCLPHttpGet() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCLPHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPHttpGetBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCLPHttpGetBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPHttpGetBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCLPSExec.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPSExec.java new file mode 100644 index 00000000000..01edf4ea0f9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPSExec.java @@ -0,0 +1,112 @@ + +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({ + "command" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCLPSExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSExec() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSExecBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCLPSExecBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSExecBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCLPSExec_1.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPSExec_1.java new file mode 100644 index 00000000000..a40098cc62a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPSExec_1.java @@ -0,0 +1,112 @@ + +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({ + "command" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCLPSExec_1 implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSExec_1() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSExec_1(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSExec_1Builder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCLPSExec_1Builder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSExec_1Builder 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/ClusterServiceVersionSpecISpecDSpecTSpecCLPSHGHttpHeaders.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPSHGHttpHeaders.java new file mode 100644 index 00000000000..c0534f80d2f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPSHGHttpHeaders.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({ + "name", + "value" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCLPSHGHttpHeaders implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSHGHttpHeaders() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSHGHttpHeaders(String name, String value) { + super(); + this.name = name; + this.value = value; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSHGHttpHeadersBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCLPSHGHttpHeadersBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSHGHttpHeadersBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCLPSHGHttpHeaders_1.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPSHGHttpHeaders_1.java new file mode 100644 index 00000000000..282f320ac90 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPSHGHttpHeaders_1.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({ + "name", + "value" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCLPSHGHttpHeaders_1 implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSHGHttpHeaders_1() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSHGHttpHeaders_1(String name, String value) { + super(); + this.name = name; + this.value = value; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSHGHttpHeaders_1Builder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCLPSHGHttpHeaders_1Builder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSHGHttpHeaders_1Builder 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/ClusterServiceVersionSpecISpecDSpecTSpecCLPSHttpGet.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPSHttpGet.java new file mode 100644 index 00000000000..15a50d645a0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPSHttpGet.java @@ -0,0 +1,170 @@ + +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({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCLPSHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSHttpGet() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSHttpGetBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCLPSHttpGetBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSHttpGetBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCLPSHttpGet_1.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPSHttpGet_1.java new file mode 100644 index 00000000000..f8db5100a71 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPSHttpGet_1.java @@ -0,0 +1,170 @@ + +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({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCLPSHttpGet_1 implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSHttpGet_1() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSHttpGet_1(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSHttpGet_1Builder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCLPSHttpGet_1Builder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSHttpGet_1Builder 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/ClusterServiceVersionSpecISpecDSpecTSpecCLPSSleep.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPSSleep.java new file mode 100644 index 00000000000..16bc3409ee4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPSSleep.java @@ -0,0 +1,108 @@ + +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({ + "seconds" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCLPSSleep implements Editable , KubernetesResource +{ + + @JsonProperty("seconds") + private Long seconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSSleep() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSSleep(Long seconds) { + super(); + this.seconds = seconds; + } + + @JsonProperty("seconds") + public Long getSeconds() { + return seconds; + } + + @JsonProperty("seconds") + public void setSeconds(Long seconds) { + this.seconds = seconds; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSSleepBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCLPSSleepBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSSleepBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCLPSSleep_1.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPSSleep_1.java new file mode 100644 index 00000000000..35b020adceb --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPSSleep_1.java @@ -0,0 +1,108 @@ + +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({ + "seconds" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCLPSSleep_1 implements Editable , KubernetesResource +{ + + @JsonProperty("seconds") + private Long seconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSSleep_1() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSSleep_1(Long seconds) { + super(); + this.seconds = seconds; + } + + @JsonProperty("seconds") + public Long getSeconds() { + return seconds; + } + + @JsonProperty("seconds") + public void setSeconds(Long seconds) { + this.seconds = seconds; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSSleep_1Builder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCLPSSleep_1Builder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSSleep_1Builder 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/ClusterServiceVersionSpecISpecDSpecTSpecCLPSTcpSocket.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPSTcpSocket.java new file mode 100644 index 00000000000..c86c3975818 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPSTcpSocket.java @@ -0,0 +1,124 @@ + +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({ + "host", + "port" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCLPSTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSTcpSocket() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSTcpSocketBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCLPSTcpSocketBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSTcpSocketBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCLPSTcpSocket_1.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPSTcpSocket_1.java new file mode 100644 index 00000000000..48fb99e8f13 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPSTcpSocket_1.java @@ -0,0 +1,124 @@ + +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({ + "host", + "port" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCLPSTcpSocket_1 implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSTcpSocket_1() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSTcpSocket_1(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSTcpSocket_1Builder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCLPSTcpSocket_1Builder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSTcpSocket_1Builder 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/ClusterServiceVersionSpecISpecDSpecTSpecCLPTcpSocket.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPTcpSocket.java new file mode 100644 index 00000000000..516b7a40ad1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPTcpSocket.java @@ -0,0 +1,124 @@ + +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({ + "host", + "port" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCLPTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCLPTcpSocket() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCLPTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPTcpSocketBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCLPTcpSocketBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPTcpSocketBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCLPostStart.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPostStart.java new file mode 100644 index 00000000000..1da68ede65f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPostStart.java @@ -0,0 +1,150 @@ + +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({ + "exec", + "httpGet", + "sleep", + "tcpSocket" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCLPostStart implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private ClusterServiceVersionSpecISpecDSpecTSpecCLPSExec exec; + @JsonProperty("httpGet") + private ClusterServiceVersionSpecISpecDSpecTSpecCLPSHttpGet httpGet; + @JsonProperty("sleep") + private ClusterServiceVersionSpecISpecDSpecTSpecCLPSSleep sleep; + @JsonProperty("tcpSocket") + private ClusterServiceVersionSpecISpecDSpecTSpecCLPSTcpSocket tcpSocket; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCLPostStart() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCLPostStart(ClusterServiceVersionSpecISpecDSpecTSpecCLPSExec exec, ClusterServiceVersionSpecISpecDSpecTSpecCLPSHttpGet httpGet, ClusterServiceVersionSpecISpecDSpecTSpecCLPSSleep sleep, ClusterServiceVersionSpecISpecDSpecTSpecCLPSTcpSocket tcpSocket) { + super(); + this.exec = exec; + this.httpGet = httpGet; + this.sleep = sleep; + this.tcpSocket = tcpSocket; + } + + @JsonProperty("exec") + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(ClusterServiceVersionSpecISpecDSpecTSpecCLPSExec exec) { + this.exec = exec; + } + + @JsonProperty("httpGet") + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(ClusterServiceVersionSpecISpecDSpecTSpecCLPSHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("sleep") + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSSleep getSleep() { + return sleep; + } + + @JsonProperty("sleep") + public void setSleep(ClusterServiceVersionSpecISpecDSpecTSpecCLPSSleep sleep) { + this.sleep = sleep; + } + + @JsonProperty("tcpSocket") + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(ClusterServiceVersionSpecISpecDSpecTSpecCLPSTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPostStartBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCLPostStartBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPostStartBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCLPreStop.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPreStop.java new file mode 100644 index 00000000000..bdad90f6b66 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLPreStop.java @@ -0,0 +1,150 @@ + +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({ + "exec", + "httpGet", + "sleep", + "tcpSocket" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCLPreStop implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private ClusterServiceVersionSpecISpecDSpecTSpecCLPSExec_1 exec; + @JsonProperty("httpGet") + private ClusterServiceVersionSpecISpecDSpecTSpecCLPSHttpGet_1 httpGet; + @JsonProperty("sleep") + private ClusterServiceVersionSpecISpecDSpecTSpecCLPSSleep_1 sleep; + @JsonProperty("tcpSocket") + private ClusterServiceVersionSpecISpecDSpecTSpecCLPSTcpSocket_1 tcpSocket; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCLPreStop() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCLPreStop(ClusterServiceVersionSpecISpecDSpecTSpecCLPSExec_1 exec, ClusterServiceVersionSpecISpecDSpecTSpecCLPSHttpGet_1 httpGet, ClusterServiceVersionSpecISpecDSpecTSpecCLPSSleep_1 sleep, ClusterServiceVersionSpecISpecDSpecTSpecCLPSTcpSocket_1 tcpSocket) { + super(); + this.exec = exec; + this.httpGet = httpGet; + this.sleep = sleep; + this.tcpSocket = tcpSocket; + } + + @JsonProperty("exec") + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSExec_1 getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(ClusterServiceVersionSpecISpecDSpecTSpecCLPSExec_1 exec) { + this.exec = exec; + } + + @JsonProperty("httpGet") + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSHttpGet_1 getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(ClusterServiceVersionSpecISpecDSpecTSpecCLPSHttpGet_1 httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("sleep") + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSSleep_1 getSleep() { + return sleep; + } + + @JsonProperty("sleep") + public void setSleep(ClusterServiceVersionSpecISpecDSpecTSpecCLPSSleep_1 sleep) { + this.sleep = sleep; + } + + @JsonProperty("tcpSocket") + public ClusterServiceVersionSpecISpecDSpecTSpecCLPSTcpSocket_1 getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(ClusterServiceVersionSpecISpecDSpecTSpecCLPSTcpSocket_1 tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPreStopBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCLPreStopBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLPreStopBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCLifecycle.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLifecycle.java new file mode 100644 index 00000000000..5ed3e518bbe --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLifecycle.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({ + "postStart", + "preStop" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCLifecycle implements Editable , KubernetesResource +{ + + @JsonProperty("postStart") + private ClusterServiceVersionSpecISpecDSpecTSpecCLPostStart postStart; + @JsonProperty("preStop") + private ClusterServiceVersionSpecISpecDSpecTSpecCLPreStop preStop; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCLifecycle() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCLifecycle(ClusterServiceVersionSpecISpecDSpecTSpecCLPostStart postStart, ClusterServiceVersionSpecISpecDSpecTSpecCLPreStop preStop) { + super(); + this.postStart = postStart; + this.preStop = preStop; + } + + @JsonProperty("postStart") + public ClusterServiceVersionSpecISpecDSpecTSpecCLPostStart getPostStart() { + return postStart; + } + + @JsonProperty("postStart") + public void setPostStart(ClusterServiceVersionSpecISpecDSpecTSpecCLPostStart postStart) { + this.postStart = postStart; + } + + @JsonProperty("preStop") + public ClusterServiceVersionSpecISpecDSpecTSpecCLPreStop getPreStop() { + return preStop; + } + + @JsonProperty("preStop") + public void setPreStop(ClusterServiceVersionSpecISpecDSpecTSpecCLPreStop preStop) { + this.preStop = preStop; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLifecycleBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCLifecycleBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLifecycleBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCLivenessProbe.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLivenessProbe.java new file mode 100644 index 00000000000..5c10eb9b797 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCLivenessProbe.java @@ -0,0 +1,234 @@ + +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({ + "exec", + "failureThreshold", + "grpc", + "httpGet", + "initialDelaySeconds", + "periodSeconds", + "successThreshold", + "tcpSocket", + "terminationGracePeriodSeconds", + "timeoutSeconds" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCLivenessProbe implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private ClusterServiceVersionSpecISpecDSpecTSpecCLPExec exec; + @JsonProperty("failureThreshold") + private Integer failureThreshold; + @JsonProperty("grpc") + private ClusterServiceVersionSpecISpecDSpecTSpecCLPGrpc grpc; + @JsonProperty("httpGet") + private ClusterServiceVersionSpecISpecDSpecTSpecCLPHttpGet httpGet; + @JsonProperty("initialDelaySeconds") + private Integer initialDelaySeconds; + @JsonProperty("periodSeconds") + private Integer periodSeconds; + @JsonProperty("successThreshold") + private Integer successThreshold; + @JsonProperty("tcpSocket") + private ClusterServiceVersionSpecISpecDSpecTSpecCLPTcpSocket tcpSocket; + @JsonProperty("terminationGracePeriodSeconds") + private Long terminationGracePeriodSeconds; + @JsonProperty("timeoutSeconds") + private Integer timeoutSeconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCLivenessProbe() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCLivenessProbe(ClusterServiceVersionSpecISpecDSpecTSpecCLPExec exec, Integer failureThreshold, ClusterServiceVersionSpecISpecDSpecTSpecCLPGrpc grpc, ClusterServiceVersionSpecISpecDSpecTSpecCLPHttpGet httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, ClusterServiceVersionSpecISpecDSpecTSpecCLPTcpSocket tcpSocket, Long terminationGracePeriodSeconds, Integer timeoutSeconds) { + super(); + this.exec = exec; + this.failureThreshold = failureThreshold; + this.grpc = grpc; + this.httpGet = httpGet; + this.initialDelaySeconds = initialDelaySeconds; + this.periodSeconds = periodSeconds; + this.successThreshold = successThreshold; + this.tcpSocket = tcpSocket; + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + this.timeoutSeconds = timeoutSeconds; + } + + @JsonProperty("exec") + public ClusterServiceVersionSpecISpecDSpecTSpecCLPExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(ClusterServiceVersionSpecISpecDSpecTSpecCLPExec exec) { + this.exec = exec; + } + + @JsonProperty("failureThreshold") + public Integer getFailureThreshold() { + return failureThreshold; + } + + @JsonProperty("failureThreshold") + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @JsonProperty("grpc") + public ClusterServiceVersionSpecISpecDSpecTSpecCLPGrpc getGrpc() { + return grpc; + } + + @JsonProperty("grpc") + public void setGrpc(ClusterServiceVersionSpecISpecDSpecTSpecCLPGrpc grpc) { + this.grpc = grpc; + } + + @JsonProperty("httpGet") + public ClusterServiceVersionSpecISpecDSpecTSpecCLPHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(ClusterServiceVersionSpecISpecDSpecTSpecCLPHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("initialDelaySeconds") + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + @JsonProperty("initialDelaySeconds") + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @JsonProperty("periodSeconds") + public Integer getPeriodSeconds() { + return periodSeconds; + } + + @JsonProperty("periodSeconds") + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @JsonProperty("successThreshold") + public Integer getSuccessThreshold() { + return successThreshold; + } + + @JsonProperty("successThreshold") + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @JsonProperty("tcpSocket") + public ClusterServiceVersionSpecISpecDSpecTSpecCLPTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(ClusterServiceVersionSpecISpecDSpecTSpecCLPTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonProperty("terminationGracePeriodSeconds") + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + @JsonProperty("terminationGracePeriodSeconds") + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @JsonProperty("timeoutSeconds") + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + @JsonProperty("timeoutSeconds") + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLivenessProbeBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCLivenessProbeBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCLivenessProbeBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCPorts.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCPorts.java new file mode 100644 index 00000000000..18f3ee8824f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCPorts.java @@ -0,0 +1,164 @@ + +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({ + "containerPort", + "hostIP", + "hostPort", + "name", + "protocol" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCPorts implements Editable , KubernetesResource +{ + + @JsonProperty("containerPort") + private Integer containerPort; + @JsonProperty("hostIP") + private String hostIP; + @JsonProperty("hostPort") + private Integer hostPort; + @JsonProperty("name") + private String name; + @JsonProperty("protocol") + private String protocol; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCPorts() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCPorts(Integer containerPort, String hostIP, Integer hostPort, String name, String protocol) { + super(); + this.containerPort = containerPort; + this.hostIP = hostIP; + this.hostPort = hostPort; + this.name = name; + this.protocol = protocol; + } + + @JsonProperty("containerPort") + public Integer getContainerPort() { + return containerPort; + } + + @JsonProperty("containerPort") + public void setContainerPort(Integer containerPort) { + this.containerPort = containerPort; + } + + @JsonProperty("hostIP") + public String getHostIP() { + return hostIP; + } + + @JsonProperty("hostIP") + public void setHostIP(String hostIP) { + this.hostIP = hostIP; + } + + @JsonProperty("hostPort") + public Integer getHostPort() { + return hostPort; + } + + @JsonProperty("hostPort") + public void setHostPort(Integer hostPort) { + this.hostPort = hostPort; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("protocol") + public String getProtocol() { + return protocol; + } + + @JsonProperty("protocol") + public void setProtocol(String protocol) { + this.protocol = protocol; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCPortsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCPortsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCPortsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCRClaims.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCRClaims.java new file mode 100644 index 00000000000..5d09736befd --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCRClaims.java @@ -0,0 +1,108 @@ + +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({ + "name" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCRClaims implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCRClaims() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCRClaims(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCRClaimsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCRClaimsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCRClaimsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCRPExec.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCRPExec.java new file mode 100644 index 00000000000..5057676232e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCRPExec.java @@ -0,0 +1,112 @@ + +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({ + "command" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCRPExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCRPExec() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCRPExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCRPExecBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCRPExecBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCRPExecBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCRPGrpc.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCRPGrpc.java new file mode 100644 index 00000000000..3a952edff15 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCRPGrpc.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({ + "port", + "service" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCRPGrpc implements Editable , KubernetesResource +{ + + @JsonProperty("port") + private Integer port; + @JsonProperty("service") + private String service; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCRPGrpc() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCRPGrpc(Integer port, String service) { + super(); + this.port = port; + this.service = service; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("service") + public String getService() { + return service; + } + + @JsonProperty("service") + public void setService(String service) { + this.service = service; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCRPGrpcBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCRPGrpcBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCRPGrpcBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCRPHGHttpHeaders.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCRPHGHttpHeaders.java new file mode 100644 index 00000000000..4cdba43ee0e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCRPHGHttpHeaders.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({ + "name", + "value" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCRPHGHttpHeaders implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCRPHGHttpHeaders() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCRPHGHttpHeaders(String name, String value) { + super(); + this.name = name; + this.value = value; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCRPHGHttpHeadersBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCRPHGHttpHeadersBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCRPHGHttpHeadersBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCRPHttpGet.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCRPHttpGet.java new file mode 100644 index 00000000000..31de263d31c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCRPHttpGet.java @@ -0,0 +1,170 @@ + +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({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCRPHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCRPHttpGet() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCRPHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCRPHttpGetBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCRPHttpGetBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCRPHttpGetBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCRPTcpSocket.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCRPTcpSocket.java new file mode 100644 index 00000000000..bd3e9e04588 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCRPTcpSocket.java @@ -0,0 +1,124 @@ + +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({ + "host", + "port" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCRPTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCRPTcpSocket() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCRPTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCRPTcpSocketBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCRPTcpSocketBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCRPTcpSocketBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCReadinessProbe.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCReadinessProbe.java new file mode 100644 index 00000000000..31a2e964070 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCReadinessProbe.java @@ -0,0 +1,234 @@ + +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({ + "exec", + "failureThreshold", + "grpc", + "httpGet", + "initialDelaySeconds", + "periodSeconds", + "successThreshold", + "tcpSocket", + "terminationGracePeriodSeconds", + "timeoutSeconds" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCReadinessProbe implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private ClusterServiceVersionSpecISpecDSpecTSpecCRPExec exec; + @JsonProperty("failureThreshold") + private Integer failureThreshold; + @JsonProperty("grpc") + private ClusterServiceVersionSpecISpecDSpecTSpecCRPGrpc grpc; + @JsonProperty("httpGet") + private ClusterServiceVersionSpecISpecDSpecTSpecCRPHttpGet httpGet; + @JsonProperty("initialDelaySeconds") + private Integer initialDelaySeconds; + @JsonProperty("periodSeconds") + private Integer periodSeconds; + @JsonProperty("successThreshold") + private Integer successThreshold; + @JsonProperty("tcpSocket") + private ClusterServiceVersionSpecISpecDSpecTSpecCRPTcpSocket tcpSocket; + @JsonProperty("terminationGracePeriodSeconds") + private Long terminationGracePeriodSeconds; + @JsonProperty("timeoutSeconds") + private Integer timeoutSeconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCReadinessProbe() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCReadinessProbe(ClusterServiceVersionSpecISpecDSpecTSpecCRPExec exec, Integer failureThreshold, ClusterServiceVersionSpecISpecDSpecTSpecCRPGrpc grpc, ClusterServiceVersionSpecISpecDSpecTSpecCRPHttpGet httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, ClusterServiceVersionSpecISpecDSpecTSpecCRPTcpSocket tcpSocket, Long terminationGracePeriodSeconds, Integer timeoutSeconds) { + super(); + this.exec = exec; + this.failureThreshold = failureThreshold; + this.grpc = grpc; + this.httpGet = httpGet; + this.initialDelaySeconds = initialDelaySeconds; + this.periodSeconds = periodSeconds; + this.successThreshold = successThreshold; + this.tcpSocket = tcpSocket; + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + this.timeoutSeconds = timeoutSeconds; + } + + @JsonProperty("exec") + public ClusterServiceVersionSpecISpecDSpecTSpecCRPExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(ClusterServiceVersionSpecISpecDSpecTSpecCRPExec exec) { + this.exec = exec; + } + + @JsonProperty("failureThreshold") + public Integer getFailureThreshold() { + return failureThreshold; + } + + @JsonProperty("failureThreshold") + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @JsonProperty("grpc") + public ClusterServiceVersionSpecISpecDSpecTSpecCRPGrpc getGrpc() { + return grpc; + } + + @JsonProperty("grpc") + public void setGrpc(ClusterServiceVersionSpecISpecDSpecTSpecCRPGrpc grpc) { + this.grpc = grpc; + } + + @JsonProperty("httpGet") + public ClusterServiceVersionSpecISpecDSpecTSpecCRPHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(ClusterServiceVersionSpecISpecDSpecTSpecCRPHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("initialDelaySeconds") + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + @JsonProperty("initialDelaySeconds") + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @JsonProperty("periodSeconds") + public Integer getPeriodSeconds() { + return periodSeconds; + } + + @JsonProperty("periodSeconds") + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @JsonProperty("successThreshold") + public Integer getSuccessThreshold() { + return successThreshold; + } + + @JsonProperty("successThreshold") + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @JsonProperty("tcpSocket") + public ClusterServiceVersionSpecISpecDSpecTSpecCRPTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(ClusterServiceVersionSpecISpecDSpecTSpecCRPTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonProperty("terminationGracePeriodSeconds") + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + @JsonProperty("terminationGracePeriodSeconds") + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @JsonProperty("timeoutSeconds") + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + @JsonProperty("timeoutSeconds") + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCReadinessProbeBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCReadinessProbeBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCReadinessProbeBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCResizePolicy.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCResizePolicy.java new file mode 100644 index 00000000000..d7675a76858 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCResizePolicy.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({ + "resourceName", + "restartPolicy" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCResizePolicy implements Editable , KubernetesResource +{ + + @JsonProperty("resourceName") + private String resourceName; + @JsonProperty("restartPolicy") + private String restartPolicy; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCResizePolicy() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCResizePolicy(String resourceName, String restartPolicy) { + super(); + this.resourceName = resourceName; + this.restartPolicy = restartPolicy; + } + + @JsonProperty("resourceName") + public String getResourceName() { + return resourceName; + } + + @JsonProperty("resourceName") + public void setResourceName(String resourceName) { + this.resourceName = resourceName; + } + + @JsonProperty("restartPolicy") + public String getRestartPolicy() { + return restartPolicy; + } + + @JsonProperty("restartPolicy") + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCResizePolicyBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCResizePolicyBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCResizePolicyBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCResources.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCResources.java new file mode 100644 index 00000000000..70dc65edfa3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCResources.java @@ -0,0 +1,148 @@ + +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({ + "claims", + "limits", + "requests" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCResources implements Editable , KubernetesResource +{ + + @JsonProperty("claims") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List claims = new ArrayList<>(); + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map limits = new LinkedHashMap<>(); + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map requests = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCResources() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCResources(List claims, Map limits, Map requests) { + super(); + this.claims = claims; + this.limits = limits; + this.requests = requests; + } + + @JsonProperty("claims") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getClaims() { + return claims; + } + + @JsonProperty("claims") + public void setClaims(List claims) { + this.claims = claims; + } + + @JsonProperty("limits") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLimits() { + return limits; + } + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setLimits(Map limits) { + this.limits = limits; + } + + @JsonProperty("requests") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getRequests() { + return requests; + } + + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setRequests(Map requests) { + this.requests = requests; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCResourcesBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCResourcesBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCResourcesBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCSCAppArmorProfile.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCSCAppArmorProfile.java new file mode 100644 index 00000000000..3cca2287ed0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCSCAppArmorProfile.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({ + "localhostProfile", + "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 ClusterServiceVersionSpecISpecDSpecTSpecCSCAppArmorProfile implements Editable , KubernetesResource +{ + + @JsonProperty("localhostProfile") + private String localhostProfile; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCSCAppArmorProfile() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCSCAppArmorProfile(String localhostProfile, String type) { + super(); + this.localhostProfile = localhostProfile; + this.type = type; + } + + @JsonProperty("localhostProfile") + public String getLocalhostProfile() { + return localhostProfile; + } + + @JsonProperty("localhostProfile") + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCSCAppArmorProfileBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCSCAppArmorProfileBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCSCAppArmorProfileBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCSCCapabilities.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCSCCapabilities.java new file mode 100644 index 00000000000..5f137131125 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCSCCapabilities.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({ + "add", + "drop" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCSCCapabilities implements Editable , KubernetesResource +{ + + @JsonProperty("add") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List add = new ArrayList<>(); + @JsonProperty("drop") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List drop = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCSCCapabilities() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCSCCapabilities(List add, List drop) { + super(); + this.add = add; + this.drop = drop; + } + + @JsonProperty("add") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAdd() { + return add; + } + + @JsonProperty("add") + public void setAdd(List add) { + this.add = add; + } + + @JsonProperty("drop") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getDrop() { + return drop; + } + + @JsonProperty("drop") + public void setDrop(List drop) { + this.drop = drop; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCSCCapabilitiesBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCSCCapabilitiesBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCSCCapabilitiesBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCSCSeLinuxOptions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCSCSeLinuxOptions.java new file mode 100644 index 00000000000..1ba0849fe36 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCSCSeLinuxOptions.java @@ -0,0 +1,150 @@ + +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({ + "level", + "role", + "type", + "user" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCSCSeLinuxOptions implements Editable , KubernetesResource +{ + + @JsonProperty("level") + private String level; + @JsonProperty("role") + private String role; + @JsonProperty("type") + private String type; + @JsonProperty("user") + private String user; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCSCSeLinuxOptions() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCSCSeLinuxOptions(String level, String role, String type, String user) { + super(); + this.level = level; + this.role = role; + this.type = type; + this.user = user; + } + + @JsonProperty("level") + public String getLevel() { + return level; + } + + @JsonProperty("level") + public void setLevel(String level) { + this.level = level; + } + + @JsonProperty("role") + public String getRole() { + return role; + } + + @JsonProperty("role") + public void setRole(String role) { + this.role = role; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonProperty("user") + public String getUser() { + return user; + } + + @JsonProperty("user") + public void setUser(String user) { + this.user = user; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCSCSeLinuxOptionsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCSCSeLinuxOptionsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCSCSeLinuxOptionsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCSCSeccompProfile.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCSCSeccompProfile.java new file mode 100644 index 00000000000..079d5dd7664 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCSCSeccompProfile.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({ + "localhostProfile", + "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 ClusterServiceVersionSpecISpecDSpecTSpecCSCSeccompProfile implements Editable , KubernetesResource +{ + + @JsonProperty("localhostProfile") + private String localhostProfile; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCSCSeccompProfile() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCSCSeccompProfile(String localhostProfile, String type) { + super(); + this.localhostProfile = localhostProfile; + this.type = type; + } + + @JsonProperty("localhostProfile") + public String getLocalhostProfile() { + return localhostProfile; + } + + @JsonProperty("localhostProfile") + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCSCSeccompProfileBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCSCSeccompProfileBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCSCSeccompProfileBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCSCWindowsOptions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCSCWindowsOptions.java new file mode 100644 index 00000000000..44938d9f6f2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCSCWindowsOptions.java @@ -0,0 +1,150 @@ + +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({ + "gmsaCredentialSpec", + "gmsaCredentialSpecName", + "hostProcess", + "runAsUserName" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCSCWindowsOptions implements Editable , KubernetesResource +{ + + @JsonProperty("gmsaCredentialSpec") + private String gmsaCredentialSpec; + @JsonProperty("gmsaCredentialSpecName") + private String gmsaCredentialSpecName; + @JsonProperty("hostProcess") + private Boolean hostProcess; + @JsonProperty("runAsUserName") + private String runAsUserName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCSCWindowsOptions() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCSCWindowsOptions(String gmsaCredentialSpec, String gmsaCredentialSpecName, Boolean hostProcess, String runAsUserName) { + super(); + this.gmsaCredentialSpec = gmsaCredentialSpec; + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + this.hostProcess = hostProcess; + this.runAsUserName = runAsUserName; + } + + @JsonProperty("gmsaCredentialSpec") + public String getGmsaCredentialSpec() { + return gmsaCredentialSpec; + } + + @JsonProperty("gmsaCredentialSpec") + public void setGmsaCredentialSpec(String gmsaCredentialSpec) { + this.gmsaCredentialSpec = gmsaCredentialSpec; + } + + @JsonProperty("gmsaCredentialSpecName") + public String getGmsaCredentialSpecName() { + return gmsaCredentialSpecName; + } + + @JsonProperty("gmsaCredentialSpecName") + public void setGmsaCredentialSpecName(String gmsaCredentialSpecName) { + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + } + + @JsonProperty("hostProcess") + public Boolean getHostProcess() { + return hostProcess; + } + + @JsonProperty("hostProcess") + public void setHostProcess(Boolean hostProcess) { + this.hostProcess = hostProcess; + } + + @JsonProperty("runAsUserName") + public String getRunAsUserName() { + return runAsUserName; + } + + @JsonProperty("runAsUserName") + public void setRunAsUserName(String runAsUserName) { + this.runAsUserName = runAsUserName; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCSCWindowsOptionsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCSCWindowsOptionsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCSCWindowsOptionsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCSPExec.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCSPExec.java new file mode 100644 index 00000000000..e73e667036e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCSPExec.java @@ -0,0 +1,112 @@ + +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({ + "command" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCSPExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCSPExec() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCSPExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCSPExecBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCSPExecBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCSPExecBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCSPGrpc.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCSPGrpc.java new file mode 100644 index 00000000000..ade358c4e72 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCSPGrpc.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({ + "port", + "service" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCSPGrpc implements Editable , KubernetesResource +{ + + @JsonProperty("port") + private Integer port; + @JsonProperty("service") + private String service; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCSPGrpc() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCSPGrpc(Integer port, String service) { + super(); + this.port = port; + this.service = service; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("service") + public String getService() { + return service; + } + + @JsonProperty("service") + public void setService(String service) { + this.service = service; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCSPGrpcBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCSPGrpcBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCSPGrpcBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCSPHGHttpHeaders.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCSPHGHttpHeaders.java new file mode 100644 index 00000000000..12db48a15e4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCSPHGHttpHeaders.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({ + "name", + "value" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCSPHGHttpHeaders implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCSPHGHttpHeaders() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCSPHGHttpHeaders(String name, String value) { + super(); + this.name = name; + this.value = value; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCSPHGHttpHeadersBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCSPHGHttpHeadersBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCSPHGHttpHeadersBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCSPHttpGet.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCSPHttpGet.java new file mode 100644 index 00000000000..1430f9bbab1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCSPHttpGet.java @@ -0,0 +1,170 @@ + +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({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCSPHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCSPHttpGet() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCSPHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCSPHttpGetBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCSPHttpGetBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCSPHttpGetBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCSPTcpSocket.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCSPTcpSocket.java new file mode 100644 index 00000000000..de55087591f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCSPTcpSocket.java @@ -0,0 +1,124 @@ + +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({ + "host", + "port" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCSPTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCSPTcpSocket() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCSPTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCSPTcpSocketBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCSPTcpSocketBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCSPTcpSocketBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCSecurityContext.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCSecurityContext.java new file mode 100644 index 00000000000..7eff086c04c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCSecurityContext.java @@ -0,0 +1,262 @@ + +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({ + "allowPrivilegeEscalation", + "appArmorProfile", + "capabilities", + "privileged", + "procMount", + "readOnlyRootFilesystem", + "runAsGroup", + "runAsNonRoot", + "runAsUser", + "seLinuxOptions", + "seccompProfile", + "windowsOptions" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCSecurityContext implements Editable , KubernetesResource +{ + + @JsonProperty("allowPrivilegeEscalation") + private Boolean allowPrivilegeEscalation; + @JsonProperty("appArmorProfile") + private ClusterServiceVersionSpecISpecDSpecTSpecCSCAppArmorProfile appArmorProfile; + @JsonProperty("capabilities") + private ClusterServiceVersionSpecISpecDSpecTSpecCSCCapabilities capabilities; + @JsonProperty("privileged") + private Boolean privileged; + @JsonProperty("procMount") + private String procMount; + @JsonProperty("readOnlyRootFilesystem") + private Boolean readOnlyRootFilesystem; + @JsonProperty("runAsGroup") + private Long runAsGroup; + @JsonProperty("runAsNonRoot") + private Boolean runAsNonRoot; + @JsonProperty("runAsUser") + private Long runAsUser; + @JsonProperty("seLinuxOptions") + private ClusterServiceVersionSpecISpecDSpecTSpecCSCSeLinuxOptions seLinuxOptions; + @JsonProperty("seccompProfile") + private ClusterServiceVersionSpecISpecDSpecTSpecCSCSeccompProfile seccompProfile; + @JsonProperty("windowsOptions") + private ClusterServiceVersionSpecISpecDSpecTSpecCSCWindowsOptions windowsOptions; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCSecurityContext() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCSecurityContext(Boolean allowPrivilegeEscalation, ClusterServiceVersionSpecISpecDSpecTSpecCSCAppArmorProfile appArmorProfile, ClusterServiceVersionSpecISpecDSpecTSpecCSCCapabilities capabilities, Boolean privileged, String procMount, Boolean readOnlyRootFilesystem, Long runAsGroup, Boolean runAsNonRoot, Long runAsUser, ClusterServiceVersionSpecISpecDSpecTSpecCSCSeLinuxOptions seLinuxOptions, ClusterServiceVersionSpecISpecDSpecTSpecCSCSeccompProfile seccompProfile, ClusterServiceVersionSpecISpecDSpecTSpecCSCWindowsOptions windowsOptions) { + super(); + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + this.appArmorProfile = appArmorProfile; + this.capabilities = capabilities; + this.privileged = privileged; + this.procMount = procMount; + this.readOnlyRootFilesystem = readOnlyRootFilesystem; + this.runAsGroup = runAsGroup; + this.runAsNonRoot = runAsNonRoot; + this.runAsUser = runAsUser; + this.seLinuxOptions = seLinuxOptions; + this.seccompProfile = seccompProfile; + this.windowsOptions = windowsOptions; + } + + @JsonProperty("allowPrivilegeEscalation") + public Boolean getAllowPrivilegeEscalation() { + return allowPrivilegeEscalation; + } + + @JsonProperty("allowPrivilegeEscalation") + public void setAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation) { + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + } + + @JsonProperty("appArmorProfile") + public ClusterServiceVersionSpecISpecDSpecTSpecCSCAppArmorProfile getAppArmorProfile() { + return appArmorProfile; + } + + @JsonProperty("appArmorProfile") + public void setAppArmorProfile(ClusterServiceVersionSpecISpecDSpecTSpecCSCAppArmorProfile appArmorProfile) { + this.appArmorProfile = appArmorProfile; + } + + @JsonProperty("capabilities") + public ClusterServiceVersionSpecISpecDSpecTSpecCSCCapabilities getCapabilities() { + return capabilities; + } + + @JsonProperty("capabilities") + public void setCapabilities(ClusterServiceVersionSpecISpecDSpecTSpecCSCCapabilities capabilities) { + this.capabilities = capabilities; + } + + @JsonProperty("privileged") + public Boolean getPrivileged() { + return privileged; + } + + @JsonProperty("privileged") + public void setPrivileged(Boolean privileged) { + this.privileged = privileged; + } + + @JsonProperty("procMount") + public String getProcMount() { + return procMount; + } + + @JsonProperty("procMount") + public void setProcMount(String procMount) { + this.procMount = procMount; + } + + @JsonProperty("readOnlyRootFilesystem") + public Boolean getReadOnlyRootFilesystem() { + return readOnlyRootFilesystem; + } + + @JsonProperty("readOnlyRootFilesystem") + public void setReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem) { + this.readOnlyRootFilesystem = readOnlyRootFilesystem; + } + + @JsonProperty("runAsGroup") + public Long getRunAsGroup() { + return runAsGroup; + } + + @JsonProperty("runAsGroup") + public void setRunAsGroup(Long runAsGroup) { + this.runAsGroup = runAsGroup; + } + + @JsonProperty("runAsNonRoot") + public Boolean getRunAsNonRoot() { + return runAsNonRoot; + } + + @JsonProperty("runAsNonRoot") + public void setRunAsNonRoot(Boolean runAsNonRoot) { + this.runAsNonRoot = runAsNonRoot; + } + + @JsonProperty("runAsUser") + public Long getRunAsUser() { + return runAsUser; + } + + @JsonProperty("runAsUser") + public void setRunAsUser(Long runAsUser) { + this.runAsUser = runAsUser; + } + + @JsonProperty("seLinuxOptions") + public ClusterServiceVersionSpecISpecDSpecTSpecCSCSeLinuxOptions getSeLinuxOptions() { + return seLinuxOptions; + } + + @JsonProperty("seLinuxOptions") + public void setSeLinuxOptions(ClusterServiceVersionSpecISpecDSpecTSpecCSCSeLinuxOptions seLinuxOptions) { + this.seLinuxOptions = seLinuxOptions; + } + + @JsonProperty("seccompProfile") + public ClusterServiceVersionSpecISpecDSpecTSpecCSCSeccompProfile getSeccompProfile() { + return seccompProfile; + } + + @JsonProperty("seccompProfile") + public void setSeccompProfile(ClusterServiceVersionSpecISpecDSpecTSpecCSCSeccompProfile seccompProfile) { + this.seccompProfile = seccompProfile; + } + + @JsonProperty("windowsOptions") + public ClusterServiceVersionSpecISpecDSpecTSpecCSCWindowsOptions getWindowsOptions() { + return windowsOptions; + } + + @JsonProperty("windowsOptions") + public void setWindowsOptions(ClusterServiceVersionSpecISpecDSpecTSpecCSCWindowsOptions windowsOptions) { + this.windowsOptions = windowsOptions; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCSecurityContextBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCSecurityContextBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCSecurityContextBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCStartupProbe.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCStartupProbe.java new file mode 100644 index 00000000000..4f7b9e76e21 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCStartupProbe.java @@ -0,0 +1,234 @@ + +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({ + "exec", + "failureThreshold", + "grpc", + "httpGet", + "initialDelaySeconds", + "periodSeconds", + "successThreshold", + "tcpSocket", + "terminationGracePeriodSeconds", + "timeoutSeconds" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCStartupProbe implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private ClusterServiceVersionSpecISpecDSpecTSpecCSPExec exec; + @JsonProperty("failureThreshold") + private Integer failureThreshold; + @JsonProperty("grpc") + private ClusterServiceVersionSpecISpecDSpecTSpecCSPGrpc grpc; + @JsonProperty("httpGet") + private ClusterServiceVersionSpecISpecDSpecTSpecCSPHttpGet httpGet; + @JsonProperty("initialDelaySeconds") + private Integer initialDelaySeconds; + @JsonProperty("periodSeconds") + private Integer periodSeconds; + @JsonProperty("successThreshold") + private Integer successThreshold; + @JsonProperty("tcpSocket") + private ClusterServiceVersionSpecISpecDSpecTSpecCSPTcpSocket tcpSocket; + @JsonProperty("terminationGracePeriodSeconds") + private Long terminationGracePeriodSeconds; + @JsonProperty("timeoutSeconds") + private Integer timeoutSeconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCStartupProbe() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCStartupProbe(ClusterServiceVersionSpecISpecDSpecTSpecCSPExec exec, Integer failureThreshold, ClusterServiceVersionSpecISpecDSpecTSpecCSPGrpc grpc, ClusterServiceVersionSpecISpecDSpecTSpecCSPHttpGet httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, ClusterServiceVersionSpecISpecDSpecTSpecCSPTcpSocket tcpSocket, Long terminationGracePeriodSeconds, Integer timeoutSeconds) { + super(); + this.exec = exec; + this.failureThreshold = failureThreshold; + this.grpc = grpc; + this.httpGet = httpGet; + this.initialDelaySeconds = initialDelaySeconds; + this.periodSeconds = periodSeconds; + this.successThreshold = successThreshold; + this.tcpSocket = tcpSocket; + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + this.timeoutSeconds = timeoutSeconds; + } + + @JsonProperty("exec") + public ClusterServiceVersionSpecISpecDSpecTSpecCSPExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(ClusterServiceVersionSpecISpecDSpecTSpecCSPExec exec) { + this.exec = exec; + } + + @JsonProperty("failureThreshold") + public Integer getFailureThreshold() { + return failureThreshold; + } + + @JsonProperty("failureThreshold") + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @JsonProperty("grpc") + public ClusterServiceVersionSpecISpecDSpecTSpecCSPGrpc getGrpc() { + return grpc; + } + + @JsonProperty("grpc") + public void setGrpc(ClusterServiceVersionSpecISpecDSpecTSpecCSPGrpc grpc) { + this.grpc = grpc; + } + + @JsonProperty("httpGet") + public ClusterServiceVersionSpecISpecDSpecTSpecCSPHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(ClusterServiceVersionSpecISpecDSpecTSpecCSPHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("initialDelaySeconds") + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + @JsonProperty("initialDelaySeconds") + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @JsonProperty("periodSeconds") + public Integer getPeriodSeconds() { + return periodSeconds; + } + + @JsonProperty("periodSeconds") + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @JsonProperty("successThreshold") + public Integer getSuccessThreshold() { + return successThreshold; + } + + @JsonProperty("successThreshold") + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @JsonProperty("tcpSocket") + public ClusterServiceVersionSpecISpecDSpecTSpecCSPTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(ClusterServiceVersionSpecISpecDSpecTSpecCSPTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonProperty("terminationGracePeriodSeconds") + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + @JsonProperty("terminationGracePeriodSeconds") + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @JsonProperty("timeoutSeconds") + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + @JsonProperty("timeoutSeconds") + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCStartupProbeBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCStartupProbeBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCStartupProbeBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecCVolumeMounts.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCVolumeMounts.java new file mode 100644 index 00000000000..f57e6dde86f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecCVolumeMounts.java @@ -0,0 +1,192 @@ + +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({ + "mountPath", + "mountPropagation", + "name", + "readOnly", + "recursiveReadOnly", + "subPath", + "subPathExpr" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecCVolumeMounts implements Editable , KubernetesResource +{ + + @JsonProperty("mountPath") + private String mountPath; + @JsonProperty("mountPropagation") + private String mountPropagation; + @JsonProperty("name") + private String name; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("recursiveReadOnly") + private String recursiveReadOnly; + @JsonProperty("subPath") + private String subPath; + @JsonProperty("subPathExpr") + private String subPathExpr; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecCVolumeMounts() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecCVolumeMounts(String mountPath, String mountPropagation, String name, Boolean readOnly, String recursiveReadOnly, String subPath, String subPathExpr) { + super(); + this.mountPath = mountPath; + this.mountPropagation = mountPropagation; + this.name = name; + this.readOnly = readOnly; + this.recursiveReadOnly = recursiveReadOnly; + this.subPath = subPath; + this.subPathExpr = subPathExpr; + } + + @JsonProperty("mountPath") + public String getMountPath() { + return mountPath; + } + + @JsonProperty("mountPath") + public void setMountPath(String mountPath) { + this.mountPath = mountPath; + } + + @JsonProperty("mountPropagation") + public String getMountPropagation() { + return mountPropagation; + } + + @JsonProperty("mountPropagation") + public void setMountPropagation(String mountPropagation) { + this.mountPropagation = mountPropagation; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("recursiveReadOnly") + public String getRecursiveReadOnly() { + return recursiveReadOnly; + } + + @JsonProperty("recursiveReadOnly") + public void setRecursiveReadOnly(String recursiveReadOnly) { + this.recursiveReadOnly = recursiveReadOnly; + } + + @JsonProperty("subPath") + public String getSubPath() { + return subPath; + } + + @JsonProperty("subPath") + public void setSubPath(String subPath) { + this.subPath = subPath; + } + + @JsonProperty("subPathExpr") + public String getSubPathExpr() { + return subPathExpr; + } + + @JsonProperty("subPathExpr") + public void setSubPathExpr(String subPathExpr) { + this.subPathExpr = subPathExpr; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCVolumeMountsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecCVolumeMountsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecCVolumeMountsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecContainers.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecContainers.java new file mode 100644 index 00000000000..99283360972 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecContainers.java @@ -0,0 +1,449 @@ + +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.fabric8.kubernetes.api.model.VolumeDevice; +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({ + "args", + "command", + "env", + "envFrom", + "image", + "imagePullPolicy", + "lifecycle", + "livenessProbe", + "name", + "ports", + "readinessProbe", + "resizePolicy", + "resources", + "restartPolicy", + "securityContext", + "startupProbe", + "stdin", + "stdinOnce", + "terminationMessagePath", + "terminationMessagePolicy", + "tty", + "volumeDevices", + "volumeMounts", + "workingDir" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecContainers implements Editable , KubernetesResource +{ + + @JsonProperty("args") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List args = new ArrayList<>(); + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonProperty("env") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List env = new ArrayList<>(); + @JsonProperty("envFrom") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List envFrom = new ArrayList<>(); + @JsonProperty("image") + private String image; + @JsonProperty("imagePullPolicy") + private String imagePullPolicy; + @JsonProperty("lifecycle") + private ClusterServiceVersionSpecISpecDSpecTSpecCLifecycle lifecycle; + @JsonProperty("livenessProbe") + private ClusterServiceVersionSpecISpecDSpecTSpecCLivenessProbe livenessProbe; + @JsonProperty("name") + private String name; + @JsonProperty("ports") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List ports = new ArrayList<>(); + @JsonProperty("readinessProbe") + private ClusterServiceVersionSpecISpecDSpecTSpecCReadinessProbe readinessProbe; + @JsonProperty("resizePolicy") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List resizePolicy = new ArrayList<>(); + @JsonProperty("resources") + private ClusterServiceVersionSpecISpecDSpecTSpecCResources resources; + @JsonProperty("restartPolicy") + private String restartPolicy; + @JsonProperty("securityContext") + private ClusterServiceVersionSpecISpecDSpecTSpecCSecurityContext securityContext; + @JsonProperty("startupProbe") + private ClusterServiceVersionSpecISpecDSpecTSpecCStartupProbe startupProbe; + @JsonProperty("stdin") + private Boolean stdin; + @JsonProperty("stdinOnce") + private Boolean stdinOnce; + @JsonProperty("terminationMessagePath") + private String terminationMessagePath; + @JsonProperty("terminationMessagePolicy") + private String terminationMessagePolicy; + @JsonProperty("tty") + private Boolean tty; + @JsonProperty("volumeDevices") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List volumeDevices = new ArrayList<>(); + @JsonProperty("volumeMounts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List volumeMounts = new ArrayList<>(); + @JsonProperty("workingDir") + private String workingDir; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecContainers() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecContainers(List args, List command, List env, List envFrom, String image, String imagePullPolicy, ClusterServiceVersionSpecISpecDSpecTSpecCLifecycle lifecycle, ClusterServiceVersionSpecISpecDSpecTSpecCLivenessProbe livenessProbe, String name, List ports, ClusterServiceVersionSpecISpecDSpecTSpecCReadinessProbe readinessProbe, List resizePolicy, ClusterServiceVersionSpecISpecDSpecTSpecCResources resources, String restartPolicy, ClusterServiceVersionSpecISpecDSpecTSpecCSecurityContext securityContext, ClusterServiceVersionSpecISpecDSpecTSpecCStartupProbe startupProbe, Boolean stdin, Boolean stdinOnce, String terminationMessagePath, String terminationMessagePolicy, Boolean tty, List volumeDevices, List volumeMounts, String workingDir) { + super(); + this.args = args; + this.command = command; + this.env = env; + this.envFrom = envFrom; + this.image = image; + this.imagePullPolicy = imagePullPolicy; + this.lifecycle = lifecycle; + this.livenessProbe = livenessProbe; + this.name = name; + this.ports = ports; + this.readinessProbe = readinessProbe; + this.resizePolicy = resizePolicy; + this.resources = resources; + this.restartPolicy = restartPolicy; + this.securityContext = securityContext; + this.startupProbe = startupProbe; + this.stdin = stdin; + this.stdinOnce = stdinOnce; + this.terminationMessagePath = terminationMessagePath; + this.terminationMessagePolicy = terminationMessagePolicy; + this.tty = tty; + this.volumeDevices = volumeDevices; + this.volumeMounts = volumeMounts; + this.workingDir = workingDir; + } + + @JsonProperty("args") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getArgs() { + return args; + } + + @JsonProperty("args") + public void setArgs(List args) { + this.args = args; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonProperty("env") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getEnv() { + return env; + } + + @JsonProperty("env") + public void setEnv(List env) { + this.env = env; + } + + @JsonProperty("envFrom") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getEnvFrom() { + return envFrom; + } + + @JsonProperty("envFrom") + public void setEnvFrom(List envFrom) { + this.envFrom = envFrom; + } + + @JsonProperty("image") + public String getImage() { + return image; + } + + @JsonProperty("image") + public void setImage(String image) { + this.image = image; + } + + @JsonProperty("imagePullPolicy") + public String getImagePullPolicy() { + return imagePullPolicy; + } + + @JsonProperty("imagePullPolicy") + public void setImagePullPolicy(String imagePullPolicy) { + this.imagePullPolicy = imagePullPolicy; + } + + @JsonProperty("lifecycle") + public ClusterServiceVersionSpecISpecDSpecTSpecCLifecycle getLifecycle() { + return lifecycle; + } + + @JsonProperty("lifecycle") + public void setLifecycle(ClusterServiceVersionSpecISpecDSpecTSpecCLifecycle lifecycle) { + this.lifecycle = lifecycle; + } + + @JsonProperty("livenessProbe") + public ClusterServiceVersionSpecISpecDSpecTSpecCLivenessProbe getLivenessProbe() { + return livenessProbe; + } + + @JsonProperty("livenessProbe") + public void setLivenessProbe(ClusterServiceVersionSpecISpecDSpecTSpecCLivenessProbe livenessProbe) { + this.livenessProbe = livenessProbe; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("ports") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPorts() { + return ports; + } + + @JsonProperty("ports") + public void setPorts(List ports) { + this.ports = ports; + } + + @JsonProperty("readinessProbe") + public ClusterServiceVersionSpecISpecDSpecTSpecCReadinessProbe getReadinessProbe() { + return readinessProbe; + } + + @JsonProperty("readinessProbe") + public void setReadinessProbe(ClusterServiceVersionSpecISpecDSpecTSpecCReadinessProbe readinessProbe) { + this.readinessProbe = readinessProbe; + } + + @JsonProperty("resizePolicy") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResizePolicy() { + return resizePolicy; + } + + @JsonProperty("resizePolicy") + public void setResizePolicy(List resizePolicy) { + this.resizePolicy = resizePolicy; + } + + @JsonProperty("resources") + public ClusterServiceVersionSpecISpecDSpecTSpecCResources getResources() { + return resources; + } + + @JsonProperty("resources") + public void setResources(ClusterServiceVersionSpecISpecDSpecTSpecCResources resources) { + this.resources = resources; + } + + @JsonProperty("restartPolicy") + public String getRestartPolicy() { + return restartPolicy; + } + + @JsonProperty("restartPolicy") + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + + @JsonProperty("securityContext") + public ClusterServiceVersionSpecISpecDSpecTSpecCSecurityContext getSecurityContext() { + return securityContext; + } + + @JsonProperty("securityContext") + public void setSecurityContext(ClusterServiceVersionSpecISpecDSpecTSpecCSecurityContext securityContext) { + this.securityContext = securityContext; + } + + @JsonProperty("startupProbe") + public ClusterServiceVersionSpecISpecDSpecTSpecCStartupProbe getStartupProbe() { + return startupProbe; + } + + @JsonProperty("startupProbe") + public void setStartupProbe(ClusterServiceVersionSpecISpecDSpecTSpecCStartupProbe startupProbe) { + this.startupProbe = startupProbe; + } + + @JsonProperty("stdin") + public Boolean getStdin() { + return stdin; + } + + @JsonProperty("stdin") + public void setStdin(Boolean stdin) { + this.stdin = stdin; + } + + @JsonProperty("stdinOnce") + public Boolean getStdinOnce() { + return stdinOnce; + } + + @JsonProperty("stdinOnce") + public void setStdinOnce(Boolean stdinOnce) { + this.stdinOnce = stdinOnce; + } + + @JsonProperty("terminationMessagePath") + public String getTerminationMessagePath() { + return terminationMessagePath; + } + + @JsonProperty("terminationMessagePath") + public void setTerminationMessagePath(String terminationMessagePath) { + this.terminationMessagePath = terminationMessagePath; + } + + @JsonProperty("terminationMessagePolicy") + public String getTerminationMessagePolicy() { + return terminationMessagePolicy; + } + + @JsonProperty("terminationMessagePolicy") + public void setTerminationMessagePolicy(String terminationMessagePolicy) { + this.terminationMessagePolicy = terminationMessagePolicy; + } + + @JsonProperty("tty") + public Boolean getTty() { + return tty; + } + + @JsonProperty("tty") + public void setTty(Boolean tty) { + this.tty = tty; + } + + @JsonProperty("volumeDevices") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getVolumeDevices() { + return volumeDevices; + } + + @JsonProperty("volumeDevices") + public void setVolumeDevices(List volumeDevices) { + this.volumeDevices = volumeDevices; + } + + @JsonProperty("volumeMounts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getVolumeMounts() { + return volumeMounts; + } + + @JsonProperty("volumeMounts") + public void setVolumeMounts(List volumeMounts) { + this.volumeMounts = volumeMounts; + } + + @JsonProperty("workingDir") + public String getWorkingDir() { + return workingDir; + } + + @JsonProperty("workingDir") + public void setWorkingDir(String workingDir) { + this.workingDir = workingDir; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecContainersBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecContainersBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecContainersBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecDnsConfig.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecDnsConfig.java new file mode 100644 index 00000000000..072c46abf99 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecDnsConfig.java @@ -0,0 +1,145 @@ + +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.PodDNSConfigOption; +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({ + "nameservers", + "options", + "searches" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecDnsConfig implements Editable , KubernetesResource +{ + + @JsonProperty("nameservers") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List nameservers = new ArrayList<>(); + @JsonProperty("options") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List options = new ArrayList<>(); + @JsonProperty("searches") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List searches = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecDnsConfig() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecDnsConfig(List nameservers, List options, List searches) { + super(); + this.nameservers = nameservers; + this.options = options; + this.searches = searches; + } + + @JsonProperty("nameservers") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNameservers() { + return nameservers; + } + + @JsonProperty("nameservers") + public void setNameservers(List nameservers) { + this.nameservers = nameservers; + } + + @JsonProperty("options") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getOptions() { + return options; + } + + @JsonProperty("options") + public void setOptions(List options) { + this.options = options; + } + + @JsonProperty("searches") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSearches() { + return searches; + } + + @JsonProperty("searches") + public void setSearches(List searches) { + this.searches = searches; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecDnsConfigBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecDnsConfigBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecDnsConfigBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECEFConfigMapRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECEFConfigMapRef.java new file mode 100644 index 00000000000..c461d2271d5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECEFConfigMapRef.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({ + "name", + "optional" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECEFConfigMapRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECEFConfigMapRef() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECEFConfigMapRef(String name, Boolean optional) { + super(); + this.name = name; + this.optional = optional; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECEFConfigMapRefBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECEFConfigMapRefBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECEFConfigMapRefBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECEFSecretRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECEFSecretRef.java new file mode 100644 index 00000000000..b93b786cb90 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECEFSecretRef.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({ + "name", + "optional" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECEFSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECEFSecretRef() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECEFSecretRef(String name, Boolean optional) { + super(); + this.name = name; + this.optional = optional; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECEFSecretRefBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECEFSecretRefBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECEFSecretRefBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECEVFConfigMapKeyRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECEVFConfigMapKeyRef.java new file mode 100644 index 00000000000..dfe89448287 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECEVFConfigMapKeyRef.java @@ -0,0 +1,136 @@ + +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({ + "key", + "name", + "optional" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECEVFConfigMapKeyRef implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECEVFConfigMapKeyRef() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECEVFConfigMapKeyRef(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECEVFConfigMapKeyRefBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECEVFConfigMapKeyRefBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECEVFConfigMapKeyRefBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECEVFFieldRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECEVFFieldRef.java new file mode 100644 index 00000000000..82a47608569 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECEVFFieldRef.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({ + "apiVersion", + "fieldPath" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECEVFFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiVersion") + private String apiVersion; + @JsonProperty("fieldPath") + private String fieldPath; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECEVFFieldRef() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECEVFFieldRef(String apiVersion, String fieldPath) { + super(); + this.apiVersion = apiVersion; + this.fieldPath = fieldPath; + } + + @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; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECEVFFieldRefBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECEVFFieldRefBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECEVFFieldRefBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECEVFResourceFieldRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECEVFResourceFieldRef.java new file mode 100644 index 00000000000..cbd4e6fddd6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECEVFResourceFieldRef.java @@ -0,0 +1,138 @@ + +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({ + "containerName", + "divisor", + "resource" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECEVFResourceFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("containerName") + private String containerName; + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object divisor; + @JsonProperty("resource") + private String resource; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECEVFResourceFieldRef() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECEVFResourceFieldRef(String containerName, Object divisor, String resource) { + super(); + this.containerName = containerName; + this.divisor = divisor; + this.resource = resource; + } + + @JsonProperty("containerName") + public String getContainerName() { + return containerName; + } + + @JsonProperty("containerName") + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @JsonProperty("divisor") + public Object getDivisor() { + return divisor; + } + + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setDivisor(Object divisor) { + this.divisor = divisor; + } + + @JsonProperty("resource") + public String getResource() { + return resource; + } + + @JsonProperty("resource") + public void setResource(String resource) { + this.resource = resource; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECEVFResourceFieldRefBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECEVFResourceFieldRefBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECEVFResourceFieldRefBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECEVFSecretKeyRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECEVFSecretKeyRef.java new file mode 100644 index 00000000000..593fd507b5a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECEVFSecretKeyRef.java @@ -0,0 +1,136 @@ + +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({ + "key", + "name", + "optional" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECEVFSecretKeyRef implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECEVFSecretKeyRef() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECEVFSecretKeyRef(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECEVFSecretKeyRefBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECEVFSecretKeyRefBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECEVFSecretKeyRefBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECEValueFrom.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECEValueFrom.java new file mode 100644 index 00000000000..91137b8a0fb --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECEValueFrom.java @@ -0,0 +1,150 @@ + +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({ + "configMapKeyRef", + "fieldRef", + "resourceFieldRef", + "secretKeyRef" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECEValueFrom implements Editable , KubernetesResource +{ + + @JsonProperty("configMapKeyRef") + private ClusterServiceVersionSpecISpecDSpecTSpecECEVFConfigMapKeyRef configMapKeyRef; + @JsonProperty("fieldRef") + private ClusterServiceVersionSpecISpecDSpecTSpecECEVFFieldRef fieldRef; + @JsonProperty("resourceFieldRef") + private ClusterServiceVersionSpecISpecDSpecTSpecECEVFResourceFieldRef resourceFieldRef; + @JsonProperty("secretKeyRef") + private ClusterServiceVersionSpecISpecDSpecTSpecECEVFSecretKeyRef secretKeyRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECEValueFrom() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECEValueFrom(ClusterServiceVersionSpecISpecDSpecTSpecECEVFConfigMapKeyRef configMapKeyRef, ClusterServiceVersionSpecISpecDSpecTSpecECEVFFieldRef fieldRef, ClusterServiceVersionSpecISpecDSpecTSpecECEVFResourceFieldRef resourceFieldRef, ClusterServiceVersionSpecISpecDSpecTSpecECEVFSecretKeyRef secretKeyRef) { + super(); + this.configMapKeyRef = configMapKeyRef; + this.fieldRef = fieldRef; + this.resourceFieldRef = resourceFieldRef; + this.secretKeyRef = secretKeyRef; + } + + @JsonProperty("configMapKeyRef") + public ClusterServiceVersionSpecISpecDSpecTSpecECEVFConfigMapKeyRef getConfigMapKeyRef() { + return configMapKeyRef; + } + + @JsonProperty("configMapKeyRef") + public void setConfigMapKeyRef(ClusterServiceVersionSpecISpecDSpecTSpecECEVFConfigMapKeyRef configMapKeyRef) { + this.configMapKeyRef = configMapKeyRef; + } + + @JsonProperty("fieldRef") + public ClusterServiceVersionSpecISpecDSpecTSpecECEVFFieldRef getFieldRef() { + return fieldRef; + } + + @JsonProperty("fieldRef") + public void setFieldRef(ClusterServiceVersionSpecISpecDSpecTSpecECEVFFieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @JsonProperty("resourceFieldRef") + public ClusterServiceVersionSpecISpecDSpecTSpecECEVFResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + @JsonProperty("resourceFieldRef") + public void setResourceFieldRef(ClusterServiceVersionSpecISpecDSpecTSpecECEVFResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @JsonProperty("secretKeyRef") + public ClusterServiceVersionSpecISpecDSpecTSpecECEVFSecretKeyRef getSecretKeyRef() { + return secretKeyRef; + } + + @JsonProperty("secretKeyRef") + public void setSecretKeyRef(ClusterServiceVersionSpecISpecDSpecTSpecECEVFSecretKeyRef secretKeyRef) { + this.secretKeyRef = secretKeyRef; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECEValueFromBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECEValueFromBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECEValueFromBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECEnv.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECEnv.java new file mode 100644 index 00000000000..2751e991cd4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECEnv.java @@ -0,0 +1,136 @@ + +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({ + "name", + "value", + "valueFrom" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECEnv implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonProperty("valueFrom") + private ClusterServiceVersionSpecISpecDSpecTSpecECEValueFrom valueFrom; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECEnv() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECEnv(String name, String value, ClusterServiceVersionSpecISpecDSpecTSpecECEValueFrom valueFrom) { + super(); + this.name = name; + this.value = value; + this.valueFrom = valueFrom; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonProperty("valueFrom") + public ClusterServiceVersionSpecISpecDSpecTSpecECEValueFrom getValueFrom() { + return valueFrom; + } + + @JsonProperty("valueFrom") + public void setValueFrom(ClusterServiceVersionSpecISpecDSpecTSpecECEValueFrom valueFrom) { + this.valueFrom = valueFrom; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECEnvBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECEnvBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECEnvBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECEnvFrom.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECEnvFrom.java new file mode 100644 index 00000000000..63c4138e22c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECEnvFrom.java @@ -0,0 +1,136 @@ + +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({ + "configMapRef", + "prefix", + "secretRef" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECEnvFrom implements Editable , KubernetesResource +{ + + @JsonProperty("configMapRef") + private ClusterServiceVersionSpecISpecDSpecTSpecECEFConfigMapRef configMapRef; + @JsonProperty("prefix") + private String prefix; + @JsonProperty("secretRef") + private ClusterServiceVersionSpecISpecDSpecTSpecECEFSecretRef secretRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECEnvFrom() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECEnvFrom(ClusterServiceVersionSpecISpecDSpecTSpecECEFConfigMapRef configMapRef, String prefix, ClusterServiceVersionSpecISpecDSpecTSpecECEFSecretRef secretRef) { + super(); + this.configMapRef = configMapRef; + this.prefix = prefix; + this.secretRef = secretRef; + } + + @JsonProperty("configMapRef") + public ClusterServiceVersionSpecISpecDSpecTSpecECEFConfigMapRef getConfigMapRef() { + return configMapRef; + } + + @JsonProperty("configMapRef") + public void setConfigMapRef(ClusterServiceVersionSpecISpecDSpecTSpecECEFConfigMapRef configMapRef) { + this.configMapRef = configMapRef; + } + + @JsonProperty("prefix") + public String getPrefix() { + return prefix; + } + + @JsonProperty("prefix") + public void setPrefix(String prefix) { + this.prefix = prefix; + } + + @JsonProperty("secretRef") + public ClusterServiceVersionSpecISpecDSpecTSpecECEFSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(ClusterServiceVersionSpecISpecDSpecTSpecECEFSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECEnvFromBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECEnvFromBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECEnvFromBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECLPExec.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPExec.java new file mode 100644 index 00000000000..5db632dab2b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPExec.java @@ -0,0 +1,112 @@ + +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({ + "command" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECLPExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECLPExec() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECLPExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPExecBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECLPExecBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPExecBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECLPGrpc.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPGrpc.java new file mode 100644 index 00000000000..9266dc50988 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPGrpc.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({ + "port", + "service" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECLPGrpc implements Editable , KubernetesResource +{ + + @JsonProperty("port") + private Integer port; + @JsonProperty("service") + private String service; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECLPGrpc() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECLPGrpc(Integer port, String service) { + super(); + this.port = port; + this.service = service; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("service") + public String getService() { + return service; + } + + @JsonProperty("service") + public void setService(String service) { + this.service = service; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPGrpcBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECLPGrpcBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPGrpcBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECLPHGHttpHeaders.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPHGHttpHeaders.java new file mode 100644 index 00000000000..10121f35ccc --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPHGHttpHeaders.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({ + "name", + "value" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECLPHGHttpHeaders implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECLPHGHttpHeaders() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECLPHGHttpHeaders(String name, String value) { + super(); + this.name = name; + this.value = value; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPHGHttpHeadersBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECLPHGHttpHeadersBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPHGHttpHeadersBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECLPHttpGet.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPHttpGet.java new file mode 100644 index 00000000000..0bfae7be11a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPHttpGet.java @@ -0,0 +1,170 @@ + +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({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECLPHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECLPHttpGet() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECLPHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPHttpGetBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECLPHttpGetBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPHttpGetBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECLPSExec.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPSExec.java new file mode 100644 index 00000000000..1c23205ad7b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPSExec.java @@ -0,0 +1,112 @@ + +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({ + "command" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECLPSExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSExec() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSExecBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECLPSExecBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSExecBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECLPSExec_1.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPSExec_1.java new file mode 100644 index 00000000000..1e0505de2e6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPSExec_1.java @@ -0,0 +1,112 @@ + +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({ + "command" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECLPSExec_1 implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSExec_1() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSExec_1(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSExec_1Builder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECLPSExec_1Builder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSExec_1Builder 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/ClusterServiceVersionSpecISpecDSpecTSpecECLPSHGHttpHeaders.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPSHGHttpHeaders.java new file mode 100644 index 00000000000..748b907733f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPSHGHttpHeaders.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({ + "name", + "value" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECLPSHGHttpHeaders implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSHGHttpHeaders() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSHGHttpHeaders(String name, String value) { + super(); + this.name = name; + this.value = value; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSHGHttpHeadersBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECLPSHGHttpHeadersBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSHGHttpHeadersBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECLPSHGHttpHeaders_1.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPSHGHttpHeaders_1.java new file mode 100644 index 00000000000..304ee4a4948 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPSHGHttpHeaders_1.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({ + "name", + "value" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECLPSHGHttpHeaders_1 implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSHGHttpHeaders_1() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSHGHttpHeaders_1(String name, String value) { + super(); + this.name = name; + this.value = value; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSHGHttpHeaders_1Builder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECLPSHGHttpHeaders_1Builder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSHGHttpHeaders_1Builder 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/ClusterServiceVersionSpecISpecDSpecTSpecECLPSHttpGet.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPSHttpGet.java new file mode 100644 index 00000000000..bd7f60ff3ba --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPSHttpGet.java @@ -0,0 +1,170 @@ + +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({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECLPSHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSHttpGet() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSHttpGetBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECLPSHttpGetBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSHttpGetBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECLPSHttpGet_1.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPSHttpGet_1.java new file mode 100644 index 00000000000..eb514a27957 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPSHttpGet_1.java @@ -0,0 +1,170 @@ + +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({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECLPSHttpGet_1 implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSHttpGet_1() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSHttpGet_1(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSHttpGet_1Builder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECLPSHttpGet_1Builder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSHttpGet_1Builder 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/ClusterServiceVersionSpecISpecDSpecTSpecECLPSSleep.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPSSleep.java new file mode 100644 index 00000000000..dac0a520e6b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPSSleep.java @@ -0,0 +1,108 @@ + +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({ + "seconds" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECLPSSleep implements Editable , KubernetesResource +{ + + @JsonProperty("seconds") + private Long seconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSSleep() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSSleep(Long seconds) { + super(); + this.seconds = seconds; + } + + @JsonProperty("seconds") + public Long getSeconds() { + return seconds; + } + + @JsonProperty("seconds") + public void setSeconds(Long seconds) { + this.seconds = seconds; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSSleepBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECLPSSleepBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSSleepBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECLPSSleep_1.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPSSleep_1.java new file mode 100644 index 00000000000..aa56369d628 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPSSleep_1.java @@ -0,0 +1,108 @@ + +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({ + "seconds" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECLPSSleep_1 implements Editable , KubernetesResource +{ + + @JsonProperty("seconds") + private Long seconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSSleep_1() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSSleep_1(Long seconds) { + super(); + this.seconds = seconds; + } + + @JsonProperty("seconds") + public Long getSeconds() { + return seconds; + } + + @JsonProperty("seconds") + public void setSeconds(Long seconds) { + this.seconds = seconds; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSSleep_1Builder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECLPSSleep_1Builder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSSleep_1Builder 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/ClusterServiceVersionSpecISpecDSpecTSpecECLPSTcpSocket.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPSTcpSocket.java new file mode 100644 index 00000000000..ce8513d9b17 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPSTcpSocket.java @@ -0,0 +1,124 @@ + +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({ + "host", + "port" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECLPSTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSTcpSocket() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSTcpSocketBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECLPSTcpSocketBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSTcpSocketBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECLPSTcpSocket_1.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPSTcpSocket_1.java new file mode 100644 index 00000000000..96595dc9507 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPSTcpSocket_1.java @@ -0,0 +1,124 @@ + +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({ + "host", + "port" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECLPSTcpSocket_1 implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSTcpSocket_1() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSTcpSocket_1(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSTcpSocket_1Builder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECLPSTcpSocket_1Builder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSTcpSocket_1Builder 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/ClusterServiceVersionSpecISpecDSpecTSpecECLPTcpSocket.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPTcpSocket.java new file mode 100644 index 00000000000..a4c15752ca9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPTcpSocket.java @@ -0,0 +1,124 @@ + +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({ + "host", + "port" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECLPTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECLPTcpSocket() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECLPTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPTcpSocketBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECLPTcpSocketBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPTcpSocketBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECLPostStart.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPostStart.java new file mode 100644 index 00000000000..8c5b0501141 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPostStart.java @@ -0,0 +1,150 @@ + +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({ + "exec", + "httpGet", + "sleep", + "tcpSocket" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECLPostStart implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private ClusterServiceVersionSpecISpecDSpecTSpecECLPSExec exec; + @JsonProperty("httpGet") + private ClusterServiceVersionSpecISpecDSpecTSpecECLPSHttpGet httpGet; + @JsonProperty("sleep") + private ClusterServiceVersionSpecISpecDSpecTSpecECLPSSleep sleep; + @JsonProperty("tcpSocket") + private ClusterServiceVersionSpecISpecDSpecTSpecECLPSTcpSocket tcpSocket; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECLPostStart() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECLPostStart(ClusterServiceVersionSpecISpecDSpecTSpecECLPSExec exec, ClusterServiceVersionSpecISpecDSpecTSpecECLPSHttpGet httpGet, ClusterServiceVersionSpecISpecDSpecTSpecECLPSSleep sleep, ClusterServiceVersionSpecISpecDSpecTSpecECLPSTcpSocket tcpSocket) { + super(); + this.exec = exec; + this.httpGet = httpGet; + this.sleep = sleep; + this.tcpSocket = tcpSocket; + } + + @JsonProperty("exec") + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(ClusterServiceVersionSpecISpecDSpecTSpecECLPSExec exec) { + this.exec = exec; + } + + @JsonProperty("httpGet") + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(ClusterServiceVersionSpecISpecDSpecTSpecECLPSHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("sleep") + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSSleep getSleep() { + return sleep; + } + + @JsonProperty("sleep") + public void setSleep(ClusterServiceVersionSpecISpecDSpecTSpecECLPSSleep sleep) { + this.sleep = sleep; + } + + @JsonProperty("tcpSocket") + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(ClusterServiceVersionSpecISpecDSpecTSpecECLPSTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPostStartBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECLPostStartBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPostStartBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECLPreStop.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPreStop.java new file mode 100644 index 00000000000..2ed4247da80 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLPreStop.java @@ -0,0 +1,150 @@ + +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({ + "exec", + "httpGet", + "sleep", + "tcpSocket" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECLPreStop implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private ClusterServiceVersionSpecISpecDSpecTSpecECLPSExec_1 exec; + @JsonProperty("httpGet") + private ClusterServiceVersionSpecISpecDSpecTSpecECLPSHttpGet_1 httpGet; + @JsonProperty("sleep") + private ClusterServiceVersionSpecISpecDSpecTSpecECLPSSleep_1 sleep; + @JsonProperty("tcpSocket") + private ClusterServiceVersionSpecISpecDSpecTSpecECLPSTcpSocket_1 tcpSocket; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECLPreStop() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECLPreStop(ClusterServiceVersionSpecISpecDSpecTSpecECLPSExec_1 exec, ClusterServiceVersionSpecISpecDSpecTSpecECLPSHttpGet_1 httpGet, ClusterServiceVersionSpecISpecDSpecTSpecECLPSSleep_1 sleep, ClusterServiceVersionSpecISpecDSpecTSpecECLPSTcpSocket_1 tcpSocket) { + super(); + this.exec = exec; + this.httpGet = httpGet; + this.sleep = sleep; + this.tcpSocket = tcpSocket; + } + + @JsonProperty("exec") + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSExec_1 getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(ClusterServiceVersionSpecISpecDSpecTSpecECLPSExec_1 exec) { + this.exec = exec; + } + + @JsonProperty("httpGet") + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSHttpGet_1 getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(ClusterServiceVersionSpecISpecDSpecTSpecECLPSHttpGet_1 httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("sleep") + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSSleep_1 getSleep() { + return sleep; + } + + @JsonProperty("sleep") + public void setSleep(ClusterServiceVersionSpecISpecDSpecTSpecECLPSSleep_1 sleep) { + this.sleep = sleep; + } + + @JsonProperty("tcpSocket") + public ClusterServiceVersionSpecISpecDSpecTSpecECLPSTcpSocket_1 getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(ClusterServiceVersionSpecISpecDSpecTSpecECLPSTcpSocket_1 tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPreStopBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECLPreStopBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLPreStopBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECLifecycle.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLifecycle.java new file mode 100644 index 00000000000..5d3d103a998 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLifecycle.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({ + "postStart", + "preStop" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECLifecycle implements Editable , KubernetesResource +{ + + @JsonProperty("postStart") + private ClusterServiceVersionSpecISpecDSpecTSpecECLPostStart postStart; + @JsonProperty("preStop") + private ClusterServiceVersionSpecISpecDSpecTSpecECLPreStop preStop; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECLifecycle() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECLifecycle(ClusterServiceVersionSpecISpecDSpecTSpecECLPostStart postStart, ClusterServiceVersionSpecISpecDSpecTSpecECLPreStop preStop) { + super(); + this.postStart = postStart; + this.preStop = preStop; + } + + @JsonProperty("postStart") + public ClusterServiceVersionSpecISpecDSpecTSpecECLPostStart getPostStart() { + return postStart; + } + + @JsonProperty("postStart") + public void setPostStart(ClusterServiceVersionSpecISpecDSpecTSpecECLPostStart postStart) { + this.postStart = postStart; + } + + @JsonProperty("preStop") + public ClusterServiceVersionSpecISpecDSpecTSpecECLPreStop getPreStop() { + return preStop; + } + + @JsonProperty("preStop") + public void setPreStop(ClusterServiceVersionSpecISpecDSpecTSpecECLPreStop preStop) { + this.preStop = preStop; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLifecycleBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECLifecycleBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLifecycleBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECLivenessProbe.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLivenessProbe.java new file mode 100644 index 00000000000..8304d4271fc --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECLivenessProbe.java @@ -0,0 +1,234 @@ + +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({ + "exec", + "failureThreshold", + "grpc", + "httpGet", + "initialDelaySeconds", + "periodSeconds", + "successThreshold", + "tcpSocket", + "terminationGracePeriodSeconds", + "timeoutSeconds" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECLivenessProbe implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private ClusterServiceVersionSpecISpecDSpecTSpecECLPExec exec; + @JsonProperty("failureThreshold") + private Integer failureThreshold; + @JsonProperty("grpc") + private ClusterServiceVersionSpecISpecDSpecTSpecECLPGrpc grpc; + @JsonProperty("httpGet") + private ClusterServiceVersionSpecISpecDSpecTSpecECLPHttpGet httpGet; + @JsonProperty("initialDelaySeconds") + private Integer initialDelaySeconds; + @JsonProperty("periodSeconds") + private Integer periodSeconds; + @JsonProperty("successThreshold") + private Integer successThreshold; + @JsonProperty("tcpSocket") + private ClusterServiceVersionSpecISpecDSpecTSpecECLPTcpSocket tcpSocket; + @JsonProperty("terminationGracePeriodSeconds") + private Long terminationGracePeriodSeconds; + @JsonProperty("timeoutSeconds") + private Integer timeoutSeconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECLivenessProbe() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECLivenessProbe(ClusterServiceVersionSpecISpecDSpecTSpecECLPExec exec, Integer failureThreshold, ClusterServiceVersionSpecISpecDSpecTSpecECLPGrpc grpc, ClusterServiceVersionSpecISpecDSpecTSpecECLPHttpGet httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, ClusterServiceVersionSpecISpecDSpecTSpecECLPTcpSocket tcpSocket, Long terminationGracePeriodSeconds, Integer timeoutSeconds) { + super(); + this.exec = exec; + this.failureThreshold = failureThreshold; + this.grpc = grpc; + this.httpGet = httpGet; + this.initialDelaySeconds = initialDelaySeconds; + this.periodSeconds = periodSeconds; + this.successThreshold = successThreshold; + this.tcpSocket = tcpSocket; + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + this.timeoutSeconds = timeoutSeconds; + } + + @JsonProperty("exec") + public ClusterServiceVersionSpecISpecDSpecTSpecECLPExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(ClusterServiceVersionSpecISpecDSpecTSpecECLPExec exec) { + this.exec = exec; + } + + @JsonProperty("failureThreshold") + public Integer getFailureThreshold() { + return failureThreshold; + } + + @JsonProperty("failureThreshold") + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @JsonProperty("grpc") + public ClusterServiceVersionSpecISpecDSpecTSpecECLPGrpc getGrpc() { + return grpc; + } + + @JsonProperty("grpc") + public void setGrpc(ClusterServiceVersionSpecISpecDSpecTSpecECLPGrpc grpc) { + this.grpc = grpc; + } + + @JsonProperty("httpGet") + public ClusterServiceVersionSpecISpecDSpecTSpecECLPHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(ClusterServiceVersionSpecISpecDSpecTSpecECLPHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("initialDelaySeconds") + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + @JsonProperty("initialDelaySeconds") + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @JsonProperty("periodSeconds") + public Integer getPeriodSeconds() { + return periodSeconds; + } + + @JsonProperty("periodSeconds") + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @JsonProperty("successThreshold") + public Integer getSuccessThreshold() { + return successThreshold; + } + + @JsonProperty("successThreshold") + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @JsonProperty("tcpSocket") + public ClusterServiceVersionSpecISpecDSpecTSpecECLPTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(ClusterServiceVersionSpecISpecDSpecTSpecECLPTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonProperty("terminationGracePeriodSeconds") + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + @JsonProperty("terminationGracePeriodSeconds") + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @JsonProperty("timeoutSeconds") + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + @JsonProperty("timeoutSeconds") + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLivenessProbeBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECLivenessProbeBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECLivenessProbeBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECPorts.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECPorts.java new file mode 100644 index 00000000000..89042a9c0cd --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECPorts.java @@ -0,0 +1,164 @@ + +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({ + "containerPort", + "hostIP", + "hostPort", + "name", + "protocol" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECPorts implements Editable , KubernetesResource +{ + + @JsonProperty("containerPort") + private Integer containerPort; + @JsonProperty("hostIP") + private String hostIP; + @JsonProperty("hostPort") + private Integer hostPort; + @JsonProperty("name") + private String name; + @JsonProperty("protocol") + private String protocol; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECPorts() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECPorts(Integer containerPort, String hostIP, Integer hostPort, String name, String protocol) { + super(); + this.containerPort = containerPort; + this.hostIP = hostIP; + this.hostPort = hostPort; + this.name = name; + this.protocol = protocol; + } + + @JsonProperty("containerPort") + public Integer getContainerPort() { + return containerPort; + } + + @JsonProperty("containerPort") + public void setContainerPort(Integer containerPort) { + this.containerPort = containerPort; + } + + @JsonProperty("hostIP") + public String getHostIP() { + return hostIP; + } + + @JsonProperty("hostIP") + public void setHostIP(String hostIP) { + this.hostIP = hostIP; + } + + @JsonProperty("hostPort") + public Integer getHostPort() { + return hostPort; + } + + @JsonProperty("hostPort") + public void setHostPort(Integer hostPort) { + this.hostPort = hostPort; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("protocol") + public String getProtocol() { + return protocol; + } + + @JsonProperty("protocol") + public void setProtocol(String protocol) { + this.protocol = protocol; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECPortsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECPortsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECPortsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECRClaims.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECRClaims.java new file mode 100644 index 00000000000..ec21b3e929d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECRClaims.java @@ -0,0 +1,108 @@ + +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({ + "name" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECRClaims implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECRClaims() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECRClaims(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECRClaimsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECRClaimsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECRClaimsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECRPExec.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECRPExec.java new file mode 100644 index 00000000000..b248b4a9f01 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECRPExec.java @@ -0,0 +1,112 @@ + +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({ + "command" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECRPExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECRPExec() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECRPExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECRPExecBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECRPExecBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECRPExecBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECRPGrpc.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECRPGrpc.java new file mode 100644 index 00000000000..f619fd7053e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECRPGrpc.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({ + "port", + "service" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECRPGrpc implements Editable , KubernetesResource +{ + + @JsonProperty("port") + private Integer port; + @JsonProperty("service") + private String service; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECRPGrpc() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECRPGrpc(Integer port, String service) { + super(); + this.port = port; + this.service = service; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("service") + public String getService() { + return service; + } + + @JsonProperty("service") + public void setService(String service) { + this.service = service; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECRPGrpcBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECRPGrpcBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECRPGrpcBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECRPHGHttpHeaders.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECRPHGHttpHeaders.java new file mode 100644 index 00000000000..c4f1f3e5de6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECRPHGHttpHeaders.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({ + "name", + "value" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECRPHGHttpHeaders implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECRPHGHttpHeaders() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECRPHGHttpHeaders(String name, String value) { + super(); + this.name = name; + this.value = value; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECRPHGHttpHeadersBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECRPHGHttpHeadersBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECRPHGHttpHeadersBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECRPHttpGet.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECRPHttpGet.java new file mode 100644 index 00000000000..ccc40d93380 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECRPHttpGet.java @@ -0,0 +1,170 @@ + +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({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECRPHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECRPHttpGet() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECRPHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECRPHttpGetBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECRPHttpGetBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECRPHttpGetBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECRPTcpSocket.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECRPTcpSocket.java new file mode 100644 index 00000000000..8ddd9c43c85 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECRPTcpSocket.java @@ -0,0 +1,124 @@ + +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({ + "host", + "port" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECRPTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECRPTcpSocket() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECRPTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECRPTcpSocketBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECRPTcpSocketBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECRPTcpSocketBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECReadinessProbe.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECReadinessProbe.java new file mode 100644 index 00000000000..0b907be3866 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECReadinessProbe.java @@ -0,0 +1,234 @@ + +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({ + "exec", + "failureThreshold", + "grpc", + "httpGet", + "initialDelaySeconds", + "periodSeconds", + "successThreshold", + "tcpSocket", + "terminationGracePeriodSeconds", + "timeoutSeconds" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECReadinessProbe implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private ClusterServiceVersionSpecISpecDSpecTSpecECRPExec exec; + @JsonProperty("failureThreshold") + private Integer failureThreshold; + @JsonProperty("grpc") + private ClusterServiceVersionSpecISpecDSpecTSpecECRPGrpc grpc; + @JsonProperty("httpGet") + private ClusterServiceVersionSpecISpecDSpecTSpecECRPHttpGet httpGet; + @JsonProperty("initialDelaySeconds") + private Integer initialDelaySeconds; + @JsonProperty("periodSeconds") + private Integer periodSeconds; + @JsonProperty("successThreshold") + private Integer successThreshold; + @JsonProperty("tcpSocket") + private ClusterServiceVersionSpecISpecDSpecTSpecECRPTcpSocket tcpSocket; + @JsonProperty("terminationGracePeriodSeconds") + private Long terminationGracePeriodSeconds; + @JsonProperty("timeoutSeconds") + private Integer timeoutSeconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECReadinessProbe() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECReadinessProbe(ClusterServiceVersionSpecISpecDSpecTSpecECRPExec exec, Integer failureThreshold, ClusterServiceVersionSpecISpecDSpecTSpecECRPGrpc grpc, ClusterServiceVersionSpecISpecDSpecTSpecECRPHttpGet httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, ClusterServiceVersionSpecISpecDSpecTSpecECRPTcpSocket tcpSocket, Long terminationGracePeriodSeconds, Integer timeoutSeconds) { + super(); + this.exec = exec; + this.failureThreshold = failureThreshold; + this.grpc = grpc; + this.httpGet = httpGet; + this.initialDelaySeconds = initialDelaySeconds; + this.periodSeconds = periodSeconds; + this.successThreshold = successThreshold; + this.tcpSocket = tcpSocket; + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + this.timeoutSeconds = timeoutSeconds; + } + + @JsonProperty("exec") + public ClusterServiceVersionSpecISpecDSpecTSpecECRPExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(ClusterServiceVersionSpecISpecDSpecTSpecECRPExec exec) { + this.exec = exec; + } + + @JsonProperty("failureThreshold") + public Integer getFailureThreshold() { + return failureThreshold; + } + + @JsonProperty("failureThreshold") + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @JsonProperty("grpc") + public ClusterServiceVersionSpecISpecDSpecTSpecECRPGrpc getGrpc() { + return grpc; + } + + @JsonProperty("grpc") + public void setGrpc(ClusterServiceVersionSpecISpecDSpecTSpecECRPGrpc grpc) { + this.grpc = grpc; + } + + @JsonProperty("httpGet") + public ClusterServiceVersionSpecISpecDSpecTSpecECRPHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(ClusterServiceVersionSpecISpecDSpecTSpecECRPHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("initialDelaySeconds") + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + @JsonProperty("initialDelaySeconds") + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @JsonProperty("periodSeconds") + public Integer getPeriodSeconds() { + return periodSeconds; + } + + @JsonProperty("periodSeconds") + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @JsonProperty("successThreshold") + public Integer getSuccessThreshold() { + return successThreshold; + } + + @JsonProperty("successThreshold") + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @JsonProperty("tcpSocket") + public ClusterServiceVersionSpecISpecDSpecTSpecECRPTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(ClusterServiceVersionSpecISpecDSpecTSpecECRPTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonProperty("terminationGracePeriodSeconds") + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + @JsonProperty("terminationGracePeriodSeconds") + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @JsonProperty("timeoutSeconds") + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + @JsonProperty("timeoutSeconds") + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECReadinessProbeBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECReadinessProbeBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECReadinessProbeBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECResizePolicy.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECResizePolicy.java new file mode 100644 index 00000000000..9519668ad1e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECResizePolicy.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({ + "resourceName", + "restartPolicy" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECResizePolicy implements Editable , KubernetesResource +{ + + @JsonProperty("resourceName") + private String resourceName; + @JsonProperty("restartPolicy") + private String restartPolicy; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECResizePolicy() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECResizePolicy(String resourceName, String restartPolicy) { + super(); + this.resourceName = resourceName; + this.restartPolicy = restartPolicy; + } + + @JsonProperty("resourceName") + public String getResourceName() { + return resourceName; + } + + @JsonProperty("resourceName") + public void setResourceName(String resourceName) { + this.resourceName = resourceName; + } + + @JsonProperty("restartPolicy") + public String getRestartPolicy() { + return restartPolicy; + } + + @JsonProperty("restartPolicy") + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECResizePolicyBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECResizePolicyBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECResizePolicyBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECResources.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECResources.java new file mode 100644 index 00000000000..ff9348c2eaf --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECResources.java @@ -0,0 +1,148 @@ + +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({ + "claims", + "limits", + "requests" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECResources implements Editable , KubernetesResource +{ + + @JsonProperty("claims") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List claims = new ArrayList<>(); + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map limits = new LinkedHashMap<>(); + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map requests = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECResources() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECResources(List claims, Map limits, Map requests) { + super(); + this.claims = claims; + this.limits = limits; + this.requests = requests; + } + + @JsonProperty("claims") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getClaims() { + return claims; + } + + @JsonProperty("claims") + public void setClaims(List claims) { + this.claims = claims; + } + + @JsonProperty("limits") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLimits() { + return limits; + } + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setLimits(Map limits) { + this.limits = limits; + } + + @JsonProperty("requests") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getRequests() { + return requests; + } + + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setRequests(Map requests) { + this.requests = requests; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECResourcesBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECResourcesBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECResourcesBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECSCAppArmorProfile.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECSCAppArmorProfile.java new file mode 100644 index 00000000000..1930886f4a7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECSCAppArmorProfile.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({ + "localhostProfile", + "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 ClusterServiceVersionSpecISpecDSpecTSpecECSCAppArmorProfile implements Editable , KubernetesResource +{ + + @JsonProperty("localhostProfile") + private String localhostProfile; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECSCAppArmorProfile() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECSCAppArmorProfile(String localhostProfile, String type) { + super(); + this.localhostProfile = localhostProfile; + this.type = type; + } + + @JsonProperty("localhostProfile") + public String getLocalhostProfile() { + return localhostProfile; + } + + @JsonProperty("localhostProfile") + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECSCAppArmorProfileBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECSCAppArmorProfileBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECSCAppArmorProfileBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECSCCapabilities.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECSCCapabilities.java new file mode 100644 index 00000000000..76d223cb190 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECSCCapabilities.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({ + "add", + "drop" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECSCCapabilities implements Editable , KubernetesResource +{ + + @JsonProperty("add") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List add = new ArrayList<>(); + @JsonProperty("drop") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List drop = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECSCCapabilities() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECSCCapabilities(List add, List drop) { + super(); + this.add = add; + this.drop = drop; + } + + @JsonProperty("add") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAdd() { + return add; + } + + @JsonProperty("add") + public void setAdd(List add) { + this.add = add; + } + + @JsonProperty("drop") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getDrop() { + return drop; + } + + @JsonProperty("drop") + public void setDrop(List drop) { + this.drop = drop; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECSCCapabilitiesBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECSCCapabilitiesBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECSCCapabilitiesBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECSCSeLinuxOptions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECSCSeLinuxOptions.java new file mode 100644 index 00000000000..4529cde1d93 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECSCSeLinuxOptions.java @@ -0,0 +1,150 @@ + +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({ + "level", + "role", + "type", + "user" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECSCSeLinuxOptions implements Editable , KubernetesResource +{ + + @JsonProperty("level") + private String level; + @JsonProperty("role") + private String role; + @JsonProperty("type") + private String type; + @JsonProperty("user") + private String user; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECSCSeLinuxOptions() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECSCSeLinuxOptions(String level, String role, String type, String user) { + super(); + this.level = level; + this.role = role; + this.type = type; + this.user = user; + } + + @JsonProperty("level") + public String getLevel() { + return level; + } + + @JsonProperty("level") + public void setLevel(String level) { + this.level = level; + } + + @JsonProperty("role") + public String getRole() { + return role; + } + + @JsonProperty("role") + public void setRole(String role) { + this.role = role; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonProperty("user") + public String getUser() { + return user; + } + + @JsonProperty("user") + public void setUser(String user) { + this.user = user; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECSCSeLinuxOptionsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECSCSeLinuxOptionsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECSCSeLinuxOptionsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECSCSeccompProfile.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECSCSeccompProfile.java new file mode 100644 index 00000000000..7c438e6262b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECSCSeccompProfile.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({ + "localhostProfile", + "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 ClusterServiceVersionSpecISpecDSpecTSpecECSCSeccompProfile implements Editable , KubernetesResource +{ + + @JsonProperty("localhostProfile") + private String localhostProfile; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECSCSeccompProfile() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECSCSeccompProfile(String localhostProfile, String type) { + super(); + this.localhostProfile = localhostProfile; + this.type = type; + } + + @JsonProperty("localhostProfile") + public String getLocalhostProfile() { + return localhostProfile; + } + + @JsonProperty("localhostProfile") + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECSCSeccompProfileBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECSCSeccompProfileBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECSCSeccompProfileBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECSCWindowsOptions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECSCWindowsOptions.java new file mode 100644 index 00000000000..c1c301808b0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECSCWindowsOptions.java @@ -0,0 +1,150 @@ + +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({ + "gmsaCredentialSpec", + "gmsaCredentialSpecName", + "hostProcess", + "runAsUserName" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECSCWindowsOptions implements Editable , KubernetesResource +{ + + @JsonProperty("gmsaCredentialSpec") + private String gmsaCredentialSpec; + @JsonProperty("gmsaCredentialSpecName") + private String gmsaCredentialSpecName; + @JsonProperty("hostProcess") + private Boolean hostProcess; + @JsonProperty("runAsUserName") + private String runAsUserName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECSCWindowsOptions() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECSCWindowsOptions(String gmsaCredentialSpec, String gmsaCredentialSpecName, Boolean hostProcess, String runAsUserName) { + super(); + this.gmsaCredentialSpec = gmsaCredentialSpec; + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + this.hostProcess = hostProcess; + this.runAsUserName = runAsUserName; + } + + @JsonProperty("gmsaCredentialSpec") + public String getGmsaCredentialSpec() { + return gmsaCredentialSpec; + } + + @JsonProperty("gmsaCredentialSpec") + public void setGmsaCredentialSpec(String gmsaCredentialSpec) { + this.gmsaCredentialSpec = gmsaCredentialSpec; + } + + @JsonProperty("gmsaCredentialSpecName") + public String getGmsaCredentialSpecName() { + return gmsaCredentialSpecName; + } + + @JsonProperty("gmsaCredentialSpecName") + public void setGmsaCredentialSpecName(String gmsaCredentialSpecName) { + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + } + + @JsonProperty("hostProcess") + public Boolean getHostProcess() { + return hostProcess; + } + + @JsonProperty("hostProcess") + public void setHostProcess(Boolean hostProcess) { + this.hostProcess = hostProcess; + } + + @JsonProperty("runAsUserName") + public String getRunAsUserName() { + return runAsUserName; + } + + @JsonProperty("runAsUserName") + public void setRunAsUserName(String runAsUserName) { + this.runAsUserName = runAsUserName; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECSCWindowsOptionsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECSCWindowsOptionsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECSCWindowsOptionsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECSPExec.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECSPExec.java new file mode 100644 index 00000000000..8e6a8e27a81 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECSPExec.java @@ -0,0 +1,112 @@ + +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({ + "command" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECSPExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECSPExec() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECSPExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECSPExecBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECSPExecBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECSPExecBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECSPGrpc.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECSPGrpc.java new file mode 100644 index 00000000000..c77393a9012 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECSPGrpc.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({ + "port", + "service" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECSPGrpc implements Editable , KubernetesResource +{ + + @JsonProperty("port") + private Integer port; + @JsonProperty("service") + private String service; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECSPGrpc() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECSPGrpc(Integer port, String service) { + super(); + this.port = port; + this.service = service; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("service") + public String getService() { + return service; + } + + @JsonProperty("service") + public void setService(String service) { + this.service = service; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECSPGrpcBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECSPGrpcBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECSPGrpcBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECSPHGHttpHeaders.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECSPHGHttpHeaders.java new file mode 100644 index 00000000000..9558c4b91d9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECSPHGHttpHeaders.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({ + "name", + "value" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECSPHGHttpHeaders implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECSPHGHttpHeaders() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECSPHGHttpHeaders(String name, String value) { + super(); + this.name = name; + this.value = value; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECSPHGHttpHeadersBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECSPHGHttpHeadersBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECSPHGHttpHeadersBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECSPHttpGet.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECSPHttpGet.java new file mode 100644 index 00000000000..70eb017a77b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECSPHttpGet.java @@ -0,0 +1,170 @@ + +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({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECSPHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECSPHttpGet() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECSPHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECSPHttpGetBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECSPHttpGetBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECSPHttpGetBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECSPTcpSocket.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECSPTcpSocket.java new file mode 100644 index 00000000000..4d65d2472fb --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECSPTcpSocket.java @@ -0,0 +1,124 @@ + +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({ + "host", + "port" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECSPTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECSPTcpSocket() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECSPTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECSPTcpSocketBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECSPTcpSocketBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECSPTcpSocketBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECSecurityContext.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECSecurityContext.java new file mode 100644 index 00000000000..0c5f02e482b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECSecurityContext.java @@ -0,0 +1,262 @@ + +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({ + "allowPrivilegeEscalation", + "appArmorProfile", + "capabilities", + "privileged", + "procMount", + "readOnlyRootFilesystem", + "runAsGroup", + "runAsNonRoot", + "runAsUser", + "seLinuxOptions", + "seccompProfile", + "windowsOptions" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECSecurityContext implements Editable , KubernetesResource +{ + + @JsonProperty("allowPrivilegeEscalation") + private Boolean allowPrivilegeEscalation; + @JsonProperty("appArmorProfile") + private ClusterServiceVersionSpecISpecDSpecTSpecECSCAppArmorProfile appArmorProfile; + @JsonProperty("capabilities") + private ClusterServiceVersionSpecISpecDSpecTSpecECSCCapabilities capabilities; + @JsonProperty("privileged") + private Boolean privileged; + @JsonProperty("procMount") + private String procMount; + @JsonProperty("readOnlyRootFilesystem") + private Boolean readOnlyRootFilesystem; + @JsonProperty("runAsGroup") + private Long runAsGroup; + @JsonProperty("runAsNonRoot") + private Boolean runAsNonRoot; + @JsonProperty("runAsUser") + private Long runAsUser; + @JsonProperty("seLinuxOptions") + private ClusterServiceVersionSpecISpecDSpecTSpecECSCSeLinuxOptions seLinuxOptions; + @JsonProperty("seccompProfile") + private ClusterServiceVersionSpecISpecDSpecTSpecECSCSeccompProfile seccompProfile; + @JsonProperty("windowsOptions") + private ClusterServiceVersionSpecISpecDSpecTSpecECSCWindowsOptions windowsOptions; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECSecurityContext() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECSecurityContext(Boolean allowPrivilegeEscalation, ClusterServiceVersionSpecISpecDSpecTSpecECSCAppArmorProfile appArmorProfile, ClusterServiceVersionSpecISpecDSpecTSpecECSCCapabilities capabilities, Boolean privileged, String procMount, Boolean readOnlyRootFilesystem, Long runAsGroup, Boolean runAsNonRoot, Long runAsUser, ClusterServiceVersionSpecISpecDSpecTSpecECSCSeLinuxOptions seLinuxOptions, ClusterServiceVersionSpecISpecDSpecTSpecECSCSeccompProfile seccompProfile, ClusterServiceVersionSpecISpecDSpecTSpecECSCWindowsOptions windowsOptions) { + super(); + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + this.appArmorProfile = appArmorProfile; + this.capabilities = capabilities; + this.privileged = privileged; + this.procMount = procMount; + this.readOnlyRootFilesystem = readOnlyRootFilesystem; + this.runAsGroup = runAsGroup; + this.runAsNonRoot = runAsNonRoot; + this.runAsUser = runAsUser; + this.seLinuxOptions = seLinuxOptions; + this.seccompProfile = seccompProfile; + this.windowsOptions = windowsOptions; + } + + @JsonProperty("allowPrivilegeEscalation") + public Boolean getAllowPrivilegeEscalation() { + return allowPrivilegeEscalation; + } + + @JsonProperty("allowPrivilegeEscalation") + public void setAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation) { + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + } + + @JsonProperty("appArmorProfile") + public ClusterServiceVersionSpecISpecDSpecTSpecECSCAppArmorProfile getAppArmorProfile() { + return appArmorProfile; + } + + @JsonProperty("appArmorProfile") + public void setAppArmorProfile(ClusterServiceVersionSpecISpecDSpecTSpecECSCAppArmorProfile appArmorProfile) { + this.appArmorProfile = appArmorProfile; + } + + @JsonProperty("capabilities") + public ClusterServiceVersionSpecISpecDSpecTSpecECSCCapabilities getCapabilities() { + return capabilities; + } + + @JsonProperty("capabilities") + public void setCapabilities(ClusterServiceVersionSpecISpecDSpecTSpecECSCCapabilities capabilities) { + this.capabilities = capabilities; + } + + @JsonProperty("privileged") + public Boolean getPrivileged() { + return privileged; + } + + @JsonProperty("privileged") + public void setPrivileged(Boolean privileged) { + this.privileged = privileged; + } + + @JsonProperty("procMount") + public String getProcMount() { + return procMount; + } + + @JsonProperty("procMount") + public void setProcMount(String procMount) { + this.procMount = procMount; + } + + @JsonProperty("readOnlyRootFilesystem") + public Boolean getReadOnlyRootFilesystem() { + return readOnlyRootFilesystem; + } + + @JsonProperty("readOnlyRootFilesystem") + public void setReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem) { + this.readOnlyRootFilesystem = readOnlyRootFilesystem; + } + + @JsonProperty("runAsGroup") + public Long getRunAsGroup() { + return runAsGroup; + } + + @JsonProperty("runAsGroup") + public void setRunAsGroup(Long runAsGroup) { + this.runAsGroup = runAsGroup; + } + + @JsonProperty("runAsNonRoot") + public Boolean getRunAsNonRoot() { + return runAsNonRoot; + } + + @JsonProperty("runAsNonRoot") + public void setRunAsNonRoot(Boolean runAsNonRoot) { + this.runAsNonRoot = runAsNonRoot; + } + + @JsonProperty("runAsUser") + public Long getRunAsUser() { + return runAsUser; + } + + @JsonProperty("runAsUser") + public void setRunAsUser(Long runAsUser) { + this.runAsUser = runAsUser; + } + + @JsonProperty("seLinuxOptions") + public ClusterServiceVersionSpecISpecDSpecTSpecECSCSeLinuxOptions getSeLinuxOptions() { + return seLinuxOptions; + } + + @JsonProperty("seLinuxOptions") + public void setSeLinuxOptions(ClusterServiceVersionSpecISpecDSpecTSpecECSCSeLinuxOptions seLinuxOptions) { + this.seLinuxOptions = seLinuxOptions; + } + + @JsonProperty("seccompProfile") + public ClusterServiceVersionSpecISpecDSpecTSpecECSCSeccompProfile getSeccompProfile() { + return seccompProfile; + } + + @JsonProperty("seccompProfile") + public void setSeccompProfile(ClusterServiceVersionSpecISpecDSpecTSpecECSCSeccompProfile seccompProfile) { + this.seccompProfile = seccompProfile; + } + + @JsonProperty("windowsOptions") + public ClusterServiceVersionSpecISpecDSpecTSpecECSCWindowsOptions getWindowsOptions() { + return windowsOptions; + } + + @JsonProperty("windowsOptions") + public void setWindowsOptions(ClusterServiceVersionSpecISpecDSpecTSpecECSCWindowsOptions windowsOptions) { + this.windowsOptions = windowsOptions; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECSecurityContextBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECSecurityContextBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECSecurityContextBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECStartupProbe.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECStartupProbe.java new file mode 100644 index 00000000000..36233bfc62b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECStartupProbe.java @@ -0,0 +1,234 @@ + +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({ + "exec", + "failureThreshold", + "grpc", + "httpGet", + "initialDelaySeconds", + "periodSeconds", + "successThreshold", + "tcpSocket", + "terminationGracePeriodSeconds", + "timeoutSeconds" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECStartupProbe implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private ClusterServiceVersionSpecISpecDSpecTSpecECSPExec exec; + @JsonProperty("failureThreshold") + private Integer failureThreshold; + @JsonProperty("grpc") + private ClusterServiceVersionSpecISpecDSpecTSpecECSPGrpc grpc; + @JsonProperty("httpGet") + private ClusterServiceVersionSpecISpecDSpecTSpecECSPHttpGet httpGet; + @JsonProperty("initialDelaySeconds") + private Integer initialDelaySeconds; + @JsonProperty("periodSeconds") + private Integer periodSeconds; + @JsonProperty("successThreshold") + private Integer successThreshold; + @JsonProperty("tcpSocket") + private ClusterServiceVersionSpecISpecDSpecTSpecECSPTcpSocket tcpSocket; + @JsonProperty("terminationGracePeriodSeconds") + private Long terminationGracePeriodSeconds; + @JsonProperty("timeoutSeconds") + private Integer timeoutSeconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECStartupProbe() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECStartupProbe(ClusterServiceVersionSpecISpecDSpecTSpecECSPExec exec, Integer failureThreshold, ClusterServiceVersionSpecISpecDSpecTSpecECSPGrpc grpc, ClusterServiceVersionSpecISpecDSpecTSpecECSPHttpGet httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, ClusterServiceVersionSpecISpecDSpecTSpecECSPTcpSocket tcpSocket, Long terminationGracePeriodSeconds, Integer timeoutSeconds) { + super(); + this.exec = exec; + this.failureThreshold = failureThreshold; + this.grpc = grpc; + this.httpGet = httpGet; + this.initialDelaySeconds = initialDelaySeconds; + this.periodSeconds = periodSeconds; + this.successThreshold = successThreshold; + this.tcpSocket = tcpSocket; + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + this.timeoutSeconds = timeoutSeconds; + } + + @JsonProperty("exec") + public ClusterServiceVersionSpecISpecDSpecTSpecECSPExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(ClusterServiceVersionSpecISpecDSpecTSpecECSPExec exec) { + this.exec = exec; + } + + @JsonProperty("failureThreshold") + public Integer getFailureThreshold() { + return failureThreshold; + } + + @JsonProperty("failureThreshold") + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @JsonProperty("grpc") + public ClusterServiceVersionSpecISpecDSpecTSpecECSPGrpc getGrpc() { + return grpc; + } + + @JsonProperty("grpc") + public void setGrpc(ClusterServiceVersionSpecISpecDSpecTSpecECSPGrpc grpc) { + this.grpc = grpc; + } + + @JsonProperty("httpGet") + public ClusterServiceVersionSpecISpecDSpecTSpecECSPHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(ClusterServiceVersionSpecISpecDSpecTSpecECSPHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("initialDelaySeconds") + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + @JsonProperty("initialDelaySeconds") + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @JsonProperty("periodSeconds") + public Integer getPeriodSeconds() { + return periodSeconds; + } + + @JsonProperty("periodSeconds") + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @JsonProperty("successThreshold") + public Integer getSuccessThreshold() { + return successThreshold; + } + + @JsonProperty("successThreshold") + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @JsonProperty("tcpSocket") + public ClusterServiceVersionSpecISpecDSpecTSpecECSPTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(ClusterServiceVersionSpecISpecDSpecTSpecECSPTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonProperty("terminationGracePeriodSeconds") + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + @JsonProperty("terminationGracePeriodSeconds") + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @JsonProperty("timeoutSeconds") + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + @JsonProperty("timeoutSeconds") + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECStartupProbeBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECStartupProbeBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECStartupProbeBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecECVolumeMounts.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECVolumeMounts.java new file mode 100644 index 00000000000..45288849bcb --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecECVolumeMounts.java @@ -0,0 +1,192 @@ + +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({ + "mountPath", + "mountPropagation", + "name", + "readOnly", + "recursiveReadOnly", + "subPath", + "subPathExpr" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecECVolumeMounts implements Editable , KubernetesResource +{ + + @JsonProperty("mountPath") + private String mountPath; + @JsonProperty("mountPropagation") + private String mountPropagation; + @JsonProperty("name") + private String name; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("recursiveReadOnly") + private String recursiveReadOnly; + @JsonProperty("subPath") + private String subPath; + @JsonProperty("subPathExpr") + private String subPathExpr; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecECVolumeMounts() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecECVolumeMounts(String mountPath, String mountPropagation, String name, Boolean readOnly, String recursiveReadOnly, String subPath, String subPathExpr) { + super(); + this.mountPath = mountPath; + this.mountPropagation = mountPropagation; + this.name = name; + this.readOnly = readOnly; + this.recursiveReadOnly = recursiveReadOnly; + this.subPath = subPath; + this.subPathExpr = subPathExpr; + } + + @JsonProperty("mountPath") + public String getMountPath() { + return mountPath; + } + + @JsonProperty("mountPath") + public void setMountPath(String mountPath) { + this.mountPath = mountPath; + } + + @JsonProperty("mountPropagation") + public String getMountPropagation() { + return mountPropagation; + } + + @JsonProperty("mountPropagation") + public void setMountPropagation(String mountPropagation) { + this.mountPropagation = mountPropagation; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("recursiveReadOnly") + public String getRecursiveReadOnly() { + return recursiveReadOnly; + } + + @JsonProperty("recursiveReadOnly") + public void setRecursiveReadOnly(String recursiveReadOnly) { + this.recursiveReadOnly = recursiveReadOnly; + } + + @JsonProperty("subPath") + public String getSubPath() { + return subPath; + } + + @JsonProperty("subPath") + public void setSubPath(String subPath) { + this.subPath = subPath; + } + + @JsonProperty("subPathExpr") + public String getSubPathExpr() { + return subPathExpr; + } + + @JsonProperty("subPathExpr") + public void setSubPathExpr(String subPathExpr) { + this.subPathExpr = subPathExpr; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECVolumeMountsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecECVolumeMountsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecECVolumeMountsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecEphemeralContainers.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecEphemeralContainers.java new file mode 100644 index 00000000000..d12b7436b1e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecEphemeralContainers.java @@ -0,0 +1,463 @@ + +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.fabric8.kubernetes.api.model.VolumeDevice; +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({ + "args", + "command", + "env", + "envFrom", + "image", + "imagePullPolicy", + "lifecycle", + "livenessProbe", + "name", + "ports", + "readinessProbe", + "resizePolicy", + "resources", + "restartPolicy", + "securityContext", + "startupProbe", + "stdin", + "stdinOnce", + "targetContainerName", + "terminationMessagePath", + "terminationMessagePolicy", + "tty", + "volumeDevices", + "volumeMounts", + "workingDir" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecEphemeralContainers implements Editable , KubernetesResource +{ + + @JsonProperty("args") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List args = new ArrayList<>(); + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonProperty("env") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List env = new ArrayList<>(); + @JsonProperty("envFrom") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List envFrom = new ArrayList<>(); + @JsonProperty("image") + private String image; + @JsonProperty("imagePullPolicy") + private String imagePullPolicy; + @JsonProperty("lifecycle") + private ClusterServiceVersionSpecISpecDSpecTSpecECLifecycle lifecycle; + @JsonProperty("livenessProbe") + private ClusterServiceVersionSpecISpecDSpecTSpecECLivenessProbe livenessProbe; + @JsonProperty("name") + private String name; + @JsonProperty("ports") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List ports = new ArrayList<>(); + @JsonProperty("readinessProbe") + private ClusterServiceVersionSpecISpecDSpecTSpecECReadinessProbe readinessProbe; + @JsonProperty("resizePolicy") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List resizePolicy = new ArrayList<>(); + @JsonProperty("resources") + private ClusterServiceVersionSpecISpecDSpecTSpecECResources resources; + @JsonProperty("restartPolicy") + private String restartPolicy; + @JsonProperty("securityContext") + private ClusterServiceVersionSpecISpecDSpecTSpecECSecurityContext securityContext; + @JsonProperty("startupProbe") + private ClusterServiceVersionSpecISpecDSpecTSpecECStartupProbe startupProbe; + @JsonProperty("stdin") + private Boolean stdin; + @JsonProperty("stdinOnce") + private Boolean stdinOnce; + @JsonProperty("targetContainerName") + private String targetContainerName; + @JsonProperty("terminationMessagePath") + private String terminationMessagePath; + @JsonProperty("terminationMessagePolicy") + private String terminationMessagePolicy; + @JsonProperty("tty") + private Boolean tty; + @JsonProperty("volumeDevices") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List volumeDevices = new ArrayList<>(); + @JsonProperty("volumeMounts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List volumeMounts = new ArrayList<>(); + @JsonProperty("workingDir") + private String workingDir; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecEphemeralContainers() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecEphemeralContainers(List args, List command, List env, List envFrom, String image, String imagePullPolicy, ClusterServiceVersionSpecISpecDSpecTSpecECLifecycle lifecycle, ClusterServiceVersionSpecISpecDSpecTSpecECLivenessProbe livenessProbe, String name, List ports, ClusterServiceVersionSpecISpecDSpecTSpecECReadinessProbe readinessProbe, List resizePolicy, ClusterServiceVersionSpecISpecDSpecTSpecECResources resources, String restartPolicy, ClusterServiceVersionSpecISpecDSpecTSpecECSecurityContext securityContext, ClusterServiceVersionSpecISpecDSpecTSpecECStartupProbe startupProbe, Boolean stdin, Boolean stdinOnce, String targetContainerName, String terminationMessagePath, String terminationMessagePolicy, Boolean tty, List volumeDevices, List volumeMounts, String workingDir) { + super(); + this.args = args; + this.command = command; + this.env = env; + this.envFrom = envFrom; + this.image = image; + this.imagePullPolicy = imagePullPolicy; + this.lifecycle = lifecycle; + this.livenessProbe = livenessProbe; + this.name = name; + this.ports = ports; + this.readinessProbe = readinessProbe; + this.resizePolicy = resizePolicy; + this.resources = resources; + this.restartPolicy = restartPolicy; + this.securityContext = securityContext; + this.startupProbe = startupProbe; + this.stdin = stdin; + this.stdinOnce = stdinOnce; + this.targetContainerName = targetContainerName; + this.terminationMessagePath = terminationMessagePath; + this.terminationMessagePolicy = terminationMessagePolicy; + this.tty = tty; + this.volumeDevices = volumeDevices; + this.volumeMounts = volumeMounts; + this.workingDir = workingDir; + } + + @JsonProperty("args") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getArgs() { + return args; + } + + @JsonProperty("args") + public void setArgs(List args) { + this.args = args; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonProperty("env") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getEnv() { + return env; + } + + @JsonProperty("env") + public void setEnv(List env) { + this.env = env; + } + + @JsonProperty("envFrom") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getEnvFrom() { + return envFrom; + } + + @JsonProperty("envFrom") + public void setEnvFrom(List envFrom) { + this.envFrom = envFrom; + } + + @JsonProperty("image") + public String getImage() { + return image; + } + + @JsonProperty("image") + public void setImage(String image) { + this.image = image; + } + + @JsonProperty("imagePullPolicy") + public String getImagePullPolicy() { + return imagePullPolicy; + } + + @JsonProperty("imagePullPolicy") + public void setImagePullPolicy(String imagePullPolicy) { + this.imagePullPolicy = imagePullPolicy; + } + + @JsonProperty("lifecycle") + public ClusterServiceVersionSpecISpecDSpecTSpecECLifecycle getLifecycle() { + return lifecycle; + } + + @JsonProperty("lifecycle") + public void setLifecycle(ClusterServiceVersionSpecISpecDSpecTSpecECLifecycle lifecycle) { + this.lifecycle = lifecycle; + } + + @JsonProperty("livenessProbe") + public ClusterServiceVersionSpecISpecDSpecTSpecECLivenessProbe getLivenessProbe() { + return livenessProbe; + } + + @JsonProperty("livenessProbe") + public void setLivenessProbe(ClusterServiceVersionSpecISpecDSpecTSpecECLivenessProbe livenessProbe) { + this.livenessProbe = livenessProbe; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("ports") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPorts() { + return ports; + } + + @JsonProperty("ports") + public void setPorts(List ports) { + this.ports = ports; + } + + @JsonProperty("readinessProbe") + public ClusterServiceVersionSpecISpecDSpecTSpecECReadinessProbe getReadinessProbe() { + return readinessProbe; + } + + @JsonProperty("readinessProbe") + public void setReadinessProbe(ClusterServiceVersionSpecISpecDSpecTSpecECReadinessProbe readinessProbe) { + this.readinessProbe = readinessProbe; + } + + @JsonProperty("resizePolicy") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResizePolicy() { + return resizePolicy; + } + + @JsonProperty("resizePolicy") + public void setResizePolicy(List resizePolicy) { + this.resizePolicy = resizePolicy; + } + + @JsonProperty("resources") + public ClusterServiceVersionSpecISpecDSpecTSpecECResources getResources() { + return resources; + } + + @JsonProperty("resources") + public void setResources(ClusterServiceVersionSpecISpecDSpecTSpecECResources resources) { + this.resources = resources; + } + + @JsonProperty("restartPolicy") + public String getRestartPolicy() { + return restartPolicy; + } + + @JsonProperty("restartPolicy") + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + + @JsonProperty("securityContext") + public ClusterServiceVersionSpecISpecDSpecTSpecECSecurityContext getSecurityContext() { + return securityContext; + } + + @JsonProperty("securityContext") + public void setSecurityContext(ClusterServiceVersionSpecISpecDSpecTSpecECSecurityContext securityContext) { + this.securityContext = securityContext; + } + + @JsonProperty("startupProbe") + public ClusterServiceVersionSpecISpecDSpecTSpecECStartupProbe getStartupProbe() { + return startupProbe; + } + + @JsonProperty("startupProbe") + public void setStartupProbe(ClusterServiceVersionSpecISpecDSpecTSpecECStartupProbe startupProbe) { + this.startupProbe = startupProbe; + } + + @JsonProperty("stdin") + public Boolean getStdin() { + return stdin; + } + + @JsonProperty("stdin") + public void setStdin(Boolean stdin) { + this.stdin = stdin; + } + + @JsonProperty("stdinOnce") + public Boolean getStdinOnce() { + return stdinOnce; + } + + @JsonProperty("stdinOnce") + public void setStdinOnce(Boolean stdinOnce) { + this.stdinOnce = stdinOnce; + } + + @JsonProperty("targetContainerName") + public String getTargetContainerName() { + return targetContainerName; + } + + @JsonProperty("targetContainerName") + public void setTargetContainerName(String targetContainerName) { + this.targetContainerName = targetContainerName; + } + + @JsonProperty("terminationMessagePath") + public String getTerminationMessagePath() { + return terminationMessagePath; + } + + @JsonProperty("terminationMessagePath") + public void setTerminationMessagePath(String terminationMessagePath) { + this.terminationMessagePath = terminationMessagePath; + } + + @JsonProperty("terminationMessagePolicy") + public String getTerminationMessagePolicy() { + return terminationMessagePolicy; + } + + @JsonProperty("terminationMessagePolicy") + public void setTerminationMessagePolicy(String terminationMessagePolicy) { + this.terminationMessagePolicy = terminationMessagePolicy; + } + + @JsonProperty("tty") + public Boolean getTty() { + return tty; + } + + @JsonProperty("tty") + public void setTty(Boolean tty) { + this.tty = tty; + } + + @JsonProperty("volumeDevices") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getVolumeDevices() { + return volumeDevices; + } + + @JsonProperty("volumeDevices") + public void setVolumeDevices(List volumeDevices) { + this.volumeDevices = volumeDevices; + } + + @JsonProperty("volumeMounts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getVolumeMounts() { + return volumeMounts; + } + + @JsonProperty("volumeMounts") + public void setVolumeMounts(List volumeMounts) { + this.volumeMounts = volumeMounts; + } + + @JsonProperty("workingDir") + public String getWorkingDir() { + return workingDir; + } + + @JsonProperty("workingDir") + public void setWorkingDir(String workingDir) { + this.workingDir = workingDir; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecEphemeralContainersBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecEphemeralContainersBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecEphemeralContainersBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecHostAliases.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecHostAliases.java new file mode 100644 index 00000000000..d4ecf44eed8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecHostAliases.java @@ -0,0 +1,126 @@ + +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({ + "hostnames", + "ip" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecHostAliases implements Editable , KubernetesResource +{ + + @JsonProperty("hostnames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List hostnames = new ArrayList<>(); + @JsonProperty("ip") + private String ip; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecHostAliases() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecHostAliases(List hostnames, String ip) { + super(); + this.hostnames = hostnames; + this.ip = ip; + } + + @JsonProperty("hostnames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHostnames() { + return hostnames; + } + + @JsonProperty("hostnames") + public void setHostnames(List hostnames) { + this.hostnames = hostnames; + } + + @JsonProperty("ip") + public String getIp() { + return ip; + } + + @JsonProperty("ip") + public void setIp(String ip) { + this.ip = ip; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecHostAliasesBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecHostAliasesBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecHostAliasesBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICEFConfigMapRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICEFConfigMapRef.java new file mode 100644 index 00000000000..105536870dc --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICEFConfigMapRef.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({ + "name", + "optional" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICEFConfigMapRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICEFConfigMapRef() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICEFConfigMapRef(String name, Boolean optional) { + super(); + this.name = name; + this.optional = optional; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICEFConfigMapRefBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICEFConfigMapRefBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICEFConfigMapRefBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICEFSecretRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICEFSecretRef.java new file mode 100644 index 00000000000..e5bdf7aeee9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICEFSecretRef.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({ + "name", + "optional" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICEFSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICEFSecretRef() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICEFSecretRef(String name, Boolean optional) { + super(); + this.name = name; + this.optional = optional; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICEFSecretRefBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICEFSecretRefBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICEFSecretRefBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICEVFConfigMapKeyRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICEVFConfigMapKeyRef.java new file mode 100644 index 00000000000..eb67a174a94 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICEVFConfigMapKeyRef.java @@ -0,0 +1,136 @@ + +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({ + "key", + "name", + "optional" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICEVFConfigMapKeyRef implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICEVFConfigMapKeyRef() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICEVFConfigMapKeyRef(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICEVFConfigMapKeyRefBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICEVFConfigMapKeyRefBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICEVFConfigMapKeyRefBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICEVFFieldRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICEVFFieldRef.java new file mode 100644 index 00000000000..1955021bf5b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICEVFFieldRef.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({ + "apiVersion", + "fieldPath" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICEVFFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiVersion") + private String apiVersion; + @JsonProperty("fieldPath") + private String fieldPath; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICEVFFieldRef() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICEVFFieldRef(String apiVersion, String fieldPath) { + super(); + this.apiVersion = apiVersion; + this.fieldPath = fieldPath; + } + + @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; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICEVFFieldRefBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICEVFFieldRefBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICEVFFieldRefBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICEVFResourceFieldRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICEVFResourceFieldRef.java new file mode 100644 index 00000000000..bcb4e9ce704 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICEVFResourceFieldRef.java @@ -0,0 +1,138 @@ + +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({ + "containerName", + "divisor", + "resource" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICEVFResourceFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("containerName") + private String containerName; + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object divisor; + @JsonProperty("resource") + private String resource; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICEVFResourceFieldRef() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICEVFResourceFieldRef(String containerName, Object divisor, String resource) { + super(); + this.containerName = containerName; + this.divisor = divisor; + this.resource = resource; + } + + @JsonProperty("containerName") + public String getContainerName() { + return containerName; + } + + @JsonProperty("containerName") + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @JsonProperty("divisor") + public Object getDivisor() { + return divisor; + } + + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setDivisor(Object divisor) { + this.divisor = divisor; + } + + @JsonProperty("resource") + public String getResource() { + return resource; + } + + @JsonProperty("resource") + public void setResource(String resource) { + this.resource = resource; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICEVFResourceFieldRefBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICEVFResourceFieldRefBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICEVFResourceFieldRefBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICEVFSecretKeyRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICEVFSecretKeyRef.java new file mode 100644 index 00000000000..83a8feaba4e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICEVFSecretKeyRef.java @@ -0,0 +1,136 @@ + +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({ + "key", + "name", + "optional" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICEVFSecretKeyRef implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICEVFSecretKeyRef() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICEVFSecretKeyRef(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICEVFSecretKeyRefBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICEVFSecretKeyRefBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICEVFSecretKeyRefBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICEValueFrom.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICEValueFrom.java new file mode 100644 index 00000000000..960da22a3a0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICEValueFrom.java @@ -0,0 +1,150 @@ + +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({ + "configMapKeyRef", + "fieldRef", + "resourceFieldRef", + "secretKeyRef" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICEValueFrom implements Editable , KubernetesResource +{ + + @JsonProperty("configMapKeyRef") + private ClusterServiceVersionSpecISpecDSpecTSpecICEVFConfigMapKeyRef configMapKeyRef; + @JsonProperty("fieldRef") + private ClusterServiceVersionSpecISpecDSpecTSpecICEVFFieldRef fieldRef; + @JsonProperty("resourceFieldRef") + private ClusterServiceVersionSpecISpecDSpecTSpecICEVFResourceFieldRef resourceFieldRef; + @JsonProperty("secretKeyRef") + private ClusterServiceVersionSpecISpecDSpecTSpecICEVFSecretKeyRef secretKeyRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICEValueFrom() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICEValueFrom(ClusterServiceVersionSpecISpecDSpecTSpecICEVFConfigMapKeyRef configMapKeyRef, ClusterServiceVersionSpecISpecDSpecTSpecICEVFFieldRef fieldRef, ClusterServiceVersionSpecISpecDSpecTSpecICEVFResourceFieldRef resourceFieldRef, ClusterServiceVersionSpecISpecDSpecTSpecICEVFSecretKeyRef secretKeyRef) { + super(); + this.configMapKeyRef = configMapKeyRef; + this.fieldRef = fieldRef; + this.resourceFieldRef = resourceFieldRef; + this.secretKeyRef = secretKeyRef; + } + + @JsonProperty("configMapKeyRef") + public ClusterServiceVersionSpecISpecDSpecTSpecICEVFConfigMapKeyRef getConfigMapKeyRef() { + return configMapKeyRef; + } + + @JsonProperty("configMapKeyRef") + public void setConfigMapKeyRef(ClusterServiceVersionSpecISpecDSpecTSpecICEVFConfigMapKeyRef configMapKeyRef) { + this.configMapKeyRef = configMapKeyRef; + } + + @JsonProperty("fieldRef") + public ClusterServiceVersionSpecISpecDSpecTSpecICEVFFieldRef getFieldRef() { + return fieldRef; + } + + @JsonProperty("fieldRef") + public void setFieldRef(ClusterServiceVersionSpecISpecDSpecTSpecICEVFFieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @JsonProperty("resourceFieldRef") + public ClusterServiceVersionSpecISpecDSpecTSpecICEVFResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + @JsonProperty("resourceFieldRef") + public void setResourceFieldRef(ClusterServiceVersionSpecISpecDSpecTSpecICEVFResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @JsonProperty("secretKeyRef") + public ClusterServiceVersionSpecISpecDSpecTSpecICEVFSecretKeyRef getSecretKeyRef() { + return secretKeyRef; + } + + @JsonProperty("secretKeyRef") + public void setSecretKeyRef(ClusterServiceVersionSpecISpecDSpecTSpecICEVFSecretKeyRef secretKeyRef) { + this.secretKeyRef = secretKeyRef; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICEValueFromBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICEValueFromBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICEValueFromBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICEnv.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICEnv.java new file mode 100644 index 00000000000..8c61aaf3fa2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICEnv.java @@ -0,0 +1,136 @@ + +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({ + "name", + "value", + "valueFrom" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICEnv implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonProperty("valueFrom") + private ClusterServiceVersionSpecISpecDSpecTSpecICEValueFrom valueFrom; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICEnv() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICEnv(String name, String value, ClusterServiceVersionSpecISpecDSpecTSpecICEValueFrom valueFrom) { + super(); + this.name = name; + this.value = value; + this.valueFrom = valueFrom; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonProperty("valueFrom") + public ClusterServiceVersionSpecISpecDSpecTSpecICEValueFrom getValueFrom() { + return valueFrom; + } + + @JsonProperty("valueFrom") + public void setValueFrom(ClusterServiceVersionSpecISpecDSpecTSpecICEValueFrom valueFrom) { + this.valueFrom = valueFrom; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICEnvBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICEnvBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICEnvBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICEnvFrom.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICEnvFrom.java new file mode 100644 index 00000000000..080976f7805 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICEnvFrom.java @@ -0,0 +1,136 @@ + +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({ + "configMapRef", + "prefix", + "secretRef" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICEnvFrom implements Editable , KubernetesResource +{ + + @JsonProperty("configMapRef") + private ClusterServiceVersionSpecISpecDSpecTSpecICEFConfigMapRef configMapRef; + @JsonProperty("prefix") + private String prefix; + @JsonProperty("secretRef") + private ClusterServiceVersionSpecISpecDSpecTSpecICEFSecretRef secretRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICEnvFrom() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICEnvFrom(ClusterServiceVersionSpecISpecDSpecTSpecICEFConfigMapRef configMapRef, String prefix, ClusterServiceVersionSpecISpecDSpecTSpecICEFSecretRef secretRef) { + super(); + this.configMapRef = configMapRef; + this.prefix = prefix; + this.secretRef = secretRef; + } + + @JsonProperty("configMapRef") + public ClusterServiceVersionSpecISpecDSpecTSpecICEFConfigMapRef getConfigMapRef() { + return configMapRef; + } + + @JsonProperty("configMapRef") + public void setConfigMapRef(ClusterServiceVersionSpecISpecDSpecTSpecICEFConfigMapRef configMapRef) { + this.configMapRef = configMapRef; + } + + @JsonProperty("prefix") + public String getPrefix() { + return prefix; + } + + @JsonProperty("prefix") + public void setPrefix(String prefix) { + this.prefix = prefix; + } + + @JsonProperty("secretRef") + public ClusterServiceVersionSpecISpecDSpecTSpecICEFSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(ClusterServiceVersionSpecISpecDSpecTSpecICEFSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICEnvFromBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICEnvFromBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICEnvFromBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICLPExec.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPExec.java new file mode 100644 index 00000000000..3e76ed4f2f4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPExec.java @@ -0,0 +1,112 @@ + +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({ + "command" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICLPExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICLPExec() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICLPExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPExecBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICLPExecBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPExecBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICLPGrpc.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPGrpc.java new file mode 100644 index 00000000000..6f4bc16a3a1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPGrpc.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({ + "port", + "service" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICLPGrpc implements Editable , KubernetesResource +{ + + @JsonProperty("port") + private Integer port; + @JsonProperty("service") + private String service; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICLPGrpc() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICLPGrpc(Integer port, String service) { + super(); + this.port = port; + this.service = service; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("service") + public String getService() { + return service; + } + + @JsonProperty("service") + public void setService(String service) { + this.service = service; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPGrpcBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICLPGrpcBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPGrpcBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICLPHGHttpHeaders.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPHGHttpHeaders.java new file mode 100644 index 00000000000..41e3565e73c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPHGHttpHeaders.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({ + "name", + "value" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICLPHGHttpHeaders implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICLPHGHttpHeaders() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICLPHGHttpHeaders(String name, String value) { + super(); + this.name = name; + this.value = value; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPHGHttpHeadersBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICLPHGHttpHeadersBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPHGHttpHeadersBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICLPHttpGet.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPHttpGet.java new file mode 100644 index 00000000000..767da30f6c2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPHttpGet.java @@ -0,0 +1,170 @@ + +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({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICLPHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICLPHttpGet() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICLPHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPHttpGetBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICLPHttpGetBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPHttpGetBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICLPSExec.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPSExec.java new file mode 100644 index 00000000000..b7295ff90e8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPSExec.java @@ -0,0 +1,112 @@ + +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({ + "command" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICLPSExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSExec() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSExecBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICLPSExecBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSExecBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICLPSExec_1.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPSExec_1.java new file mode 100644 index 00000000000..7fad153a873 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPSExec_1.java @@ -0,0 +1,112 @@ + +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({ + "command" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICLPSExec_1 implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSExec_1() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSExec_1(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSExec_1Builder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICLPSExec_1Builder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSExec_1Builder 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/ClusterServiceVersionSpecISpecDSpecTSpecICLPSHGHttpHeaders.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPSHGHttpHeaders.java new file mode 100644 index 00000000000..3db87bd21c3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPSHGHttpHeaders.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({ + "name", + "value" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICLPSHGHttpHeaders implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSHGHttpHeaders() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSHGHttpHeaders(String name, String value) { + super(); + this.name = name; + this.value = value; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSHGHttpHeadersBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICLPSHGHttpHeadersBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSHGHttpHeadersBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICLPSHGHttpHeaders_1.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPSHGHttpHeaders_1.java new file mode 100644 index 00000000000..3693ff68ecc --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPSHGHttpHeaders_1.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({ + "name", + "value" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICLPSHGHttpHeaders_1 implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSHGHttpHeaders_1() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSHGHttpHeaders_1(String name, String value) { + super(); + this.name = name; + this.value = value; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSHGHttpHeaders_1Builder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICLPSHGHttpHeaders_1Builder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSHGHttpHeaders_1Builder 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/ClusterServiceVersionSpecISpecDSpecTSpecICLPSHttpGet.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPSHttpGet.java new file mode 100644 index 00000000000..2415c02bdd8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPSHttpGet.java @@ -0,0 +1,170 @@ + +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({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICLPSHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSHttpGet() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSHttpGetBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICLPSHttpGetBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSHttpGetBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICLPSHttpGet_1.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPSHttpGet_1.java new file mode 100644 index 00000000000..cf86ef23d07 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPSHttpGet_1.java @@ -0,0 +1,170 @@ + +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({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICLPSHttpGet_1 implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSHttpGet_1() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSHttpGet_1(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSHttpGet_1Builder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICLPSHttpGet_1Builder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSHttpGet_1Builder 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/ClusterServiceVersionSpecISpecDSpecTSpecICLPSSleep.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPSSleep.java new file mode 100644 index 00000000000..ffb98196a5b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPSSleep.java @@ -0,0 +1,108 @@ + +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({ + "seconds" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICLPSSleep implements Editable , KubernetesResource +{ + + @JsonProperty("seconds") + private Long seconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSSleep() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSSleep(Long seconds) { + super(); + this.seconds = seconds; + } + + @JsonProperty("seconds") + public Long getSeconds() { + return seconds; + } + + @JsonProperty("seconds") + public void setSeconds(Long seconds) { + this.seconds = seconds; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSSleepBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICLPSSleepBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSSleepBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICLPSSleep_1.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPSSleep_1.java new file mode 100644 index 00000000000..8d37352ee91 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPSSleep_1.java @@ -0,0 +1,108 @@ + +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({ + "seconds" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICLPSSleep_1 implements Editable , KubernetesResource +{ + + @JsonProperty("seconds") + private Long seconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSSleep_1() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSSleep_1(Long seconds) { + super(); + this.seconds = seconds; + } + + @JsonProperty("seconds") + public Long getSeconds() { + return seconds; + } + + @JsonProperty("seconds") + public void setSeconds(Long seconds) { + this.seconds = seconds; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSSleep_1Builder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICLPSSleep_1Builder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSSleep_1Builder 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/ClusterServiceVersionSpecISpecDSpecTSpecICLPSTcpSocket.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPSTcpSocket.java new file mode 100644 index 00000000000..651092a8d5d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPSTcpSocket.java @@ -0,0 +1,124 @@ + +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({ + "host", + "port" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICLPSTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSTcpSocket() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSTcpSocketBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICLPSTcpSocketBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSTcpSocketBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICLPSTcpSocket_1.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPSTcpSocket_1.java new file mode 100644 index 00000000000..fc512f9df66 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPSTcpSocket_1.java @@ -0,0 +1,124 @@ + +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({ + "host", + "port" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICLPSTcpSocket_1 implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSTcpSocket_1() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSTcpSocket_1(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSTcpSocket_1Builder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICLPSTcpSocket_1Builder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSTcpSocket_1Builder 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/ClusterServiceVersionSpecISpecDSpecTSpecICLPTcpSocket.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPTcpSocket.java new file mode 100644 index 00000000000..dbdf8d0e99e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPTcpSocket.java @@ -0,0 +1,124 @@ + +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({ + "host", + "port" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICLPTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICLPTcpSocket() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICLPTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPTcpSocketBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICLPTcpSocketBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPTcpSocketBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICLPostStart.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPostStart.java new file mode 100644 index 00000000000..c56f212c164 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPostStart.java @@ -0,0 +1,150 @@ + +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({ + "exec", + "httpGet", + "sleep", + "tcpSocket" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICLPostStart implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private ClusterServiceVersionSpecISpecDSpecTSpecICLPSExec exec; + @JsonProperty("httpGet") + private ClusterServiceVersionSpecISpecDSpecTSpecICLPSHttpGet httpGet; + @JsonProperty("sleep") + private ClusterServiceVersionSpecISpecDSpecTSpecICLPSSleep sleep; + @JsonProperty("tcpSocket") + private ClusterServiceVersionSpecISpecDSpecTSpecICLPSTcpSocket tcpSocket; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICLPostStart() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICLPostStart(ClusterServiceVersionSpecISpecDSpecTSpecICLPSExec exec, ClusterServiceVersionSpecISpecDSpecTSpecICLPSHttpGet httpGet, ClusterServiceVersionSpecISpecDSpecTSpecICLPSSleep sleep, ClusterServiceVersionSpecISpecDSpecTSpecICLPSTcpSocket tcpSocket) { + super(); + this.exec = exec; + this.httpGet = httpGet; + this.sleep = sleep; + this.tcpSocket = tcpSocket; + } + + @JsonProperty("exec") + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(ClusterServiceVersionSpecISpecDSpecTSpecICLPSExec exec) { + this.exec = exec; + } + + @JsonProperty("httpGet") + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(ClusterServiceVersionSpecISpecDSpecTSpecICLPSHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("sleep") + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSSleep getSleep() { + return sleep; + } + + @JsonProperty("sleep") + public void setSleep(ClusterServiceVersionSpecISpecDSpecTSpecICLPSSleep sleep) { + this.sleep = sleep; + } + + @JsonProperty("tcpSocket") + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(ClusterServiceVersionSpecISpecDSpecTSpecICLPSTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPostStartBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICLPostStartBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPostStartBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICLPreStop.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPreStop.java new file mode 100644 index 00000000000..9066330a4a1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLPreStop.java @@ -0,0 +1,150 @@ + +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({ + "exec", + "httpGet", + "sleep", + "tcpSocket" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICLPreStop implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private ClusterServiceVersionSpecISpecDSpecTSpecICLPSExec_1 exec; + @JsonProperty("httpGet") + private ClusterServiceVersionSpecISpecDSpecTSpecICLPSHttpGet_1 httpGet; + @JsonProperty("sleep") + private ClusterServiceVersionSpecISpecDSpecTSpecICLPSSleep_1 sleep; + @JsonProperty("tcpSocket") + private ClusterServiceVersionSpecISpecDSpecTSpecICLPSTcpSocket_1 tcpSocket; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICLPreStop() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICLPreStop(ClusterServiceVersionSpecISpecDSpecTSpecICLPSExec_1 exec, ClusterServiceVersionSpecISpecDSpecTSpecICLPSHttpGet_1 httpGet, ClusterServiceVersionSpecISpecDSpecTSpecICLPSSleep_1 sleep, ClusterServiceVersionSpecISpecDSpecTSpecICLPSTcpSocket_1 tcpSocket) { + super(); + this.exec = exec; + this.httpGet = httpGet; + this.sleep = sleep; + this.tcpSocket = tcpSocket; + } + + @JsonProperty("exec") + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSExec_1 getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(ClusterServiceVersionSpecISpecDSpecTSpecICLPSExec_1 exec) { + this.exec = exec; + } + + @JsonProperty("httpGet") + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSHttpGet_1 getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(ClusterServiceVersionSpecISpecDSpecTSpecICLPSHttpGet_1 httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("sleep") + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSSleep_1 getSleep() { + return sleep; + } + + @JsonProperty("sleep") + public void setSleep(ClusterServiceVersionSpecISpecDSpecTSpecICLPSSleep_1 sleep) { + this.sleep = sleep; + } + + @JsonProperty("tcpSocket") + public ClusterServiceVersionSpecISpecDSpecTSpecICLPSTcpSocket_1 getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(ClusterServiceVersionSpecISpecDSpecTSpecICLPSTcpSocket_1 tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPreStopBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICLPreStopBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLPreStopBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICLifecycle.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLifecycle.java new file mode 100644 index 00000000000..8bd64903b09 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLifecycle.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({ + "postStart", + "preStop" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICLifecycle implements Editable , KubernetesResource +{ + + @JsonProperty("postStart") + private ClusterServiceVersionSpecISpecDSpecTSpecICLPostStart postStart; + @JsonProperty("preStop") + private ClusterServiceVersionSpecISpecDSpecTSpecICLPreStop preStop; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICLifecycle() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICLifecycle(ClusterServiceVersionSpecISpecDSpecTSpecICLPostStart postStart, ClusterServiceVersionSpecISpecDSpecTSpecICLPreStop preStop) { + super(); + this.postStart = postStart; + this.preStop = preStop; + } + + @JsonProperty("postStart") + public ClusterServiceVersionSpecISpecDSpecTSpecICLPostStart getPostStart() { + return postStart; + } + + @JsonProperty("postStart") + public void setPostStart(ClusterServiceVersionSpecISpecDSpecTSpecICLPostStart postStart) { + this.postStart = postStart; + } + + @JsonProperty("preStop") + public ClusterServiceVersionSpecISpecDSpecTSpecICLPreStop getPreStop() { + return preStop; + } + + @JsonProperty("preStop") + public void setPreStop(ClusterServiceVersionSpecISpecDSpecTSpecICLPreStop preStop) { + this.preStop = preStop; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLifecycleBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICLifecycleBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLifecycleBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICLivenessProbe.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLivenessProbe.java new file mode 100644 index 00000000000..56c066f58c3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICLivenessProbe.java @@ -0,0 +1,234 @@ + +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({ + "exec", + "failureThreshold", + "grpc", + "httpGet", + "initialDelaySeconds", + "periodSeconds", + "successThreshold", + "tcpSocket", + "terminationGracePeriodSeconds", + "timeoutSeconds" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICLivenessProbe implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private ClusterServiceVersionSpecISpecDSpecTSpecICLPExec exec; + @JsonProperty("failureThreshold") + private Integer failureThreshold; + @JsonProperty("grpc") + private ClusterServiceVersionSpecISpecDSpecTSpecICLPGrpc grpc; + @JsonProperty("httpGet") + private ClusterServiceVersionSpecISpecDSpecTSpecICLPHttpGet httpGet; + @JsonProperty("initialDelaySeconds") + private Integer initialDelaySeconds; + @JsonProperty("periodSeconds") + private Integer periodSeconds; + @JsonProperty("successThreshold") + private Integer successThreshold; + @JsonProperty("tcpSocket") + private ClusterServiceVersionSpecISpecDSpecTSpecICLPTcpSocket tcpSocket; + @JsonProperty("terminationGracePeriodSeconds") + private Long terminationGracePeriodSeconds; + @JsonProperty("timeoutSeconds") + private Integer timeoutSeconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICLivenessProbe() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICLivenessProbe(ClusterServiceVersionSpecISpecDSpecTSpecICLPExec exec, Integer failureThreshold, ClusterServiceVersionSpecISpecDSpecTSpecICLPGrpc grpc, ClusterServiceVersionSpecISpecDSpecTSpecICLPHttpGet httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, ClusterServiceVersionSpecISpecDSpecTSpecICLPTcpSocket tcpSocket, Long terminationGracePeriodSeconds, Integer timeoutSeconds) { + super(); + this.exec = exec; + this.failureThreshold = failureThreshold; + this.grpc = grpc; + this.httpGet = httpGet; + this.initialDelaySeconds = initialDelaySeconds; + this.periodSeconds = periodSeconds; + this.successThreshold = successThreshold; + this.tcpSocket = tcpSocket; + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + this.timeoutSeconds = timeoutSeconds; + } + + @JsonProperty("exec") + public ClusterServiceVersionSpecISpecDSpecTSpecICLPExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(ClusterServiceVersionSpecISpecDSpecTSpecICLPExec exec) { + this.exec = exec; + } + + @JsonProperty("failureThreshold") + public Integer getFailureThreshold() { + return failureThreshold; + } + + @JsonProperty("failureThreshold") + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @JsonProperty("grpc") + public ClusterServiceVersionSpecISpecDSpecTSpecICLPGrpc getGrpc() { + return grpc; + } + + @JsonProperty("grpc") + public void setGrpc(ClusterServiceVersionSpecISpecDSpecTSpecICLPGrpc grpc) { + this.grpc = grpc; + } + + @JsonProperty("httpGet") + public ClusterServiceVersionSpecISpecDSpecTSpecICLPHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(ClusterServiceVersionSpecISpecDSpecTSpecICLPHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("initialDelaySeconds") + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + @JsonProperty("initialDelaySeconds") + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @JsonProperty("periodSeconds") + public Integer getPeriodSeconds() { + return periodSeconds; + } + + @JsonProperty("periodSeconds") + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @JsonProperty("successThreshold") + public Integer getSuccessThreshold() { + return successThreshold; + } + + @JsonProperty("successThreshold") + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @JsonProperty("tcpSocket") + public ClusterServiceVersionSpecISpecDSpecTSpecICLPTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(ClusterServiceVersionSpecISpecDSpecTSpecICLPTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonProperty("terminationGracePeriodSeconds") + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + @JsonProperty("terminationGracePeriodSeconds") + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @JsonProperty("timeoutSeconds") + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + @JsonProperty("timeoutSeconds") + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLivenessProbeBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICLivenessProbeBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICLivenessProbeBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICPorts.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICPorts.java new file mode 100644 index 00000000000..d039f1df030 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICPorts.java @@ -0,0 +1,164 @@ + +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({ + "containerPort", + "hostIP", + "hostPort", + "name", + "protocol" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICPorts implements Editable , KubernetesResource +{ + + @JsonProperty("containerPort") + private Integer containerPort; + @JsonProperty("hostIP") + private String hostIP; + @JsonProperty("hostPort") + private Integer hostPort; + @JsonProperty("name") + private String name; + @JsonProperty("protocol") + private String protocol; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICPorts() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICPorts(Integer containerPort, String hostIP, Integer hostPort, String name, String protocol) { + super(); + this.containerPort = containerPort; + this.hostIP = hostIP; + this.hostPort = hostPort; + this.name = name; + this.protocol = protocol; + } + + @JsonProperty("containerPort") + public Integer getContainerPort() { + return containerPort; + } + + @JsonProperty("containerPort") + public void setContainerPort(Integer containerPort) { + this.containerPort = containerPort; + } + + @JsonProperty("hostIP") + public String getHostIP() { + return hostIP; + } + + @JsonProperty("hostIP") + public void setHostIP(String hostIP) { + this.hostIP = hostIP; + } + + @JsonProperty("hostPort") + public Integer getHostPort() { + return hostPort; + } + + @JsonProperty("hostPort") + public void setHostPort(Integer hostPort) { + this.hostPort = hostPort; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("protocol") + public String getProtocol() { + return protocol; + } + + @JsonProperty("protocol") + public void setProtocol(String protocol) { + this.protocol = protocol; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICPortsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICPortsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICPortsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICRClaims.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICRClaims.java new file mode 100644 index 00000000000..53e4579b2f7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICRClaims.java @@ -0,0 +1,108 @@ + +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({ + "name" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICRClaims implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICRClaims() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICRClaims(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICRClaimsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICRClaimsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICRClaimsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICRPExec.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICRPExec.java new file mode 100644 index 00000000000..aa023074391 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICRPExec.java @@ -0,0 +1,112 @@ + +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({ + "command" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICRPExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICRPExec() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICRPExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICRPExecBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICRPExecBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICRPExecBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICRPGrpc.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICRPGrpc.java new file mode 100644 index 00000000000..399c4792718 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICRPGrpc.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({ + "port", + "service" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICRPGrpc implements Editable , KubernetesResource +{ + + @JsonProperty("port") + private Integer port; + @JsonProperty("service") + private String service; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICRPGrpc() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICRPGrpc(Integer port, String service) { + super(); + this.port = port; + this.service = service; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("service") + public String getService() { + return service; + } + + @JsonProperty("service") + public void setService(String service) { + this.service = service; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICRPGrpcBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICRPGrpcBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICRPGrpcBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICRPHGHttpHeaders.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICRPHGHttpHeaders.java new file mode 100644 index 00000000000..11e8661f444 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICRPHGHttpHeaders.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({ + "name", + "value" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICRPHGHttpHeaders implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICRPHGHttpHeaders() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICRPHGHttpHeaders(String name, String value) { + super(); + this.name = name; + this.value = value; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICRPHGHttpHeadersBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICRPHGHttpHeadersBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICRPHGHttpHeadersBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICRPHttpGet.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICRPHttpGet.java new file mode 100644 index 00000000000..c16ada9a7ea --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICRPHttpGet.java @@ -0,0 +1,170 @@ + +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({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICRPHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICRPHttpGet() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICRPHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICRPHttpGetBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICRPHttpGetBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICRPHttpGetBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICRPTcpSocket.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICRPTcpSocket.java new file mode 100644 index 00000000000..35cd8ea8619 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICRPTcpSocket.java @@ -0,0 +1,124 @@ + +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({ + "host", + "port" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICRPTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICRPTcpSocket() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICRPTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICRPTcpSocketBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICRPTcpSocketBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICRPTcpSocketBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICReadinessProbe.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICReadinessProbe.java new file mode 100644 index 00000000000..f39c6433480 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICReadinessProbe.java @@ -0,0 +1,234 @@ + +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({ + "exec", + "failureThreshold", + "grpc", + "httpGet", + "initialDelaySeconds", + "periodSeconds", + "successThreshold", + "tcpSocket", + "terminationGracePeriodSeconds", + "timeoutSeconds" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICReadinessProbe implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private ClusterServiceVersionSpecISpecDSpecTSpecICRPExec exec; + @JsonProperty("failureThreshold") + private Integer failureThreshold; + @JsonProperty("grpc") + private ClusterServiceVersionSpecISpecDSpecTSpecICRPGrpc grpc; + @JsonProperty("httpGet") + private ClusterServiceVersionSpecISpecDSpecTSpecICRPHttpGet httpGet; + @JsonProperty("initialDelaySeconds") + private Integer initialDelaySeconds; + @JsonProperty("periodSeconds") + private Integer periodSeconds; + @JsonProperty("successThreshold") + private Integer successThreshold; + @JsonProperty("tcpSocket") + private ClusterServiceVersionSpecISpecDSpecTSpecICRPTcpSocket tcpSocket; + @JsonProperty("terminationGracePeriodSeconds") + private Long terminationGracePeriodSeconds; + @JsonProperty("timeoutSeconds") + private Integer timeoutSeconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICReadinessProbe() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICReadinessProbe(ClusterServiceVersionSpecISpecDSpecTSpecICRPExec exec, Integer failureThreshold, ClusterServiceVersionSpecISpecDSpecTSpecICRPGrpc grpc, ClusterServiceVersionSpecISpecDSpecTSpecICRPHttpGet httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, ClusterServiceVersionSpecISpecDSpecTSpecICRPTcpSocket tcpSocket, Long terminationGracePeriodSeconds, Integer timeoutSeconds) { + super(); + this.exec = exec; + this.failureThreshold = failureThreshold; + this.grpc = grpc; + this.httpGet = httpGet; + this.initialDelaySeconds = initialDelaySeconds; + this.periodSeconds = periodSeconds; + this.successThreshold = successThreshold; + this.tcpSocket = tcpSocket; + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + this.timeoutSeconds = timeoutSeconds; + } + + @JsonProperty("exec") + public ClusterServiceVersionSpecISpecDSpecTSpecICRPExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(ClusterServiceVersionSpecISpecDSpecTSpecICRPExec exec) { + this.exec = exec; + } + + @JsonProperty("failureThreshold") + public Integer getFailureThreshold() { + return failureThreshold; + } + + @JsonProperty("failureThreshold") + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @JsonProperty("grpc") + public ClusterServiceVersionSpecISpecDSpecTSpecICRPGrpc getGrpc() { + return grpc; + } + + @JsonProperty("grpc") + public void setGrpc(ClusterServiceVersionSpecISpecDSpecTSpecICRPGrpc grpc) { + this.grpc = grpc; + } + + @JsonProperty("httpGet") + public ClusterServiceVersionSpecISpecDSpecTSpecICRPHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(ClusterServiceVersionSpecISpecDSpecTSpecICRPHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("initialDelaySeconds") + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + @JsonProperty("initialDelaySeconds") + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @JsonProperty("periodSeconds") + public Integer getPeriodSeconds() { + return periodSeconds; + } + + @JsonProperty("periodSeconds") + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @JsonProperty("successThreshold") + public Integer getSuccessThreshold() { + return successThreshold; + } + + @JsonProperty("successThreshold") + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @JsonProperty("tcpSocket") + public ClusterServiceVersionSpecISpecDSpecTSpecICRPTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(ClusterServiceVersionSpecISpecDSpecTSpecICRPTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonProperty("terminationGracePeriodSeconds") + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + @JsonProperty("terminationGracePeriodSeconds") + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @JsonProperty("timeoutSeconds") + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + @JsonProperty("timeoutSeconds") + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICReadinessProbeBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICReadinessProbeBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICReadinessProbeBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICResizePolicy.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICResizePolicy.java new file mode 100644 index 00000000000..7de348f3f55 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICResizePolicy.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({ + "resourceName", + "restartPolicy" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICResizePolicy implements Editable , KubernetesResource +{ + + @JsonProperty("resourceName") + private String resourceName; + @JsonProperty("restartPolicy") + private String restartPolicy; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICResizePolicy() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICResizePolicy(String resourceName, String restartPolicy) { + super(); + this.resourceName = resourceName; + this.restartPolicy = restartPolicy; + } + + @JsonProperty("resourceName") + public String getResourceName() { + return resourceName; + } + + @JsonProperty("resourceName") + public void setResourceName(String resourceName) { + this.resourceName = resourceName; + } + + @JsonProperty("restartPolicy") + public String getRestartPolicy() { + return restartPolicy; + } + + @JsonProperty("restartPolicy") + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICResizePolicyBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICResizePolicyBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICResizePolicyBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICResources.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICResources.java new file mode 100644 index 00000000000..27720700b8b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICResources.java @@ -0,0 +1,148 @@ + +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({ + "claims", + "limits", + "requests" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICResources implements Editable , KubernetesResource +{ + + @JsonProperty("claims") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List claims = new ArrayList<>(); + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map limits = new LinkedHashMap<>(); + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map requests = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICResources() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICResources(List claims, Map limits, Map requests) { + super(); + this.claims = claims; + this.limits = limits; + this.requests = requests; + } + + @JsonProperty("claims") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getClaims() { + return claims; + } + + @JsonProperty("claims") + public void setClaims(List claims) { + this.claims = claims; + } + + @JsonProperty("limits") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLimits() { + return limits; + } + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setLimits(Map limits) { + this.limits = limits; + } + + @JsonProperty("requests") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getRequests() { + return requests; + } + + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setRequests(Map requests) { + this.requests = requests; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICResourcesBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICResourcesBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICResourcesBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICSCAppArmorProfile.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICSCAppArmorProfile.java new file mode 100644 index 00000000000..a00baa13cc5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICSCAppArmorProfile.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({ + "localhostProfile", + "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 ClusterServiceVersionSpecISpecDSpecTSpecICSCAppArmorProfile implements Editable , KubernetesResource +{ + + @JsonProperty("localhostProfile") + private String localhostProfile; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICSCAppArmorProfile() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICSCAppArmorProfile(String localhostProfile, String type) { + super(); + this.localhostProfile = localhostProfile; + this.type = type; + } + + @JsonProperty("localhostProfile") + public String getLocalhostProfile() { + return localhostProfile; + } + + @JsonProperty("localhostProfile") + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICSCAppArmorProfileBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICSCAppArmorProfileBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICSCAppArmorProfileBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICSCCapabilities.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICSCCapabilities.java new file mode 100644 index 00000000000..a5ee54590ba --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICSCCapabilities.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({ + "add", + "drop" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICSCCapabilities implements Editable , KubernetesResource +{ + + @JsonProperty("add") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List add = new ArrayList<>(); + @JsonProperty("drop") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List drop = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICSCCapabilities() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICSCCapabilities(List add, List drop) { + super(); + this.add = add; + this.drop = drop; + } + + @JsonProperty("add") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAdd() { + return add; + } + + @JsonProperty("add") + public void setAdd(List add) { + this.add = add; + } + + @JsonProperty("drop") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getDrop() { + return drop; + } + + @JsonProperty("drop") + public void setDrop(List drop) { + this.drop = drop; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICSCCapabilitiesBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICSCCapabilitiesBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICSCCapabilitiesBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICSCSeLinuxOptions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICSCSeLinuxOptions.java new file mode 100644 index 00000000000..c160da9d9ce --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICSCSeLinuxOptions.java @@ -0,0 +1,150 @@ + +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({ + "level", + "role", + "type", + "user" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICSCSeLinuxOptions implements Editable , KubernetesResource +{ + + @JsonProperty("level") + private String level; + @JsonProperty("role") + private String role; + @JsonProperty("type") + private String type; + @JsonProperty("user") + private String user; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICSCSeLinuxOptions() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICSCSeLinuxOptions(String level, String role, String type, String user) { + super(); + this.level = level; + this.role = role; + this.type = type; + this.user = user; + } + + @JsonProperty("level") + public String getLevel() { + return level; + } + + @JsonProperty("level") + public void setLevel(String level) { + this.level = level; + } + + @JsonProperty("role") + public String getRole() { + return role; + } + + @JsonProperty("role") + public void setRole(String role) { + this.role = role; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonProperty("user") + public String getUser() { + return user; + } + + @JsonProperty("user") + public void setUser(String user) { + this.user = user; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICSCSeLinuxOptionsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICSCSeLinuxOptionsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICSCSeLinuxOptionsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICSCSeccompProfile.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICSCSeccompProfile.java new file mode 100644 index 00000000000..3f421ca3e82 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICSCSeccompProfile.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({ + "localhostProfile", + "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 ClusterServiceVersionSpecISpecDSpecTSpecICSCSeccompProfile implements Editable , KubernetesResource +{ + + @JsonProperty("localhostProfile") + private String localhostProfile; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICSCSeccompProfile() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICSCSeccompProfile(String localhostProfile, String type) { + super(); + this.localhostProfile = localhostProfile; + this.type = type; + } + + @JsonProperty("localhostProfile") + public String getLocalhostProfile() { + return localhostProfile; + } + + @JsonProperty("localhostProfile") + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICSCSeccompProfileBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICSCSeccompProfileBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICSCSeccompProfileBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICSCWindowsOptions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICSCWindowsOptions.java new file mode 100644 index 00000000000..e052318ae2a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICSCWindowsOptions.java @@ -0,0 +1,150 @@ + +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({ + "gmsaCredentialSpec", + "gmsaCredentialSpecName", + "hostProcess", + "runAsUserName" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICSCWindowsOptions implements Editable , KubernetesResource +{ + + @JsonProperty("gmsaCredentialSpec") + private String gmsaCredentialSpec; + @JsonProperty("gmsaCredentialSpecName") + private String gmsaCredentialSpecName; + @JsonProperty("hostProcess") + private Boolean hostProcess; + @JsonProperty("runAsUserName") + private String runAsUserName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICSCWindowsOptions() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICSCWindowsOptions(String gmsaCredentialSpec, String gmsaCredentialSpecName, Boolean hostProcess, String runAsUserName) { + super(); + this.gmsaCredentialSpec = gmsaCredentialSpec; + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + this.hostProcess = hostProcess; + this.runAsUserName = runAsUserName; + } + + @JsonProperty("gmsaCredentialSpec") + public String getGmsaCredentialSpec() { + return gmsaCredentialSpec; + } + + @JsonProperty("gmsaCredentialSpec") + public void setGmsaCredentialSpec(String gmsaCredentialSpec) { + this.gmsaCredentialSpec = gmsaCredentialSpec; + } + + @JsonProperty("gmsaCredentialSpecName") + public String getGmsaCredentialSpecName() { + return gmsaCredentialSpecName; + } + + @JsonProperty("gmsaCredentialSpecName") + public void setGmsaCredentialSpecName(String gmsaCredentialSpecName) { + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + } + + @JsonProperty("hostProcess") + public Boolean getHostProcess() { + return hostProcess; + } + + @JsonProperty("hostProcess") + public void setHostProcess(Boolean hostProcess) { + this.hostProcess = hostProcess; + } + + @JsonProperty("runAsUserName") + public String getRunAsUserName() { + return runAsUserName; + } + + @JsonProperty("runAsUserName") + public void setRunAsUserName(String runAsUserName) { + this.runAsUserName = runAsUserName; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICSCWindowsOptionsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICSCWindowsOptionsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICSCWindowsOptionsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICSPExec.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICSPExec.java new file mode 100644 index 00000000000..ba1441df1b7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICSPExec.java @@ -0,0 +1,112 @@ + +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({ + "command" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICSPExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICSPExec() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICSPExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICSPExecBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICSPExecBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICSPExecBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICSPGrpc.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICSPGrpc.java new file mode 100644 index 00000000000..04d56a84e9d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICSPGrpc.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({ + "port", + "service" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICSPGrpc implements Editable , KubernetesResource +{ + + @JsonProperty("port") + private Integer port; + @JsonProperty("service") + private String service; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICSPGrpc() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICSPGrpc(Integer port, String service) { + super(); + this.port = port; + this.service = service; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("service") + public String getService() { + return service; + } + + @JsonProperty("service") + public void setService(String service) { + this.service = service; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICSPGrpcBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICSPGrpcBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICSPGrpcBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICSPHGHttpHeaders.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICSPHGHttpHeaders.java new file mode 100644 index 00000000000..e550fa8b6fe --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICSPHGHttpHeaders.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({ + "name", + "value" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICSPHGHttpHeaders implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICSPHGHttpHeaders() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICSPHGHttpHeaders(String name, String value) { + super(); + this.name = name; + this.value = value; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICSPHGHttpHeadersBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICSPHGHttpHeadersBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICSPHGHttpHeadersBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICSPHttpGet.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICSPHttpGet.java new file mode 100644 index 00000000000..90327fbf974 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICSPHttpGet.java @@ -0,0 +1,170 @@ + +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({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICSPHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICSPHttpGet() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICSPHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICSPHttpGetBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICSPHttpGetBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICSPHttpGetBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICSPTcpSocket.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICSPTcpSocket.java new file mode 100644 index 00000000000..192038250d3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICSPTcpSocket.java @@ -0,0 +1,124 @@ + +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({ + "host", + "port" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICSPTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICSPTcpSocket() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICSPTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICSPTcpSocketBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICSPTcpSocketBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICSPTcpSocketBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICSecurityContext.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICSecurityContext.java new file mode 100644 index 00000000000..9390a378059 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICSecurityContext.java @@ -0,0 +1,262 @@ + +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({ + "allowPrivilegeEscalation", + "appArmorProfile", + "capabilities", + "privileged", + "procMount", + "readOnlyRootFilesystem", + "runAsGroup", + "runAsNonRoot", + "runAsUser", + "seLinuxOptions", + "seccompProfile", + "windowsOptions" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICSecurityContext implements Editable , KubernetesResource +{ + + @JsonProperty("allowPrivilegeEscalation") + private Boolean allowPrivilegeEscalation; + @JsonProperty("appArmorProfile") + private ClusterServiceVersionSpecISpecDSpecTSpecICSCAppArmorProfile appArmorProfile; + @JsonProperty("capabilities") + private ClusterServiceVersionSpecISpecDSpecTSpecICSCCapabilities capabilities; + @JsonProperty("privileged") + private Boolean privileged; + @JsonProperty("procMount") + private String procMount; + @JsonProperty("readOnlyRootFilesystem") + private Boolean readOnlyRootFilesystem; + @JsonProperty("runAsGroup") + private Long runAsGroup; + @JsonProperty("runAsNonRoot") + private Boolean runAsNonRoot; + @JsonProperty("runAsUser") + private Long runAsUser; + @JsonProperty("seLinuxOptions") + private ClusterServiceVersionSpecISpecDSpecTSpecICSCSeLinuxOptions seLinuxOptions; + @JsonProperty("seccompProfile") + private ClusterServiceVersionSpecISpecDSpecTSpecICSCSeccompProfile seccompProfile; + @JsonProperty("windowsOptions") + private ClusterServiceVersionSpecISpecDSpecTSpecICSCWindowsOptions windowsOptions; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICSecurityContext() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICSecurityContext(Boolean allowPrivilegeEscalation, ClusterServiceVersionSpecISpecDSpecTSpecICSCAppArmorProfile appArmorProfile, ClusterServiceVersionSpecISpecDSpecTSpecICSCCapabilities capabilities, Boolean privileged, String procMount, Boolean readOnlyRootFilesystem, Long runAsGroup, Boolean runAsNonRoot, Long runAsUser, ClusterServiceVersionSpecISpecDSpecTSpecICSCSeLinuxOptions seLinuxOptions, ClusterServiceVersionSpecISpecDSpecTSpecICSCSeccompProfile seccompProfile, ClusterServiceVersionSpecISpecDSpecTSpecICSCWindowsOptions windowsOptions) { + super(); + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + this.appArmorProfile = appArmorProfile; + this.capabilities = capabilities; + this.privileged = privileged; + this.procMount = procMount; + this.readOnlyRootFilesystem = readOnlyRootFilesystem; + this.runAsGroup = runAsGroup; + this.runAsNonRoot = runAsNonRoot; + this.runAsUser = runAsUser; + this.seLinuxOptions = seLinuxOptions; + this.seccompProfile = seccompProfile; + this.windowsOptions = windowsOptions; + } + + @JsonProperty("allowPrivilegeEscalation") + public Boolean getAllowPrivilegeEscalation() { + return allowPrivilegeEscalation; + } + + @JsonProperty("allowPrivilegeEscalation") + public void setAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation) { + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + } + + @JsonProperty("appArmorProfile") + public ClusterServiceVersionSpecISpecDSpecTSpecICSCAppArmorProfile getAppArmorProfile() { + return appArmorProfile; + } + + @JsonProperty("appArmorProfile") + public void setAppArmorProfile(ClusterServiceVersionSpecISpecDSpecTSpecICSCAppArmorProfile appArmorProfile) { + this.appArmorProfile = appArmorProfile; + } + + @JsonProperty("capabilities") + public ClusterServiceVersionSpecISpecDSpecTSpecICSCCapabilities getCapabilities() { + return capabilities; + } + + @JsonProperty("capabilities") + public void setCapabilities(ClusterServiceVersionSpecISpecDSpecTSpecICSCCapabilities capabilities) { + this.capabilities = capabilities; + } + + @JsonProperty("privileged") + public Boolean getPrivileged() { + return privileged; + } + + @JsonProperty("privileged") + public void setPrivileged(Boolean privileged) { + this.privileged = privileged; + } + + @JsonProperty("procMount") + public String getProcMount() { + return procMount; + } + + @JsonProperty("procMount") + public void setProcMount(String procMount) { + this.procMount = procMount; + } + + @JsonProperty("readOnlyRootFilesystem") + public Boolean getReadOnlyRootFilesystem() { + return readOnlyRootFilesystem; + } + + @JsonProperty("readOnlyRootFilesystem") + public void setReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem) { + this.readOnlyRootFilesystem = readOnlyRootFilesystem; + } + + @JsonProperty("runAsGroup") + public Long getRunAsGroup() { + return runAsGroup; + } + + @JsonProperty("runAsGroup") + public void setRunAsGroup(Long runAsGroup) { + this.runAsGroup = runAsGroup; + } + + @JsonProperty("runAsNonRoot") + public Boolean getRunAsNonRoot() { + return runAsNonRoot; + } + + @JsonProperty("runAsNonRoot") + public void setRunAsNonRoot(Boolean runAsNonRoot) { + this.runAsNonRoot = runAsNonRoot; + } + + @JsonProperty("runAsUser") + public Long getRunAsUser() { + return runAsUser; + } + + @JsonProperty("runAsUser") + public void setRunAsUser(Long runAsUser) { + this.runAsUser = runAsUser; + } + + @JsonProperty("seLinuxOptions") + public ClusterServiceVersionSpecISpecDSpecTSpecICSCSeLinuxOptions getSeLinuxOptions() { + return seLinuxOptions; + } + + @JsonProperty("seLinuxOptions") + public void setSeLinuxOptions(ClusterServiceVersionSpecISpecDSpecTSpecICSCSeLinuxOptions seLinuxOptions) { + this.seLinuxOptions = seLinuxOptions; + } + + @JsonProperty("seccompProfile") + public ClusterServiceVersionSpecISpecDSpecTSpecICSCSeccompProfile getSeccompProfile() { + return seccompProfile; + } + + @JsonProperty("seccompProfile") + public void setSeccompProfile(ClusterServiceVersionSpecISpecDSpecTSpecICSCSeccompProfile seccompProfile) { + this.seccompProfile = seccompProfile; + } + + @JsonProperty("windowsOptions") + public ClusterServiceVersionSpecISpecDSpecTSpecICSCWindowsOptions getWindowsOptions() { + return windowsOptions; + } + + @JsonProperty("windowsOptions") + public void setWindowsOptions(ClusterServiceVersionSpecISpecDSpecTSpecICSCWindowsOptions windowsOptions) { + this.windowsOptions = windowsOptions; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICSecurityContextBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICSecurityContextBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICSecurityContextBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICStartupProbe.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICStartupProbe.java new file mode 100644 index 00000000000..d8c34ea39b3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICStartupProbe.java @@ -0,0 +1,234 @@ + +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({ + "exec", + "failureThreshold", + "grpc", + "httpGet", + "initialDelaySeconds", + "periodSeconds", + "successThreshold", + "tcpSocket", + "terminationGracePeriodSeconds", + "timeoutSeconds" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICStartupProbe implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private ClusterServiceVersionSpecISpecDSpecTSpecICSPExec exec; + @JsonProperty("failureThreshold") + private Integer failureThreshold; + @JsonProperty("grpc") + private ClusterServiceVersionSpecISpecDSpecTSpecICSPGrpc grpc; + @JsonProperty("httpGet") + private ClusterServiceVersionSpecISpecDSpecTSpecICSPHttpGet httpGet; + @JsonProperty("initialDelaySeconds") + private Integer initialDelaySeconds; + @JsonProperty("periodSeconds") + private Integer periodSeconds; + @JsonProperty("successThreshold") + private Integer successThreshold; + @JsonProperty("tcpSocket") + private ClusterServiceVersionSpecISpecDSpecTSpecICSPTcpSocket tcpSocket; + @JsonProperty("terminationGracePeriodSeconds") + private Long terminationGracePeriodSeconds; + @JsonProperty("timeoutSeconds") + private Integer timeoutSeconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICStartupProbe() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICStartupProbe(ClusterServiceVersionSpecISpecDSpecTSpecICSPExec exec, Integer failureThreshold, ClusterServiceVersionSpecISpecDSpecTSpecICSPGrpc grpc, ClusterServiceVersionSpecISpecDSpecTSpecICSPHttpGet httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, ClusterServiceVersionSpecISpecDSpecTSpecICSPTcpSocket tcpSocket, Long terminationGracePeriodSeconds, Integer timeoutSeconds) { + super(); + this.exec = exec; + this.failureThreshold = failureThreshold; + this.grpc = grpc; + this.httpGet = httpGet; + this.initialDelaySeconds = initialDelaySeconds; + this.periodSeconds = periodSeconds; + this.successThreshold = successThreshold; + this.tcpSocket = tcpSocket; + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + this.timeoutSeconds = timeoutSeconds; + } + + @JsonProperty("exec") + public ClusterServiceVersionSpecISpecDSpecTSpecICSPExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(ClusterServiceVersionSpecISpecDSpecTSpecICSPExec exec) { + this.exec = exec; + } + + @JsonProperty("failureThreshold") + public Integer getFailureThreshold() { + return failureThreshold; + } + + @JsonProperty("failureThreshold") + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @JsonProperty("grpc") + public ClusterServiceVersionSpecISpecDSpecTSpecICSPGrpc getGrpc() { + return grpc; + } + + @JsonProperty("grpc") + public void setGrpc(ClusterServiceVersionSpecISpecDSpecTSpecICSPGrpc grpc) { + this.grpc = grpc; + } + + @JsonProperty("httpGet") + public ClusterServiceVersionSpecISpecDSpecTSpecICSPHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(ClusterServiceVersionSpecISpecDSpecTSpecICSPHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("initialDelaySeconds") + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + @JsonProperty("initialDelaySeconds") + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @JsonProperty("periodSeconds") + public Integer getPeriodSeconds() { + return periodSeconds; + } + + @JsonProperty("periodSeconds") + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @JsonProperty("successThreshold") + public Integer getSuccessThreshold() { + return successThreshold; + } + + @JsonProperty("successThreshold") + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @JsonProperty("tcpSocket") + public ClusterServiceVersionSpecISpecDSpecTSpecICSPTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(ClusterServiceVersionSpecISpecDSpecTSpecICSPTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonProperty("terminationGracePeriodSeconds") + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + @JsonProperty("terminationGracePeriodSeconds") + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @JsonProperty("timeoutSeconds") + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + @JsonProperty("timeoutSeconds") + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICStartupProbeBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICStartupProbeBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICStartupProbeBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecICVolumeMounts.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICVolumeMounts.java new file mode 100644 index 00000000000..b3bc37a01f0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecICVolumeMounts.java @@ -0,0 +1,192 @@ + +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({ + "mountPath", + "mountPropagation", + "name", + "readOnly", + "recursiveReadOnly", + "subPath", + "subPathExpr" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecICVolumeMounts implements Editable , KubernetesResource +{ + + @JsonProperty("mountPath") + private String mountPath; + @JsonProperty("mountPropagation") + private String mountPropagation; + @JsonProperty("name") + private String name; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("recursiveReadOnly") + private String recursiveReadOnly; + @JsonProperty("subPath") + private String subPath; + @JsonProperty("subPathExpr") + private String subPathExpr; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecICVolumeMounts() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecICVolumeMounts(String mountPath, String mountPropagation, String name, Boolean readOnly, String recursiveReadOnly, String subPath, String subPathExpr) { + super(); + this.mountPath = mountPath; + this.mountPropagation = mountPropagation; + this.name = name; + this.readOnly = readOnly; + this.recursiveReadOnly = recursiveReadOnly; + this.subPath = subPath; + this.subPathExpr = subPathExpr; + } + + @JsonProperty("mountPath") + public String getMountPath() { + return mountPath; + } + + @JsonProperty("mountPath") + public void setMountPath(String mountPath) { + this.mountPath = mountPath; + } + + @JsonProperty("mountPropagation") + public String getMountPropagation() { + return mountPropagation; + } + + @JsonProperty("mountPropagation") + public void setMountPropagation(String mountPropagation) { + this.mountPropagation = mountPropagation; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("recursiveReadOnly") + public String getRecursiveReadOnly() { + return recursiveReadOnly; + } + + @JsonProperty("recursiveReadOnly") + public void setRecursiveReadOnly(String recursiveReadOnly) { + this.recursiveReadOnly = recursiveReadOnly; + } + + @JsonProperty("subPath") + public String getSubPath() { + return subPath; + } + + @JsonProperty("subPath") + public void setSubPath(String subPath) { + this.subPath = subPath; + } + + @JsonProperty("subPathExpr") + public String getSubPathExpr() { + return subPathExpr; + } + + @JsonProperty("subPathExpr") + public void setSubPathExpr(String subPathExpr) { + this.subPathExpr = subPathExpr; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICVolumeMountsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecICVolumeMountsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecICVolumeMountsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecImagePullSecrets.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecImagePullSecrets.java new file mode 100644 index 00000000000..40c17d360e1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecImagePullSecrets.java @@ -0,0 +1,108 @@ + +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({ + "name" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecImagePullSecrets implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecImagePullSecrets() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecImagePullSecrets(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecImagePullSecretsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecImagePullSecretsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecImagePullSecretsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecInitContainers.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecInitContainers.java new file mode 100644 index 00000000000..cfa091c3432 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecInitContainers.java @@ -0,0 +1,449 @@ + +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.fabric8.kubernetes.api.model.VolumeDevice; +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({ + "args", + "command", + "env", + "envFrom", + "image", + "imagePullPolicy", + "lifecycle", + "livenessProbe", + "name", + "ports", + "readinessProbe", + "resizePolicy", + "resources", + "restartPolicy", + "securityContext", + "startupProbe", + "stdin", + "stdinOnce", + "terminationMessagePath", + "terminationMessagePolicy", + "tty", + "volumeDevices", + "volumeMounts", + "workingDir" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecInitContainers implements Editable , KubernetesResource +{ + + @JsonProperty("args") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List args = new ArrayList<>(); + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonProperty("env") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List env = new ArrayList<>(); + @JsonProperty("envFrom") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List envFrom = new ArrayList<>(); + @JsonProperty("image") + private String image; + @JsonProperty("imagePullPolicy") + private String imagePullPolicy; + @JsonProperty("lifecycle") + private ClusterServiceVersionSpecISpecDSpecTSpecICLifecycle lifecycle; + @JsonProperty("livenessProbe") + private ClusterServiceVersionSpecISpecDSpecTSpecICLivenessProbe livenessProbe; + @JsonProperty("name") + private String name; + @JsonProperty("ports") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List ports = new ArrayList<>(); + @JsonProperty("readinessProbe") + private ClusterServiceVersionSpecISpecDSpecTSpecICReadinessProbe readinessProbe; + @JsonProperty("resizePolicy") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List resizePolicy = new ArrayList<>(); + @JsonProperty("resources") + private ClusterServiceVersionSpecISpecDSpecTSpecICResources resources; + @JsonProperty("restartPolicy") + private String restartPolicy; + @JsonProperty("securityContext") + private ClusterServiceVersionSpecISpecDSpecTSpecICSecurityContext securityContext; + @JsonProperty("startupProbe") + private ClusterServiceVersionSpecISpecDSpecTSpecICStartupProbe startupProbe; + @JsonProperty("stdin") + private Boolean stdin; + @JsonProperty("stdinOnce") + private Boolean stdinOnce; + @JsonProperty("terminationMessagePath") + private String terminationMessagePath; + @JsonProperty("terminationMessagePolicy") + private String terminationMessagePolicy; + @JsonProperty("tty") + private Boolean tty; + @JsonProperty("volumeDevices") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List volumeDevices = new ArrayList<>(); + @JsonProperty("volumeMounts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List volumeMounts = new ArrayList<>(); + @JsonProperty("workingDir") + private String workingDir; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecInitContainers() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecInitContainers(List args, List command, List env, List envFrom, String image, String imagePullPolicy, ClusterServiceVersionSpecISpecDSpecTSpecICLifecycle lifecycle, ClusterServiceVersionSpecISpecDSpecTSpecICLivenessProbe livenessProbe, String name, List ports, ClusterServiceVersionSpecISpecDSpecTSpecICReadinessProbe readinessProbe, List resizePolicy, ClusterServiceVersionSpecISpecDSpecTSpecICResources resources, String restartPolicy, ClusterServiceVersionSpecISpecDSpecTSpecICSecurityContext securityContext, ClusterServiceVersionSpecISpecDSpecTSpecICStartupProbe startupProbe, Boolean stdin, Boolean stdinOnce, String terminationMessagePath, String terminationMessagePolicy, Boolean tty, List volumeDevices, List volumeMounts, String workingDir) { + super(); + this.args = args; + this.command = command; + this.env = env; + this.envFrom = envFrom; + this.image = image; + this.imagePullPolicy = imagePullPolicy; + this.lifecycle = lifecycle; + this.livenessProbe = livenessProbe; + this.name = name; + this.ports = ports; + this.readinessProbe = readinessProbe; + this.resizePolicy = resizePolicy; + this.resources = resources; + this.restartPolicy = restartPolicy; + this.securityContext = securityContext; + this.startupProbe = startupProbe; + this.stdin = stdin; + this.stdinOnce = stdinOnce; + this.terminationMessagePath = terminationMessagePath; + this.terminationMessagePolicy = terminationMessagePolicy; + this.tty = tty; + this.volumeDevices = volumeDevices; + this.volumeMounts = volumeMounts; + this.workingDir = workingDir; + } + + @JsonProperty("args") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getArgs() { + return args; + } + + @JsonProperty("args") + public void setArgs(List args) { + this.args = args; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonProperty("env") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getEnv() { + return env; + } + + @JsonProperty("env") + public void setEnv(List env) { + this.env = env; + } + + @JsonProperty("envFrom") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getEnvFrom() { + return envFrom; + } + + @JsonProperty("envFrom") + public void setEnvFrom(List envFrom) { + this.envFrom = envFrom; + } + + @JsonProperty("image") + public String getImage() { + return image; + } + + @JsonProperty("image") + public void setImage(String image) { + this.image = image; + } + + @JsonProperty("imagePullPolicy") + public String getImagePullPolicy() { + return imagePullPolicy; + } + + @JsonProperty("imagePullPolicy") + public void setImagePullPolicy(String imagePullPolicy) { + this.imagePullPolicy = imagePullPolicy; + } + + @JsonProperty("lifecycle") + public ClusterServiceVersionSpecISpecDSpecTSpecICLifecycle getLifecycle() { + return lifecycle; + } + + @JsonProperty("lifecycle") + public void setLifecycle(ClusterServiceVersionSpecISpecDSpecTSpecICLifecycle lifecycle) { + this.lifecycle = lifecycle; + } + + @JsonProperty("livenessProbe") + public ClusterServiceVersionSpecISpecDSpecTSpecICLivenessProbe getLivenessProbe() { + return livenessProbe; + } + + @JsonProperty("livenessProbe") + public void setLivenessProbe(ClusterServiceVersionSpecISpecDSpecTSpecICLivenessProbe livenessProbe) { + this.livenessProbe = livenessProbe; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("ports") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPorts() { + return ports; + } + + @JsonProperty("ports") + public void setPorts(List ports) { + this.ports = ports; + } + + @JsonProperty("readinessProbe") + public ClusterServiceVersionSpecISpecDSpecTSpecICReadinessProbe getReadinessProbe() { + return readinessProbe; + } + + @JsonProperty("readinessProbe") + public void setReadinessProbe(ClusterServiceVersionSpecISpecDSpecTSpecICReadinessProbe readinessProbe) { + this.readinessProbe = readinessProbe; + } + + @JsonProperty("resizePolicy") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResizePolicy() { + return resizePolicy; + } + + @JsonProperty("resizePolicy") + public void setResizePolicy(List resizePolicy) { + this.resizePolicy = resizePolicy; + } + + @JsonProperty("resources") + public ClusterServiceVersionSpecISpecDSpecTSpecICResources getResources() { + return resources; + } + + @JsonProperty("resources") + public void setResources(ClusterServiceVersionSpecISpecDSpecTSpecICResources resources) { + this.resources = resources; + } + + @JsonProperty("restartPolicy") + public String getRestartPolicy() { + return restartPolicy; + } + + @JsonProperty("restartPolicy") + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + + @JsonProperty("securityContext") + public ClusterServiceVersionSpecISpecDSpecTSpecICSecurityContext getSecurityContext() { + return securityContext; + } + + @JsonProperty("securityContext") + public void setSecurityContext(ClusterServiceVersionSpecISpecDSpecTSpecICSecurityContext securityContext) { + this.securityContext = securityContext; + } + + @JsonProperty("startupProbe") + public ClusterServiceVersionSpecISpecDSpecTSpecICStartupProbe getStartupProbe() { + return startupProbe; + } + + @JsonProperty("startupProbe") + public void setStartupProbe(ClusterServiceVersionSpecISpecDSpecTSpecICStartupProbe startupProbe) { + this.startupProbe = startupProbe; + } + + @JsonProperty("stdin") + public Boolean getStdin() { + return stdin; + } + + @JsonProperty("stdin") + public void setStdin(Boolean stdin) { + this.stdin = stdin; + } + + @JsonProperty("stdinOnce") + public Boolean getStdinOnce() { + return stdinOnce; + } + + @JsonProperty("stdinOnce") + public void setStdinOnce(Boolean stdinOnce) { + this.stdinOnce = stdinOnce; + } + + @JsonProperty("terminationMessagePath") + public String getTerminationMessagePath() { + return terminationMessagePath; + } + + @JsonProperty("terminationMessagePath") + public void setTerminationMessagePath(String terminationMessagePath) { + this.terminationMessagePath = terminationMessagePath; + } + + @JsonProperty("terminationMessagePolicy") + public String getTerminationMessagePolicy() { + return terminationMessagePolicy; + } + + @JsonProperty("terminationMessagePolicy") + public void setTerminationMessagePolicy(String terminationMessagePolicy) { + this.terminationMessagePolicy = terminationMessagePolicy; + } + + @JsonProperty("tty") + public Boolean getTty() { + return tty; + } + + @JsonProperty("tty") + public void setTty(Boolean tty) { + this.tty = tty; + } + + @JsonProperty("volumeDevices") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getVolumeDevices() { + return volumeDevices; + } + + @JsonProperty("volumeDevices") + public void setVolumeDevices(List volumeDevices) { + this.volumeDevices = volumeDevices; + } + + @JsonProperty("volumeMounts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getVolumeMounts() { + return volumeMounts; + } + + @JsonProperty("volumeMounts") + public void setVolumeMounts(List volumeMounts) { + this.volumeMounts = volumeMounts; + } + + @JsonProperty("workingDir") + public String getWorkingDir() { + return workingDir; + } + + @JsonProperty("workingDir") + public void setWorkingDir(String workingDir) { + this.workingDir = workingDir; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecInitContainersBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecInitContainersBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecInitContainersBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecOs.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecOs.java new file mode 100644 index 00000000000..0dede584188 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecOs.java @@ -0,0 +1,108 @@ + +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({ + "name" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecOs implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecOs() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecOs(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecOsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecOsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecOsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecRCSource.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecRCSource.java new file mode 100644 index 00000000000..2e3509eb569 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecRCSource.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({ + "resourceClaimName", + "resourceClaimTemplateName" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecRCSource implements Editable , KubernetesResource +{ + + @JsonProperty("resourceClaimName") + private String resourceClaimName; + @JsonProperty("resourceClaimTemplateName") + private String resourceClaimTemplateName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecRCSource() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecRCSource(String resourceClaimName, String resourceClaimTemplateName) { + super(); + this.resourceClaimName = resourceClaimName; + this.resourceClaimTemplateName = resourceClaimTemplateName; + } + + @JsonProperty("resourceClaimName") + public String getResourceClaimName() { + return resourceClaimName; + } + + @JsonProperty("resourceClaimName") + public void setResourceClaimName(String resourceClaimName) { + this.resourceClaimName = resourceClaimName; + } + + @JsonProperty("resourceClaimTemplateName") + public String getResourceClaimTemplateName() { + return resourceClaimTemplateName; + } + + @JsonProperty("resourceClaimTemplateName") + public void setResourceClaimTemplateName(String resourceClaimTemplateName) { + this.resourceClaimTemplateName = resourceClaimTemplateName; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecRCSourceBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecRCSourceBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecRCSourceBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecResourceClaims.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecResourceClaims.java new file mode 100644 index 00000000000..81dde3c47cb --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecResourceClaims.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({ + "name", + "source" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecResourceClaims implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("source") + private ClusterServiceVersionSpecISpecDSpecTSpecRCSource source; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecResourceClaims() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecResourceClaims(String name, ClusterServiceVersionSpecISpecDSpecTSpecRCSource source) { + super(); + this.name = name; + this.source = source; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("source") + public ClusterServiceVersionSpecISpecDSpecTSpecRCSource getSource() { + return source; + } + + @JsonProperty("source") + public void setSource(ClusterServiceVersionSpecISpecDSpecTSpecRCSource source) { + this.source = source; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecResourceClaimsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecResourceClaimsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecResourceClaimsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecSCAppArmorProfile.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecSCAppArmorProfile.java new file mode 100644 index 00000000000..2b9d6db9907 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecSCAppArmorProfile.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({ + "localhostProfile", + "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 ClusterServiceVersionSpecISpecDSpecTSpecSCAppArmorProfile implements Editable , KubernetesResource +{ + + @JsonProperty("localhostProfile") + private String localhostProfile; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecSCAppArmorProfile() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecSCAppArmorProfile(String localhostProfile, String type) { + super(); + this.localhostProfile = localhostProfile; + this.type = type; + } + + @JsonProperty("localhostProfile") + public String getLocalhostProfile() { + return localhostProfile; + } + + @JsonProperty("localhostProfile") + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecSCAppArmorProfileBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecSCAppArmorProfileBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecSCAppArmorProfileBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecSCSeLinuxOptions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecSCSeLinuxOptions.java new file mode 100644 index 00000000000..6af47166b7d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecSCSeLinuxOptions.java @@ -0,0 +1,150 @@ + +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({ + "level", + "role", + "type", + "user" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecSCSeLinuxOptions implements Editable , KubernetesResource +{ + + @JsonProperty("level") + private String level; + @JsonProperty("role") + private String role; + @JsonProperty("type") + private String type; + @JsonProperty("user") + private String user; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecSCSeLinuxOptions() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecSCSeLinuxOptions(String level, String role, String type, String user) { + super(); + this.level = level; + this.role = role; + this.type = type; + this.user = user; + } + + @JsonProperty("level") + public String getLevel() { + return level; + } + + @JsonProperty("level") + public void setLevel(String level) { + this.level = level; + } + + @JsonProperty("role") + public String getRole() { + return role; + } + + @JsonProperty("role") + public void setRole(String role) { + this.role = role; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonProperty("user") + public String getUser() { + return user; + } + + @JsonProperty("user") + public void setUser(String user) { + this.user = user; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecSCSeLinuxOptionsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecSCSeLinuxOptionsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecSCSeLinuxOptionsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecSCSeccompProfile.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecSCSeccompProfile.java new file mode 100644 index 00000000000..49d0e8b7e8d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecSCSeccompProfile.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({ + "localhostProfile", + "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 ClusterServiceVersionSpecISpecDSpecTSpecSCSeccompProfile implements Editable , KubernetesResource +{ + + @JsonProperty("localhostProfile") + private String localhostProfile; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecSCSeccompProfile() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecSCSeccompProfile(String localhostProfile, String type) { + super(); + this.localhostProfile = localhostProfile; + this.type = type; + } + + @JsonProperty("localhostProfile") + public String getLocalhostProfile() { + return localhostProfile; + } + + @JsonProperty("localhostProfile") + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecSCSeccompProfileBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecSCSeccompProfileBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecSCSeccompProfileBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecSCWindowsOptions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecSCWindowsOptions.java new file mode 100644 index 00000000000..bd747dd901e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecSCWindowsOptions.java @@ -0,0 +1,150 @@ + +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({ + "gmsaCredentialSpec", + "gmsaCredentialSpecName", + "hostProcess", + "runAsUserName" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecSCWindowsOptions implements Editable , KubernetesResource +{ + + @JsonProperty("gmsaCredentialSpec") + private String gmsaCredentialSpec; + @JsonProperty("gmsaCredentialSpecName") + private String gmsaCredentialSpecName; + @JsonProperty("hostProcess") + private Boolean hostProcess; + @JsonProperty("runAsUserName") + private String runAsUserName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecSCWindowsOptions() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecSCWindowsOptions(String gmsaCredentialSpec, String gmsaCredentialSpecName, Boolean hostProcess, String runAsUserName) { + super(); + this.gmsaCredentialSpec = gmsaCredentialSpec; + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + this.hostProcess = hostProcess; + this.runAsUserName = runAsUserName; + } + + @JsonProperty("gmsaCredentialSpec") + public String getGmsaCredentialSpec() { + return gmsaCredentialSpec; + } + + @JsonProperty("gmsaCredentialSpec") + public void setGmsaCredentialSpec(String gmsaCredentialSpec) { + this.gmsaCredentialSpec = gmsaCredentialSpec; + } + + @JsonProperty("gmsaCredentialSpecName") + public String getGmsaCredentialSpecName() { + return gmsaCredentialSpecName; + } + + @JsonProperty("gmsaCredentialSpecName") + public void setGmsaCredentialSpecName(String gmsaCredentialSpecName) { + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + } + + @JsonProperty("hostProcess") + public Boolean getHostProcess() { + return hostProcess; + } + + @JsonProperty("hostProcess") + public void setHostProcess(Boolean hostProcess) { + this.hostProcess = hostProcess; + } + + @JsonProperty("runAsUserName") + public String getRunAsUserName() { + return runAsUserName; + } + + @JsonProperty("runAsUserName") + public void setRunAsUserName(String runAsUserName) { + this.runAsUserName = runAsUserName; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecSCWindowsOptionsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecSCWindowsOptionsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecSCWindowsOptionsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecSchedulingGates.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecSchedulingGates.java new file mode 100644 index 00000000000..11c80014521 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecSchedulingGates.java @@ -0,0 +1,108 @@ + +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({ + "name" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecSchedulingGates implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecSchedulingGates() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecSchedulingGates(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecSchedulingGatesBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecSchedulingGatesBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecSchedulingGatesBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecSecurityContext.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecSecurityContext.java new file mode 100644 index 00000000000..3203c99c759 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecSecurityContext.java @@ -0,0 +1,255 @@ + +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.fabric8.kubernetes.api.model.Sysctl; +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({ + "appArmorProfile", + "fsGroup", + "fsGroupChangePolicy", + "runAsGroup", + "runAsNonRoot", + "runAsUser", + "seLinuxOptions", + "seccompProfile", + "supplementalGroups", + "sysctls", + "windowsOptions" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecSecurityContext implements Editable , KubernetesResource +{ + + @JsonProperty("appArmorProfile") + private ClusterServiceVersionSpecISpecDSpecTSpecSCAppArmorProfile appArmorProfile; + @JsonProperty("fsGroup") + private Long fsGroup; + @JsonProperty("fsGroupChangePolicy") + private String fsGroupChangePolicy; + @JsonProperty("runAsGroup") + private Long runAsGroup; + @JsonProperty("runAsNonRoot") + private Boolean runAsNonRoot; + @JsonProperty("runAsUser") + private Long runAsUser; + @JsonProperty("seLinuxOptions") + private ClusterServiceVersionSpecISpecDSpecTSpecSCSeLinuxOptions seLinuxOptions; + @JsonProperty("seccompProfile") + private ClusterServiceVersionSpecISpecDSpecTSpecSCSeccompProfile seccompProfile; + @JsonProperty("supplementalGroups") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List supplementalGroups = new ArrayList<>(); + @JsonProperty("sysctls") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List sysctls = new ArrayList<>(); + @JsonProperty("windowsOptions") + private ClusterServiceVersionSpecISpecDSpecTSpecSCWindowsOptions windowsOptions; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecSecurityContext() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecSecurityContext(ClusterServiceVersionSpecISpecDSpecTSpecSCAppArmorProfile appArmorProfile, Long fsGroup, String fsGroupChangePolicy, Long runAsGroup, Boolean runAsNonRoot, Long runAsUser, ClusterServiceVersionSpecISpecDSpecTSpecSCSeLinuxOptions seLinuxOptions, ClusterServiceVersionSpecISpecDSpecTSpecSCSeccompProfile seccompProfile, List supplementalGroups, List sysctls, ClusterServiceVersionSpecISpecDSpecTSpecSCWindowsOptions windowsOptions) { + super(); + this.appArmorProfile = appArmorProfile; + this.fsGroup = fsGroup; + this.fsGroupChangePolicy = fsGroupChangePolicy; + this.runAsGroup = runAsGroup; + this.runAsNonRoot = runAsNonRoot; + this.runAsUser = runAsUser; + this.seLinuxOptions = seLinuxOptions; + this.seccompProfile = seccompProfile; + this.supplementalGroups = supplementalGroups; + this.sysctls = sysctls; + this.windowsOptions = windowsOptions; + } + + @JsonProperty("appArmorProfile") + public ClusterServiceVersionSpecISpecDSpecTSpecSCAppArmorProfile getAppArmorProfile() { + return appArmorProfile; + } + + @JsonProperty("appArmorProfile") + public void setAppArmorProfile(ClusterServiceVersionSpecISpecDSpecTSpecSCAppArmorProfile appArmorProfile) { + this.appArmorProfile = appArmorProfile; + } + + @JsonProperty("fsGroup") + public Long getFsGroup() { + return fsGroup; + } + + @JsonProperty("fsGroup") + public void setFsGroup(Long fsGroup) { + this.fsGroup = fsGroup; + } + + @JsonProperty("fsGroupChangePolicy") + public String getFsGroupChangePolicy() { + return fsGroupChangePolicy; + } + + @JsonProperty("fsGroupChangePolicy") + public void setFsGroupChangePolicy(String fsGroupChangePolicy) { + this.fsGroupChangePolicy = fsGroupChangePolicy; + } + + @JsonProperty("runAsGroup") + public Long getRunAsGroup() { + return runAsGroup; + } + + @JsonProperty("runAsGroup") + public void setRunAsGroup(Long runAsGroup) { + this.runAsGroup = runAsGroup; + } + + @JsonProperty("runAsNonRoot") + public Boolean getRunAsNonRoot() { + return runAsNonRoot; + } + + @JsonProperty("runAsNonRoot") + public void setRunAsNonRoot(Boolean runAsNonRoot) { + this.runAsNonRoot = runAsNonRoot; + } + + @JsonProperty("runAsUser") + public Long getRunAsUser() { + return runAsUser; + } + + @JsonProperty("runAsUser") + public void setRunAsUser(Long runAsUser) { + this.runAsUser = runAsUser; + } + + @JsonProperty("seLinuxOptions") + public ClusterServiceVersionSpecISpecDSpecTSpecSCSeLinuxOptions getSeLinuxOptions() { + return seLinuxOptions; + } + + @JsonProperty("seLinuxOptions") + public void setSeLinuxOptions(ClusterServiceVersionSpecISpecDSpecTSpecSCSeLinuxOptions seLinuxOptions) { + this.seLinuxOptions = seLinuxOptions; + } + + @JsonProperty("seccompProfile") + public ClusterServiceVersionSpecISpecDSpecTSpecSCSeccompProfile getSeccompProfile() { + return seccompProfile; + } + + @JsonProperty("seccompProfile") + public void setSeccompProfile(ClusterServiceVersionSpecISpecDSpecTSpecSCSeccompProfile seccompProfile) { + this.seccompProfile = seccompProfile; + } + + @JsonProperty("supplementalGroups") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSupplementalGroups() { + return supplementalGroups; + } + + @JsonProperty("supplementalGroups") + public void setSupplementalGroups(List supplementalGroups) { + this.supplementalGroups = supplementalGroups; + } + + @JsonProperty("sysctls") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSysctls() { + return sysctls; + } + + @JsonProperty("sysctls") + public void setSysctls(List sysctls) { + this.sysctls = sysctls; + } + + @JsonProperty("windowsOptions") + public ClusterServiceVersionSpecISpecDSpecTSpecSCWindowsOptions getWindowsOptions() { + return windowsOptions; + } + + @JsonProperty("windowsOptions") + public void setWindowsOptions(ClusterServiceVersionSpecISpecDSpecTSpecSCWindowsOptions windowsOptions) { + this.windowsOptions = windowsOptions; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecSecurityContextBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecSecurityContextBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecSecurityContextBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecTSCLSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecTSCLSMatchExpressions.java new file mode 100644 index 00000000000..e462d09a93f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecTSCLSMatchExpressions.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 ClusterServiceVersionSpecISpecDSpecTSpecTSCLSMatchExpressions 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 ClusterServiceVersionSpecISpecDSpecTSpecTSCLSMatchExpressions() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecTSCLSMatchExpressions(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 ClusterServiceVersionSpecISpecDSpecTSpecTSCLSMatchExpressionsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecTSCLSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecTSCLSMatchExpressionsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecTSCLabelSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecTSCLabelSelector.java new file mode 100644 index 00000000000..d77e96cd7ee --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecTSCLabelSelector.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", + "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 ClusterServiceVersionSpecISpecDSpecTSpecTSCLabelSelector 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 ClusterServiceVersionSpecISpecDSpecTSpecTSCLabelSelector() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecTSCLabelSelector(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 ClusterServiceVersionSpecISpecDSpecTSpecTSCLabelSelectorBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecTSCLabelSelectorBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecTSCLabelSelectorBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecTolerations.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecTolerations.java new file mode 100644 index 00000000000..dedbc45baba --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecTolerations.java @@ -0,0 +1,164 @@ + +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({ + "effect", + "key", + "operator", + "tolerationSeconds", + "value" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecTolerations implements Editable , KubernetesResource +{ + + @JsonProperty("effect") + private String effect; + @JsonProperty("key") + private String key; + @JsonProperty("operator") + private String operator; + @JsonProperty("tolerationSeconds") + private Long tolerationSeconds; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecTolerations() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecTolerations(String effect, String key, String operator, Long tolerationSeconds, String value) { + super(); + this.effect = effect; + this.key = key; + this.operator = operator; + this.tolerationSeconds = tolerationSeconds; + this.value = value; + } + + @JsonProperty("effect") + public String getEffect() { + return effect; + } + + @JsonProperty("effect") + public void setEffect(String effect) { + this.effect = effect; + } + + @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("tolerationSeconds") + public Long getTolerationSeconds() { + return tolerationSeconds; + } + + @JsonProperty("tolerationSeconds") + public void setTolerationSeconds(Long tolerationSeconds) { + this.tolerationSeconds = tolerationSeconds; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecTolerationsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecTolerationsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecTolerationsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecTopologySpreadConstraints.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecTopologySpreadConstraints.java new file mode 100644 index 00000000000..ee466f9002e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecTopologySpreadConstraints.java @@ -0,0 +1,210 @@ + +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({ + "labelSelector", + "matchLabelKeys", + "maxSkew", + "minDomains", + "nodeAffinityPolicy", + "nodeTaintsPolicy", + "topologyKey", + "whenUnsatisfiable" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecTopologySpreadConstraints implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private ClusterServiceVersionSpecISpecDSpecTSpecTSCLabelSelector labelSelector; + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchLabelKeys = new ArrayList<>(); + @JsonProperty("maxSkew") + private Integer maxSkew; + @JsonProperty("minDomains") + private Integer minDomains; + @JsonProperty("nodeAffinityPolicy") + private String nodeAffinityPolicy; + @JsonProperty("nodeTaintsPolicy") + private String nodeTaintsPolicy; + @JsonProperty("topologyKey") + private String topologyKey; + @JsonProperty("whenUnsatisfiable") + private String whenUnsatisfiable; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecTopologySpreadConstraints() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecTopologySpreadConstraints(ClusterServiceVersionSpecISpecDSpecTSpecTSCLabelSelector labelSelector, List matchLabelKeys, Integer maxSkew, Integer minDomains, String nodeAffinityPolicy, String nodeTaintsPolicy, String topologyKey, String whenUnsatisfiable) { + super(); + this.labelSelector = labelSelector; + this.matchLabelKeys = matchLabelKeys; + this.maxSkew = maxSkew; + this.minDomains = minDomains; + this.nodeAffinityPolicy = nodeAffinityPolicy; + this.nodeTaintsPolicy = nodeTaintsPolicy; + this.topologyKey = topologyKey; + this.whenUnsatisfiable = whenUnsatisfiable; + } + + @JsonProperty("labelSelector") + public ClusterServiceVersionSpecISpecDSpecTSpecTSCLabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(ClusterServiceVersionSpecISpecDSpecTSpecTSCLabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchLabelKeys() { + return matchLabelKeys; + } + + @JsonProperty("matchLabelKeys") + public void setMatchLabelKeys(List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @JsonProperty("maxSkew") + public Integer getMaxSkew() { + return maxSkew; + } + + @JsonProperty("maxSkew") + public void setMaxSkew(Integer maxSkew) { + this.maxSkew = maxSkew; + } + + @JsonProperty("minDomains") + public Integer getMinDomains() { + return minDomains; + } + + @JsonProperty("minDomains") + public void setMinDomains(Integer minDomains) { + this.minDomains = minDomains; + } + + @JsonProperty("nodeAffinityPolicy") + public String getNodeAffinityPolicy() { + return nodeAffinityPolicy; + } + + @JsonProperty("nodeAffinityPolicy") + public void setNodeAffinityPolicy(String nodeAffinityPolicy) { + this.nodeAffinityPolicy = nodeAffinityPolicy; + } + + @JsonProperty("nodeTaintsPolicy") + public String getNodeTaintsPolicy() { + return nodeTaintsPolicy; + } + + @JsonProperty("nodeTaintsPolicy") + public void setNodeTaintsPolicy(String nodeTaintsPolicy) { + this.nodeTaintsPolicy = nodeTaintsPolicy; + } + + @JsonProperty("topologyKey") + public String getTopologyKey() { + return topologyKey; + } + + @JsonProperty("topologyKey") + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @JsonProperty("whenUnsatisfiable") + public String getWhenUnsatisfiable() { + return whenUnsatisfiable; + } + + @JsonProperty("whenUnsatisfiable") + public void setWhenUnsatisfiable(String whenUnsatisfiable) { + this.whenUnsatisfiable = whenUnsatisfiable; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecTopologySpreadConstraintsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecTopologySpreadConstraintsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecTopologySpreadConstraintsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVAwsElasticBlockStore.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVAwsElasticBlockStore.java new file mode 100644 index 00000000000..61863a6ee70 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVAwsElasticBlockStore.java @@ -0,0 +1,150 @@ + +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({ + "fsType", + "partition", + "readOnly", + "volumeID" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVAwsElasticBlockStore implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("partition") + private Integer partition; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("volumeID") + private String volumeID; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVAwsElasticBlockStore() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVAwsElasticBlockStore(String fsType, Integer partition, Boolean readOnly, String volumeID) { + super(); + this.fsType = fsType; + this.partition = partition; + this.readOnly = readOnly; + this.volumeID = volumeID; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("partition") + public Integer getPartition() { + return partition; + } + + @JsonProperty("partition") + public void setPartition(Integer partition) { + this.partition = partition; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("volumeID") + public String getVolumeID() { + return volumeID; + } + + @JsonProperty("volumeID") + public void setVolumeID(String volumeID) { + this.volumeID = volumeID; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVAwsElasticBlockStoreBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVAwsElasticBlockStoreBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVAwsElasticBlockStoreBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVAzureDisk.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVAzureDisk.java new file mode 100644 index 00000000000..9fd7fb1640e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVAzureDisk.java @@ -0,0 +1,178 @@ + +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({ + "kind", + "cachingMode", + "diskName", + "diskURI", + "fsType", + "readOnly" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVAzureDisk implements Editable , KubernetesResource +{ + + @JsonProperty("cachingMode") + private String cachingMode; + @JsonProperty("diskName") + private String diskName; + @JsonProperty("diskURI") + private String diskURI; + @JsonProperty("fsType") + private String fsType; + @JsonProperty("kind") + private String kind; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVAzureDisk() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVAzureDisk(String cachingMode, String diskName, String diskURI, String fsType, String kind, Boolean readOnly) { + super(); + this.cachingMode = cachingMode; + this.diskName = diskName; + this.diskURI = diskURI; + this.fsType = fsType; + this.kind = kind; + this.readOnly = readOnly; + } + + @JsonProperty("cachingMode") + public String getCachingMode() { + return cachingMode; + } + + @JsonProperty("cachingMode") + public void setCachingMode(String cachingMode) { + this.cachingMode = cachingMode; + } + + @JsonProperty("diskName") + public String getDiskName() { + return diskName; + } + + @JsonProperty("diskName") + public void setDiskName(String diskName) { + this.diskName = diskName; + } + + @JsonProperty("diskURI") + public String getDiskURI() { + return diskURI; + } + + @JsonProperty("diskURI") + public void setDiskURI(String diskURI) { + this.diskURI = diskURI; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("kind") + public String getKind() { + return kind; + } + + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVAzureDiskBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVAzureDiskBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVAzureDiskBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVAzureFile.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVAzureFile.java new file mode 100644 index 00000000000..a4a7825f519 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVAzureFile.java @@ -0,0 +1,136 @@ + +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({ + "readOnly", + "secretName", + "shareName" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVAzureFile implements Editable , KubernetesResource +{ + + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretName") + private String secretName; + @JsonProperty("shareName") + private String shareName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVAzureFile() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVAzureFile(Boolean readOnly, String secretName, String shareName) { + super(); + this.readOnly = readOnly; + this.secretName = secretName; + this.shareName = shareName; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretName") + public String getSecretName() { + return secretName; + } + + @JsonProperty("secretName") + public void setSecretName(String secretName) { + this.secretName = secretName; + } + + @JsonProperty("shareName") + public String getShareName() { + return shareName; + } + + @JsonProperty("shareName") + public void setShareName(String shareName) { + this.shareName = shareName; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVAzureFileBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVAzureFileBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVAzureFileBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVCMItems.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVCMItems.java new file mode 100644 index 00000000000..4dd892887f4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVCMItems.java @@ -0,0 +1,136 @@ + +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({ + "key", + "mode", + "path" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVCMItems implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("mode") + private Integer mode; + @JsonProperty("path") + private String path; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVCMItems() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVCMItems(String key, Integer mode, String path) { + super(); + this.key = key; + this.mode = mode; + this.path = path; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("mode") + public Integer getMode() { + return mode; + } + + @JsonProperty("mode") + public void setMode(Integer mode) { + this.mode = mode; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVCMItemsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVCMItemsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVCMItemsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVCNodePublishSecretRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVCNodePublishSecretRef.java new file mode 100644 index 00000000000..d331a630d09 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVCNodePublishSecretRef.java @@ -0,0 +1,108 @@ + +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({ + "name" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVCNodePublishSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVCNodePublishSecretRef() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVCNodePublishSecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVCNodePublishSecretRefBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVCNodePublishSecretRefBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVCNodePublishSecretRefBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVCSecretRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVCSecretRef.java new file mode 100644 index 00000000000..fc5e3b56f7d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVCSecretRef.java @@ -0,0 +1,108 @@ + +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({ + "name" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVCSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVCSecretRef() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVCSecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVCSecretRefBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVCSecretRefBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVCSecretRefBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVCSecretRef_1.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVCSecretRef_1.java new file mode 100644 index 00000000000..07400c82a20 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVCSecretRef_1.java @@ -0,0 +1,108 @@ + +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({ + "name" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVCSecretRef_1 implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVCSecretRef_1() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVCSecretRef_1(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVCSecretRef_1Builder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVCSecretRef_1Builder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVCSecretRef_1Builder 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/ClusterServiceVersionSpecISpecDSpecTSpecVCephfs.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVCephfs.java new file mode 100644 index 00000000000..786f7b573b8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVCephfs.java @@ -0,0 +1,182 @@ + +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({ + "monitors", + "path", + "readOnly", + "secretFile", + "secretRef", + "user" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVCephfs implements Editable , KubernetesResource +{ + + @JsonProperty("monitors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List monitors = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretFile") + private String secretFile; + @JsonProperty("secretRef") + private ClusterServiceVersionSpecISpecDSpecTSpecVCSecretRef secretRef; + @JsonProperty("user") + private String user; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVCephfs() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVCephfs(List monitors, String path, Boolean readOnly, String secretFile, ClusterServiceVersionSpecISpecDSpecTSpecVCSecretRef secretRef, String user) { + super(); + this.monitors = monitors; + this.path = path; + this.readOnly = readOnly; + this.secretFile = secretFile; + this.secretRef = secretRef; + this.user = user; + } + + @JsonProperty("monitors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMonitors() { + return monitors; + } + + @JsonProperty("monitors") + public void setMonitors(List monitors) { + this.monitors = monitors; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretFile") + public String getSecretFile() { + return secretFile; + } + + @JsonProperty("secretFile") + public void setSecretFile(String secretFile) { + this.secretFile = secretFile; + } + + @JsonProperty("secretRef") + public ClusterServiceVersionSpecISpecDSpecTSpecVCSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(ClusterServiceVersionSpecISpecDSpecTSpecVCSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonProperty("user") + public String getUser() { + return user; + } + + @JsonProperty("user") + public void setUser(String user) { + this.user = user; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVCephfsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVCephfsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVCephfsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVCinder.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVCinder.java new file mode 100644 index 00000000000..027ca0eed67 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVCinder.java @@ -0,0 +1,150 @@ + +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({ + "fsType", + "readOnly", + "secretRef", + "volumeID" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVCinder implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretRef") + private ClusterServiceVersionSpecISpecDSpecTSpecVCSecretRef_1 secretRef; + @JsonProperty("volumeID") + private String volumeID; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVCinder() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVCinder(String fsType, Boolean readOnly, ClusterServiceVersionSpecISpecDSpecTSpecVCSecretRef_1 secretRef, String volumeID) { + super(); + this.fsType = fsType; + this.readOnly = readOnly; + this.secretRef = secretRef; + this.volumeID = volumeID; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretRef") + public ClusterServiceVersionSpecISpecDSpecTSpecVCSecretRef_1 getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(ClusterServiceVersionSpecISpecDSpecTSpecVCSecretRef_1 secretRef) { + this.secretRef = secretRef; + } + + @JsonProperty("volumeID") + public String getVolumeID() { + return volumeID; + } + + @JsonProperty("volumeID") + public void setVolumeID(String volumeID) { + this.volumeID = volumeID; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVCinderBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVCinderBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVCinderBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVConfigMap.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVConfigMap.java new file mode 100644 index 00000000000..f87ca11c49b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVConfigMap.java @@ -0,0 +1,154 @@ + +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({ + "defaultMode", + "items", + "name", + "optional" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("defaultMode") + private Integer defaultMode; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVConfigMap() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVConfigMap(Integer defaultMode, List items, String name, Boolean optional) { + super(); + this.defaultMode = defaultMode; + this.items = items; + this.name = name; + this.optional = optional; + } + + @JsonProperty("defaultMode") + public Integer getDefaultMode() { + return defaultMode; + } + + @JsonProperty("defaultMode") + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVConfigMapBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVConfigMapBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVConfigMapBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVCsi.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVCsi.java new file mode 100644 index 00000000000..81f7fc27953 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVCsi.java @@ -0,0 +1,166 @@ + +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({ + "driver", + "fsType", + "nodePublishSecretRef", + "readOnly", + "volumeAttributes" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVCsi implements Editable , KubernetesResource +{ + + @JsonProperty("driver") + private String driver; + @JsonProperty("fsType") + private String fsType; + @JsonProperty("nodePublishSecretRef") + private ClusterServiceVersionSpecISpecDSpecTSpecVCNodePublishSecretRef nodePublishSecretRef; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("volumeAttributes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map volumeAttributes = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVCsi() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVCsi(String driver, String fsType, ClusterServiceVersionSpecISpecDSpecTSpecVCNodePublishSecretRef nodePublishSecretRef, Boolean readOnly, Map volumeAttributes) { + super(); + this.driver = driver; + this.fsType = fsType; + this.nodePublishSecretRef = nodePublishSecretRef; + this.readOnly = readOnly; + this.volumeAttributes = volumeAttributes; + } + + @JsonProperty("driver") + public String getDriver() { + return driver; + } + + @JsonProperty("driver") + public void setDriver(String driver) { + this.driver = driver; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("nodePublishSecretRef") + public ClusterServiceVersionSpecISpecDSpecTSpecVCNodePublishSecretRef getNodePublishSecretRef() { + return nodePublishSecretRef; + } + + @JsonProperty("nodePublishSecretRef") + public void setNodePublishSecretRef(ClusterServiceVersionSpecISpecDSpecTSpecVCNodePublishSecretRef nodePublishSecretRef) { + this.nodePublishSecretRef = nodePublishSecretRef; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("volumeAttributes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getVolumeAttributes() { + return volumeAttributes; + } + + @JsonProperty("volumeAttributes") + public void setVolumeAttributes(Map volumeAttributes) { + this.volumeAttributes = volumeAttributes; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVCsiBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVCsiBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVCsiBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVDAIFieldRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVDAIFieldRef.java new file mode 100644 index 00000000000..0165c57b16e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVDAIFieldRef.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({ + "apiVersion", + "fieldPath" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVDAIFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiVersion") + private String apiVersion; + @JsonProperty("fieldPath") + private String fieldPath; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVDAIFieldRef() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVDAIFieldRef(String apiVersion, String fieldPath) { + super(); + this.apiVersion = apiVersion; + this.fieldPath = fieldPath; + } + + @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; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVDAIFieldRefBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVDAIFieldRefBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVDAIFieldRefBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVDAIResourceFieldRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVDAIResourceFieldRef.java new file mode 100644 index 00000000000..5f17cf658ba --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVDAIResourceFieldRef.java @@ -0,0 +1,138 @@ + +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({ + "containerName", + "divisor", + "resource" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVDAIResourceFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("containerName") + private String containerName; + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object divisor; + @JsonProperty("resource") + private String resource; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVDAIResourceFieldRef() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVDAIResourceFieldRef(String containerName, Object divisor, String resource) { + super(); + this.containerName = containerName; + this.divisor = divisor; + this.resource = resource; + } + + @JsonProperty("containerName") + public String getContainerName() { + return containerName; + } + + @JsonProperty("containerName") + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @JsonProperty("divisor") + public Object getDivisor() { + return divisor; + } + + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setDivisor(Object divisor) { + this.divisor = divisor; + } + + @JsonProperty("resource") + public String getResource() { + return resource; + } + + @JsonProperty("resource") + public void setResource(String resource) { + this.resource = resource; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVDAIResourceFieldRefBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVDAIResourceFieldRefBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVDAIResourceFieldRefBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVDAItems.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVDAItems.java new file mode 100644 index 00000000000..f956325e208 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVDAItems.java @@ -0,0 +1,150 @@ + +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({ + "fieldRef", + "mode", + "path", + "resourceFieldRef" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVDAItems implements Editable , KubernetesResource +{ + + @JsonProperty("fieldRef") + private ClusterServiceVersionSpecISpecDSpecTSpecVDAIFieldRef fieldRef; + @JsonProperty("mode") + private Integer mode; + @JsonProperty("path") + private String path; + @JsonProperty("resourceFieldRef") + private ClusterServiceVersionSpecISpecDSpecTSpecVDAIResourceFieldRef resourceFieldRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVDAItems() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVDAItems(ClusterServiceVersionSpecISpecDSpecTSpecVDAIFieldRef fieldRef, Integer mode, String path, ClusterServiceVersionSpecISpecDSpecTSpecVDAIResourceFieldRef resourceFieldRef) { + super(); + this.fieldRef = fieldRef; + this.mode = mode; + this.path = path; + this.resourceFieldRef = resourceFieldRef; + } + + @JsonProperty("fieldRef") + public ClusterServiceVersionSpecISpecDSpecTSpecVDAIFieldRef getFieldRef() { + return fieldRef; + } + + @JsonProperty("fieldRef") + public void setFieldRef(ClusterServiceVersionSpecISpecDSpecTSpecVDAIFieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @JsonProperty("mode") + public Integer getMode() { + return mode; + } + + @JsonProperty("mode") + public void setMode(Integer mode) { + this.mode = mode; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("resourceFieldRef") + public ClusterServiceVersionSpecISpecDSpecTSpecVDAIResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + @JsonProperty("resourceFieldRef") + public void setResourceFieldRef(ClusterServiceVersionSpecISpecDSpecTSpecVDAIResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVDAItemsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVDAItemsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVDAItemsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVDownwardAPI.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVDownwardAPI.java new file mode 100644 index 00000000000..5070edc66bb --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVDownwardAPI.java @@ -0,0 +1,126 @@ + +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({ + "defaultMode", + "items" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVDownwardAPI implements Editable , KubernetesResource +{ + + @JsonProperty("defaultMode") + private Integer defaultMode; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVDownwardAPI() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVDownwardAPI(Integer defaultMode, List items) { + super(); + this.defaultMode = defaultMode; + this.items = items; + } + + @JsonProperty("defaultMode") + public Integer getDefaultMode() { + return defaultMode; + } + + @JsonProperty("defaultMode") + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVDownwardAPIBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVDownwardAPIBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVDownwardAPIBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpec.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpec.java new file mode 100644 index 00000000000..63002beeb8b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpec.java @@ -0,0 +1,224 @@ + +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({ + "accessModes", + "dataSource", + "dataSourceRef", + "resources", + "selector", + "storageClassName", + "volumeAttributesClassName", + "volumeMode", + "volumeName" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpec implements Editable , KubernetesResource +{ + + @JsonProperty("accessModes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List accessModes = new ArrayList<>(); + @JsonProperty("dataSource") + private ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecDataSource dataSource; + @JsonProperty("dataSourceRef") + private ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecDataSourceRef dataSourceRef; + @JsonProperty("resources") + private ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecResources resources; + @JsonProperty("selector") + private ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecSelector selector; + @JsonProperty("storageClassName") + private String storageClassName; + @JsonProperty("volumeAttributesClassName") + private String volumeAttributesClassName; + @JsonProperty("volumeMode") + private String volumeMode; + @JsonProperty("volumeName") + private String volumeName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpec() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpec(List accessModes, ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecDataSource dataSource, ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecDataSourceRef dataSourceRef, ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecResources resources, ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecSelector selector, String storageClassName, String volumeAttributesClassName, String volumeMode, String volumeName) { + super(); + this.accessModes = accessModes; + this.dataSource = dataSource; + this.dataSourceRef = dataSourceRef; + this.resources = resources; + this.selector = selector; + this.storageClassName = storageClassName; + this.volumeAttributesClassName = volumeAttributesClassName; + this.volumeMode = volumeMode; + this.volumeName = volumeName; + } + + @JsonProperty("accessModes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAccessModes() { + return accessModes; + } + + @JsonProperty("accessModes") + public void setAccessModes(List accessModes) { + this.accessModes = accessModes; + } + + @JsonProperty("dataSource") + public ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecDataSource getDataSource() { + return dataSource; + } + + @JsonProperty("dataSource") + public void setDataSource(ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecDataSource dataSource) { + this.dataSource = dataSource; + } + + @JsonProperty("dataSourceRef") + public ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecDataSourceRef getDataSourceRef() { + return dataSourceRef; + } + + @JsonProperty("dataSourceRef") + public void setDataSourceRef(ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecDataSourceRef dataSourceRef) { + this.dataSourceRef = dataSourceRef; + } + + @JsonProperty("resources") + public ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecResources getResources() { + return resources; + } + + @JsonProperty("resources") + public void setResources(ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecResources resources) { + this.resources = resources; + } + + @JsonProperty("selector") + public ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecSelector getSelector() { + return selector; + } + + @JsonProperty("selector") + public void setSelector(ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecSelector selector) { + this.selector = selector; + } + + @JsonProperty("storageClassName") + public String getStorageClassName() { + return storageClassName; + } + + @JsonProperty("storageClassName") + public void setStorageClassName(String storageClassName) { + this.storageClassName = storageClassName; + } + + @JsonProperty("volumeAttributesClassName") + public String getVolumeAttributesClassName() { + return volumeAttributesClassName; + } + + @JsonProperty("volumeAttributesClassName") + public void setVolumeAttributesClassName(String volumeAttributesClassName) { + this.volumeAttributesClassName = volumeAttributesClassName; + } + + @JsonProperty("volumeMode") + public String getVolumeMode() { + return volumeMode; + } + + @JsonProperty("volumeMode") + public void setVolumeMode(String volumeMode) { + this.volumeMode = volumeMode; + } + + @JsonProperty("volumeName") + public String getVolumeName() { + return volumeName; + } + + @JsonProperty("volumeName") + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecDataSource.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecDataSource.java new file mode 100644 index 00000000000..97c6a65fdc5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecDataSource.java @@ -0,0 +1,136 @@ + +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({ + "kind", + "apiGroup", + "name" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecDataSource implements Editable , KubernetesResource +{ + + @JsonProperty("apiGroup") + private String apiGroup; + @JsonProperty("kind") + private String kind; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecDataSource() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecDataSource(String apiGroup, String kind, String name) { + super(); + this.apiGroup = apiGroup; + this.kind = kind; + this.name = name; + } + + @JsonProperty("apiGroup") + public String getApiGroup() { + return apiGroup; + } + + @JsonProperty("apiGroup") + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + @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; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecDataSourceBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecDataSourceBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecDataSourceBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecDataSourceRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecDataSourceRef.java new file mode 100644 index 00000000000..4bb945c301c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecDataSourceRef.java @@ -0,0 +1,150 @@ + +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({ + "kind", + "apiGroup", + "name", + "namespace" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecDataSourceRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiGroup") + private String apiGroup; + @JsonProperty("kind") + private String kind; + @JsonProperty("name") + private String name; + @JsonProperty("namespace") + private String namespace; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecDataSourceRef() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecDataSourceRef(String apiGroup, String kind, String name, String namespace) { + super(); + this.apiGroup = apiGroup; + this.kind = kind; + this.name = name; + this.namespace = namespace; + } + + @JsonProperty("apiGroup") + public String getApiGroup() { + return apiGroup; + } + + @JsonProperty("apiGroup") + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + @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; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecDataSourceRefBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecDataSourceRefBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecDataSourceRefBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecResources.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecResources.java new file mode 100644 index 00000000000..bf195ada8e4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecResources.java @@ -0,0 +1,130 @@ + +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({ + "limits", + "requests" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecResources implements Editable , KubernetesResource +{ + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map limits = new LinkedHashMap<>(); + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map requests = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecResources() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecResources(Map limits, Map requests) { + super(); + this.limits = limits; + this.requests = requests; + } + + @JsonProperty("limits") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLimits() { + return limits; + } + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setLimits(Map limits) { + this.limits = limits; + } + + @JsonProperty("requests") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getRequests() { + return requests; + } + + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setRequests(Map requests) { + this.requests = requests; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecResourcesBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecResourcesBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecResourcesBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecSMatchExpressions.java new file mode 100644 index 00000000000..7a4d11aac52 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecSMatchExpressions.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 ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecSMatchExpressions 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 ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecSMatchExpressions() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecSMatchExpressions(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 ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecSMatchExpressionsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecSMatchExpressionsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecSelector.java new file mode 100644 index 00000000000..b8dc0550bd3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecSelector.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", + "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 ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecSelector 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 ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecSelector() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecSelector(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 ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecSelectorBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecSelectorBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpecSelectorBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVEVolumeClaimTemplate.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVEVolumeClaimTemplate.java new file mode 100644 index 00000000000..043b4059db5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVEVolumeClaimTemplate.java @@ -0,0 +1,124 @@ + +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({ + "metadata", + "spec" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVEVolumeClaimTemplate implements Editable , KubernetesResource +{ + + @JsonProperty("metadata") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object metadata; + @JsonProperty("spec") + private ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpec spec; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVEVolumeClaimTemplate() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVEVolumeClaimTemplate(Object metadata, ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpec spec) { + super(); + this.metadata = metadata; + this.spec = spec; + } + + @JsonProperty("metadata") + public Object getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setMetadata(Object metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpec getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(ClusterServiceVersionSpecISpecDSpecTSpecVEVCTSpec spec) { + this.spec = spec; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVEVolumeClaimTemplateBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVEVolumeClaimTemplateBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVEVolumeClaimTemplateBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVEmptyDir.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVEmptyDir.java new file mode 100644 index 00000000000..4babd332eb9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVEmptyDir.java @@ -0,0 +1,124 @@ + +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({ + "medium", + "sizeLimit" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVEmptyDir implements Editable , KubernetesResource +{ + + @JsonProperty("medium") + private String medium; + @JsonProperty("sizeLimit") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object sizeLimit; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVEmptyDir() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVEmptyDir(String medium, Object sizeLimit) { + super(); + this.medium = medium; + this.sizeLimit = sizeLimit; + } + + @JsonProperty("medium") + public String getMedium() { + return medium; + } + + @JsonProperty("medium") + public void setMedium(String medium) { + this.medium = medium; + } + + @JsonProperty("sizeLimit") + public Object getSizeLimit() { + return sizeLimit; + } + + @JsonProperty("sizeLimit") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setSizeLimit(Object sizeLimit) { + this.sizeLimit = sizeLimit; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVEmptyDirBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVEmptyDirBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVEmptyDirBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVEphemeral.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVEphemeral.java new file mode 100644 index 00000000000..8db12ed04d4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVEphemeral.java @@ -0,0 +1,108 @@ + +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({ + "volumeClaimTemplate" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVEphemeral implements Editable , KubernetesResource +{ + + @JsonProperty("volumeClaimTemplate") + private ClusterServiceVersionSpecISpecDSpecTSpecVEVolumeClaimTemplate volumeClaimTemplate; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVEphemeral() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVEphemeral(ClusterServiceVersionSpecISpecDSpecTSpecVEVolumeClaimTemplate volumeClaimTemplate) { + super(); + this.volumeClaimTemplate = volumeClaimTemplate; + } + + @JsonProperty("volumeClaimTemplate") + public ClusterServiceVersionSpecISpecDSpecTSpecVEVolumeClaimTemplate getVolumeClaimTemplate() { + return volumeClaimTemplate; + } + + @JsonProperty("volumeClaimTemplate") + public void setVolumeClaimTemplate(ClusterServiceVersionSpecISpecDSpecTSpecVEVolumeClaimTemplate volumeClaimTemplate) { + this.volumeClaimTemplate = volumeClaimTemplate; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVEphemeralBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVEphemeralBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVEphemeralBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVFVSecretRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVFVSecretRef.java new file mode 100644 index 00000000000..882ff38f7ce --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVFVSecretRef.java @@ -0,0 +1,108 @@ + +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({ + "name" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVFVSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVFVSecretRef() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVFVSecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVFVSecretRefBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVFVSecretRefBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVFVSecretRefBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVFc.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVFc.java new file mode 100644 index 00000000000..25d9dd74fd7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVFc.java @@ -0,0 +1,170 @@ + +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({ + "fsType", + "lun", + "readOnly", + "targetWWNs", + "wwids" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVFc implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("lun") + private Integer lun; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("targetWWNs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List targetWWNs = new ArrayList<>(); + @JsonProperty("wwids") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List wwids = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVFc() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVFc(String fsType, Integer lun, Boolean readOnly, List targetWWNs, List wwids) { + super(); + this.fsType = fsType; + this.lun = lun; + this.readOnly = readOnly; + this.targetWWNs = targetWWNs; + this.wwids = wwids; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("lun") + public Integer getLun() { + return lun; + } + + @JsonProperty("lun") + public void setLun(Integer lun) { + this.lun = lun; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("targetWWNs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getTargetWWNs() { + return targetWWNs; + } + + @JsonProperty("targetWWNs") + public void setTargetWWNs(List targetWWNs) { + this.targetWWNs = targetWWNs; + } + + @JsonProperty("wwids") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getWwids() { + return wwids; + } + + @JsonProperty("wwids") + public void setWwids(List wwids) { + this.wwids = wwids; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVFcBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVFcBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVFcBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVFlexVolume.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVFlexVolume.java new file mode 100644 index 00000000000..78b627fae96 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVFlexVolume.java @@ -0,0 +1,166 @@ + +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({ + "driver", + "fsType", + "options", + "readOnly", + "secretRef" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVFlexVolume implements Editable , KubernetesResource +{ + + @JsonProperty("driver") + private String driver; + @JsonProperty("fsType") + private String fsType; + @JsonProperty("options") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map options = new LinkedHashMap<>(); + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretRef") + private ClusterServiceVersionSpecISpecDSpecTSpecVFVSecretRef secretRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVFlexVolume() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVFlexVolume(String driver, String fsType, Map options, Boolean readOnly, ClusterServiceVersionSpecISpecDSpecTSpecVFVSecretRef secretRef) { + super(); + this.driver = driver; + this.fsType = fsType; + this.options = options; + this.readOnly = readOnly; + this.secretRef = secretRef; + } + + @JsonProperty("driver") + public String getDriver() { + return driver; + } + + @JsonProperty("driver") + public void setDriver(String driver) { + this.driver = driver; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("options") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getOptions() { + return options; + } + + @JsonProperty("options") + public void setOptions(Map options) { + this.options = options; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretRef") + public ClusterServiceVersionSpecISpecDSpecTSpecVFVSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(ClusterServiceVersionSpecISpecDSpecTSpecVFVSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVFlexVolumeBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVFlexVolumeBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVFlexVolumeBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVFlocker.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVFlocker.java new file mode 100644 index 00000000000..8c997181e78 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVFlocker.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({ + "datasetName", + "datasetUUID" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVFlocker implements Editable , KubernetesResource +{ + + @JsonProperty("datasetName") + private String datasetName; + @JsonProperty("datasetUUID") + private String datasetUUID; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVFlocker() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVFlocker(String datasetName, String datasetUUID) { + super(); + this.datasetName = datasetName; + this.datasetUUID = datasetUUID; + } + + @JsonProperty("datasetName") + public String getDatasetName() { + return datasetName; + } + + @JsonProperty("datasetName") + public void setDatasetName(String datasetName) { + this.datasetName = datasetName; + } + + @JsonProperty("datasetUUID") + public String getDatasetUUID() { + return datasetUUID; + } + + @JsonProperty("datasetUUID") + public void setDatasetUUID(String datasetUUID) { + this.datasetUUID = datasetUUID; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVFlockerBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVFlockerBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVFlockerBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVGcePersistentDisk.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVGcePersistentDisk.java new file mode 100644 index 00000000000..a0d7dae822f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVGcePersistentDisk.java @@ -0,0 +1,150 @@ + +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({ + "fsType", + "partition", + "pdName", + "readOnly" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVGcePersistentDisk implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("partition") + private Integer partition; + @JsonProperty("pdName") + private String pdName; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVGcePersistentDisk() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVGcePersistentDisk(String fsType, Integer partition, String pdName, Boolean readOnly) { + super(); + this.fsType = fsType; + this.partition = partition; + this.pdName = pdName; + this.readOnly = readOnly; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("partition") + public Integer getPartition() { + return partition; + } + + @JsonProperty("partition") + public void setPartition(Integer partition) { + this.partition = partition; + } + + @JsonProperty("pdName") + public String getPdName() { + return pdName; + } + + @JsonProperty("pdName") + public void setPdName(String pdName) { + this.pdName = pdName; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVGcePersistentDiskBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVGcePersistentDiskBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVGcePersistentDiskBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVGitRepo.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVGitRepo.java new file mode 100644 index 00000000000..38873a17211 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVGitRepo.java @@ -0,0 +1,136 @@ + +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({ + "directory", + "repository", + "revision" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVGitRepo implements Editable , KubernetesResource +{ + + @JsonProperty("directory") + private String directory; + @JsonProperty("repository") + private String repository; + @JsonProperty("revision") + private String revision; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVGitRepo() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVGitRepo(String directory, String repository, String revision) { + super(); + this.directory = directory; + this.repository = repository; + this.revision = revision; + } + + @JsonProperty("directory") + public String getDirectory() { + return directory; + } + + @JsonProperty("directory") + public void setDirectory(String directory) { + this.directory = directory; + } + + @JsonProperty("repository") + public String getRepository() { + return repository; + } + + @JsonProperty("repository") + public void setRepository(String repository) { + this.repository = repository; + } + + @JsonProperty("revision") + public String getRevision() { + return revision; + } + + @JsonProperty("revision") + public void setRevision(String revision) { + this.revision = revision; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVGitRepoBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVGitRepoBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVGitRepoBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVGlusterfs.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVGlusterfs.java new file mode 100644 index 00000000000..8ce1b0d6084 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVGlusterfs.java @@ -0,0 +1,136 @@ + +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({ + "endpoints", + "path", + "readOnly" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVGlusterfs implements Editable , KubernetesResource +{ + + @JsonProperty("endpoints") + private String endpoints; + @JsonProperty("path") + private String path; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVGlusterfs() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVGlusterfs(String endpoints, String path, Boolean readOnly) { + super(); + this.endpoints = endpoints; + this.path = path; + this.readOnly = readOnly; + } + + @JsonProperty("endpoints") + public String getEndpoints() { + return endpoints; + } + + @JsonProperty("endpoints") + public void setEndpoints(String endpoints) { + this.endpoints = endpoints; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVGlusterfsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVGlusterfsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVGlusterfsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVHostPath.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVHostPath.java new file mode 100644 index 00000000000..f86b701eec9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVHostPath.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({ + "path", + "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 ClusterServiceVersionSpecISpecDSpecTSpecVHostPath implements Editable , KubernetesResource +{ + + @JsonProperty("path") + private String path; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVHostPath() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVHostPath(String path, String type) { + super(); + this.path = path; + this.type = type; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVHostPathBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVHostPathBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVHostPathBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVISecretRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVISecretRef.java new file mode 100644 index 00000000000..f976dea4d6a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVISecretRef.java @@ -0,0 +1,108 @@ + +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({ + "name" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVISecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVISecretRef() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVISecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVISecretRefBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVISecretRefBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVISecretRefBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVIscsi.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVIscsi.java new file mode 100644 index 00000000000..28772ec51e5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVIscsi.java @@ -0,0 +1,252 @@ + +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({ + "chapAuthDiscovery", + "chapAuthSession", + "fsType", + "initiatorName", + "iqn", + "iscsiInterface", + "lun", + "portals", + "readOnly", + "secretRef", + "targetPortal" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVIscsi implements Editable , KubernetesResource +{ + + @JsonProperty("chapAuthDiscovery") + private Boolean chapAuthDiscovery; + @JsonProperty("chapAuthSession") + private Boolean chapAuthSession; + @JsonProperty("fsType") + private String fsType; + @JsonProperty("initiatorName") + private String initiatorName; + @JsonProperty("iqn") + private String iqn; + @JsonProperty("iscsiInterface") + private String iscsiInterface; + @JsonProperty("lun") + private Integer lun; + @JsonProperty("portals") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List portals = new ArrayList<>(); + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretRef") + private ClusterServiceVersionSpecISpecDSpecTSpecVISecretRef secretRef; + @JsonProperty("targetPortal") + private String targetPortal; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVIscsi() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVIscsi(Boolean chapAuthDiscovery, Boolean chapAuthSession, String fsType, String initiatorName, String iqn, String iscsiInterface, Integer lun, List portals, Boolean readOnly, ClusterServiceVersionSpecISpecDSpecTSpecVISecretRef secretRef, String targetPortal) { + super(); + this.chapAuthDiscovery = chapAuthDiscovery; + this.chapAuthSession = chapAuthSession; + this.fsType = fsType; + this.initiatorName = initiatorName; + this.iqn = iqn; + this.iscsiInterface = iscsiInterface; + this.lun = lun; + this.portals = portals; + this.readOnly = readOnly; + this.secretRef = secretRef; + this.targetPortal = targetPortal; + } + + @JsonProperty("chapAuthDiscovery") + public Boolean getChapAuthDiscovery() { + return chapAuthDiscovery; + } + + @JsonProperty("chapAuthDiscovery") + public void setChapAuthDiscovery(Boolean chapAuthDiscovery) { + this.chapAuthDiscovery = chapAuthDiscovery; + } + + @JsonProperty("chapAuthSession") + public Boolean getChapAuthSession() { + return chapAuthSession; + } + + @JsonProperty("chapAuthSession") + public void setChapAuthSession(Boolean chapAuthSession) { + this.chapAuthSession = chapAuthSession; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("initiatorName") + public String getInitiatorName() { + return initiatorName; + } + + @JsonProperty("initiatorName") + public void setInitiatorName(String initiatorName) { + this.initiatorName = initiatorName; + } + + @JsonProperty("iqn") + public String getIqn() { + return iqn; + } + + @JsonProperty("iqn") + public void setIqn(String iqn) { + this.iqn = iqn; + } + + @JsonProperty("iscsiInterface") + public String getIscsiInterface() { + return iscsiInterface; + } + + @JsonProperty("iscsiInterface") + public void setIscsiInterface(String iscsiInterface) { + this.iscsiInterface = iscsiInterface; + } + + @JsonProperty("lun") + public Integer getLun() { + return lun; + } + + @JsonProperty("lun") + public void setLun(Integer lun) { + this.lun = lun; + } + + @JsonProperty("portals") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPortals() { + return portals; + } + + @JsonProperty("portals") + public void setPortals(List portals) { + this.portals = portals; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretRef") + public ClusterServiceVersionSpecISpecDSpecTSpecVISecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(ClusterServiceVersionSpecISpecDSpecTSpecVISecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonProperty("targetPortal") + public String getTargetPortal() { + return targetPortal; + } + + @JsonProperty("targetPortal") + public void setTargetPortal(String targetPortal) { + this.targetPortal = targetPortal; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVIscsiBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVIscsiBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVIscsiBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVNfs.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVNfs.java new file mode 100644 index 00000000000..bb54232c648 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVNfs.java @@ -0,0 +1,136 @@ + +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({ + "path", + "readOnly", + "server" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVNfs implements Editable , KubernetesResource +{ + + @JsonProperty("path") + private String path; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("server") + private String server; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVNfs() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVNfs(String path, Boolean readOnly, String server) { + super(); + this.path = path; + this.readOnly = readOnly; + this.server = server; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("server") + public String getServer() { + return server; + } + + @JsonProperty("server") + public void setServer(String server) { + this.server = server; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVNfsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVNfsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVNfsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVPSCMItems.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPSCMItems.java new file mode 100644 index 00000000000..92c51d740e6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPSCMItems.java @@ -0,0 +1,136 @@ + +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({ + "key", + "mode", + "path" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVPSCMItems implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("mode") + private Integer mode; + @JsonProperty("path") + private String path; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVPSCMItems() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVPSCMItems(String key, Integer mode, String path) { + super(); + this.key = key; + this.mode = mode; + this.path = path; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("mode") + public Integer getMode() { + return mode; + } + + @JsonProperty("mode") + public void setMode(Integer mode) { + this.mode = mode; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVPSCMItemsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVPSCMItemsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVPSCMItemsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVPSCTBLSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPSCTBLSMatchExpressions.java new file mode 100644 index 00000000000..37c97997bfb --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPSCTBLSMatchExpressions.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 ClusterServiceVersionSpecISpecDSpecTSpecVPSCTBLSMatchExpressions 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 ClusterServiceVersionSpecISpecDSpecTSpecVPSCTBLSMatchExpressions() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVPSCTBLSMatchExpressions(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 ClusterServiceVersionSpecISpecDSpecTSpecVPSCTBLSMatchExpressionsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVPSCTBLSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVPSCTBLSMatchExpressionsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVPSCTBLabelSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPSCTBLabelSelector.java new file mode 100644 index 00000000000..80414d02b0a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPSCTBLabelSelector.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", + "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 ClusterServiceVersionSpecISpecDSpecTSpecVPSCTBLabelSelector 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 ClusterServiceVersionSpecISpecDSpecTSpecVPSCTBLabelSelector() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVPSCTBLabelSelector(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 ClusterServiceVersionSpecISpecDSpecTSpecVPSCTBLabelSelectorBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVPSCTBLabelSelectorBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVPSCTBLabelSelectorBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVPSClusterTrustBundle.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPSClusterTrustBundle.java new file mode 100644 index 00000000000..691ef28681a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPSClusterTrustBundle.java @@ -0,0 +1,164 @@ + +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({ + "labelSelector", + "name", + "optional", + "path", + "signerName" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVPSClusterTrustBundle implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private ClusterServiceVersionSpecISpecDSpecTSpecVPSCTBLabelSelector labelSelector; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonProperty("path") + private String path; + @JsonProperty("signerName") + private String signerName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVPSClusterTrustBundle() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVPSClusterTrustBundle(ClusterServiceVersionSpecISpecDSpecTSpecVPSCTBLabelSelector labelSelector, String name, Boolean optional, String path, String signerName) { + super(); + this.labelSelector = labelSelector; + this.name = name; + this.optional = optional; + this.path = path; + this.signerName = signerName; + } + + @JsonProperty("labelSelector") + public ClusterServiceVersionSpecISpecDSpecTSpecVPSCTBLabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(ClusterServiceVersionSpecISpecDSpecTSpecVPSCTBLabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("signerName") + public String getSignerName() { + return signerName; + } + + @JsonProperty("signerName") + public void setSignerName(String signerName) { + this.signerName = signerName; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVPSClusterTrustBundleBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVPSClusterTrustBundleBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVPSClusterTrustBundleBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVPSConfigMap.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPSConfigMap.java new file mode 100644 index 00000000000..66f2cbd18db --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPSConfigMap.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({ + "items", + "name", + "optional" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVPSConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVPSConfigMap() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVPSConfigMap(List items, String name, Boolean optional) { + super(); + this.items = items; + this.name = name; + this.optional = optional; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVPSConfigMapBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVPSConfigMapBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVPSConfigMapBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVPSDAIFieldRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPSDAIFieldRef.java new file mode 100644 index 00000000000..d4f8ba1da1e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPSDAIFieldRef.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({ + "apiVersion", + "fieldPath" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVPSDAIFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiVersion") + private String apiVersion; + @JsonProperty("fieldPath") + private String fieldPath; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVPSDAIFieldRef() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVPSDAIFieldRef(String apiVersion, String fieldPath) { + super(); + this.apiVersion = apiVersion; + this.fieldPath = fieldPath; + } + + @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; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVPSDAIFieldRefBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVPSDAIFieldRefBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVPSDAIFieldRefBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVPSDAIResourceFieldRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPSDAIResourceFieldRef.java new file mode 100644 index 00000000000..3844e02a119 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPSDAIResourceFieldRef.java @@ -0,0 +1,138 @@ + +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({ + "containerName", + "divisor", + "resource" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVPSDAIResourceFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("containerName") + private String containerName; + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object divisor; + @JsonProperty("resource") + private String resource; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVPSDAIResourceFieldRef() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVPSDAIResourceFieldRef(String containerName, Object divisor, String resource) { + super(); + this.containerName = containerName; + this.divisor = divisor; + this.resource = resource; + } + + @JsonProperty("containerName") + public String getContainerName() { + return containerName; + } + + @JsonProperty("containerName") + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @JsonProperty("divisor") + public Object getDivisor() { + return divisor; + } + + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setDivisor(Object divisor) { + this.divisor = divisor; + } + + @JsonProperty("resource") + public String getResource() { + return resource; + } + + @JsonProperty("resource") + public void setResource(String resource) { + this.resource = resource; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVPSDAIResourceFieldRefBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVPSDAIResourceFieldRefBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVPSDAIResourceFieldRefBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVPSDAItems.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPSDAItems.java new file mode 100644 index 00000000000..62534650c18 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPSDAItems.java @@ -0,0 +1,150 @@ + +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({ + "fieldRef", + "mode", + "path", + "resourceFieldRef" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVPSDAItems implements Editable , KubernetesResource +{ + + @JsonProperty("fieldRef") + private ClusterServiceVersionSpecISpecDSpecTSpecVPSDAIFieldRef fieldRef; + @JsonProperty("mode") + private Integer mode; + @JsonProperty("path") + private String path; + @JsonProperty("resourceFieldRef") + private ClusterServiceVersionSpecISpecDSpecTSpecVPSDAIResourceFieldRef resourceFieldRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVPSDAItems() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVPSDAItems(ClusterServiceVersionSpecISpecDSpecTSpecVPSDAIFieldRef fieldRef, Integer mode, String path, ClusterServiceVersionSpecISpecDSpecTSpecVPSDAIResourceFieldRef resourceFieldRef) { + super(); + this.fieldRef = fieldRef; + this.mode = mode; + this.path = path; + this.resourceFieldRef = resourceFieldRef; + } + + @JsonProperty("fieldRef") + public ClusterServiceVersionSpecISpecDSpecTSpecVPSDAIFieldRef getFieldRef() { + return fieldRef; + } + + @JsonProperty("fieldRef") + public void setFieldRef(ClusterServiceVersionSpecISpecDSpecTSpecVPSDAIFieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @JsonProperty("mode") + public Integer getMode() { + return mode; + } + + @JsonProperty("mode") + public void setMode(Integer mode) { + this.mode = mode; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("resourceFieldRef") + public ClusterServiceVersionSpecISpecDSpecTSpecVPSDAIResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + @JsonProperty("resourceFieldRef") + public void setResourceFieldRef(ClusterServiceVersionSpecISpecDSpecTSpecVPSDAIResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVPSDAItemsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVPSDAItemsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVPSDAItemsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVPSDownwardAPI.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPSDownwardAPI.java new file mode 100644 index 00000000000..bcb3c072d24 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPSDownwardAPI.java @@ -0,0 +1,112 @@ + +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({ + "items" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVPSDownwardAPI implements Editable , KubernetesResource +{ + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVPSDownwardAPI() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVPSDownwardAPI(List items) { + super(); + this.items = items; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVPSDownwardAPIBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVPSDownwardAPIBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVPSDownwardAPIBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVPSSItems.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPSSItems.java new file mode 100644 index 00000000000..7950de9a112 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPSSItems.java @@ -0,0 +1,136 @@ + +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({ + "key", + "mode", + "path" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVPSSItems implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("mode") + private Integer mode; + @JsonProperty("path") + private String path; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVPSSItems() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVPSSItems(String key, Integer mode, String path) { + super(); + this.key = key; + this.mode = mode; + this.path = path; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("mode") + public Integer getMode() { + return mode; + } + + @JsonProperty("mode") + public void setMode(Integer mode) { + this.mode = mode; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVPSSItemsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVPSSItemsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVPSSItemsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVPSSecret.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPSSecret.java new file mode 100644 index 00000000000..e0ec98e0619 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPSSecret.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({ + "items", + "name", + "optional" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVPSSecret implements Editable , KubernetesResource +{ + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVPSSecret() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVPSSecret(List items, String name, Boolean optional) { + super(); + this.items = items; + this.name = name; + this.optional = optional; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVPSSecretBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVPSSecretBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVPSSecretBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVPSServiceAccountToken.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPSServiceAccountToken.java new file mode 100644 index 00000000000..d52bffb053f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPSServiceAccountToken.java @@ -0,0 +1,136 @@ + +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({ + "audience", + "expirationSeconds", + "path" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVPSServiceAccountToken implements Editable , KubernetesResource +{ + + @JsonProperty("audience") + private String audience; + @JsonProperty("expirationSeconds") + private Long expirationSeconds; + @JsonProperty("path") + private String path; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVPSServiceAccountToken() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVPSServiceAccountToken(String audience, Long expirationSeconds, String path) { + super(); + this.audience = audience; + this.expirationSeconds = expirationSeconds; + this.path = path; + } + + @JsonProperty("audience") + public String getAudience() { + return audience; + } + + @JsonProperty("audience") + public void setAudience(String audience) { + this.audience = audience; + } + + @JsonProperty("expirationSeconds") + public Long getExpirationSeconds() { + return expirationSeconds; + } + + @JsonProperty("expirationSeconds") + public void setExpirationSeconds(Long expirationSeconds) { + this.expirationSeconds = expirationSeconds; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVPSServiceAccountTokenBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVPSServiceAccountTokenBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVPSServiceAccountTokenBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVPSources.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPSources.java new file mode 100644 index 00000000000..0ca377c3a74 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPSources.java @@ -0,0 +1,164 @@ + +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({ + "clusterTrustBundle", + "configMap", + "downwardAPI", + "secret", + "serviceAccountToken" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVPSources implements Editable , KubernetesResource +{ + + @JsonProperty("clusterTrustBundle") + private ClusterServiceVersionSpecISpecDSpecTSpecVPSClusterTrustBundle clusterTrustBundle; + @JsonProperty("configMap") + private ClusterServiceVersionSpecISpecDSpecTSpecVPSConfigMap configMap; + @JsonProperty("downwardAPI") + private ClusterServiceVersionSpecISpecDSpecTSpecVPSDownwardAPI downwardAPI; + @JsonProperty("secret") + private ClusterServiceVersionSpecISpecDSpecTSpecVPSSecret secret; + @JsonProperty("serviceAccountToken") + private ClusterServiceVersionSpecISpecDSpecTSpecVPSServiceAccountToken serviceAccountToken; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVPSources() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVPSources(ClusterServiceVersionSpecISpecDSpecTSpecVPSClusterTrustBundle clusterTrustBundle, ClusterServiceVersionSpecISpecDSpecTSpecVPSConfigMap configMap, ClusterServiceVersionSpecISpecDSpecTSpecVPSDownwardAPI downwardAPI, ClusterServiceVersionSpecISpecDSpecTSpecVPSSecret secret, ClusterServiceVersionSpecISpecDSpecTSpecVPSServiceAccountToken serviceAccountToken) { + super(); + this.clusterTrustBundle = clusterTrustBundle; + this.configMap = configMap; + this.downwardAPI = downwardAPI; + this.secret = secret; + this.serviceAccountToken = serviceAccountToken; + } + + @JsonProperty("clusterTrustBundle") + public ClusterServiceVersionSpecISpecDSpecTSpecVPSClusterTrustBundle getClusterTrustBundle() { + return clusterTrustBundle; + } + + @JsonProperty("clusterTrustBundle") + public void setClusterTrustBundle(ClusterServiceVersionSpecISpecDSpecTSpecVPSClusterTrustBundle clusterTrustBundle) { + this.clusterTrustBundle = clusterTrustBundle; + } + + @JsonProperty("configMap") + public ClusterServiceVersionSpecISpecDSpecTSpecVPSConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(ClusterServiceVersionSpecISpecDSpecTSpecVPSConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("downwardAPI") + public ClusterServiceVersionSpecISpecDSpecTSpecVPSDownwardAPI getDownwardAPI() { + return downwardAPI; + } + + @JsonProperty("downwardAPI") + public void setDownwardAPI(ClusterServiceVersionSpecISpecDSpecTSpecVPSDownwardAPI downwardAPI) { + this.downwardAPI = downwardAPI; + } + + @JsonProperty("secret") + public ClusterServiceVersionSpecISpecDSpecTSpecVPSSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(ClusterServiceVersionSpecISpecDSpecTSpecVPSSecret secret) { + this.secret = secret; + } + + @JsonProperty("serviceAccountToken") + public ClusterServiceVersionSpecISpecDSpecTSpecVPSServiceAccountToken getServiceAccountToken() { + return serviceAccountToken; + } + + @JsonProperty("serviceAccountToken") + public void setServiceAccountToken(ClusterServiceVersionSpecISpecDSpecTSpecVPSServiceAccountToken serviceAccountToken) { + this.serviceAccountToken = serviceAccountToken; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVPSourcesBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVPSourcesBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVPSourcesBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVPersistentVolumeClaim.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPersistentVolumeClaim.java new file mode 100644 index 00000000000..55003a14202 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPersistentVolumeClaim.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({ + "claimName", + "readOnly" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVPersistentVolumeClaim implements Editable , KubernetesResource +{ + + @JsonProperty("claimName") + private String claimName; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVPersistentVolumeClaim() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVPersistentVolumeClaim(String claimName, Boolean readOnly) { + super(); + this.claimName = claimName; + this.readOnly = readOnly; + } + + @JsonProperty("claimName") + public String getClaimName() { + return claimName; + } + + @JsonProperty("claimName") + public void setClaimName(String claimName) { + this.claimName = claimName; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVPersistentVolumeClaimBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVPersistentVolumeClaimBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVPersistentVolumeClaimBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVPhotonPersistentDisk.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPhotonPersistentDisk.java new file mode 100644 index 00000000000..df9205c6488 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPhotonPersistentDisk.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({ + "fsType", + "pdID" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVPhotonPersistentDisk implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("pdID") + private String pdID; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVPhotonPersistentDisk() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVPhotonPersistentDisk(String fsType, String pdID) { + super(); + this.fsType = fsType; + this.pdID = pdID; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("pdID") + public String getPdID() { + return pdID; + } + + @JsonProperty("pdID") + public void setPdID(String pdID) { + this.pdID = pdID; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVPhotonPersistentDiskBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVPhotonPersistentDiskBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVPhotonPersistentDiskBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVPortworxVolume.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPortworxVolume.java new file mode 100644 index 00000000000..a4fc0643654 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVPortworxVolume.java @@ -0,0 +1,136 @@ + +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({ + "fsType", + "readOnly", + "volumeID" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVPortworxVolume implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("volumeID") + private String volumeID; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVPortworxVolume() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVPortworxVolume(String fsType, Boolean readOnly, String volumeID) { + super(); + this.fsType = fsType; + this.readOnly = readOnly; + this.volumeID = volumeID; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("volumeID") + public String getVolumeID() { + return volumeID; + } + + @JsonProperty("volumeID") + public void setVolumeID(String volumeID) { + this.volumeID = volumeID; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVPortworxVolumeBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVPortworxVolumeBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVPortworxVolumeBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVProjected.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVProjected.java new file mode 100644 index 00000000000..191a1c11a28 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVProjected.java @@ -0,0 +1,126 @@ + +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({ + "defaultMode", + "sources" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVProjected implements Editable , KubernetesResource +{ + + @JsonProperty("defaultMode") + private Integer defaultMode; + @JsonProperty("sources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List sources = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVProjected() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVProjected(Integer defaultMode, List sources) { + super(); + this.defaultMode = defaultMode; + this.sources = sources; + } + + @JsonProperty("defaultMode") + public Integer getDefaultMode() { + return defaultMode; + } + + @JsonProperty("defaultMode") + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @JsonProperty("sources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSources() { + return sources; + } + + @JsonProperty("sources") + public void setSources(List sources) { + this.sources = sources; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVProjectedBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVProjectedBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVProjectedBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVQuobyte.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVQuobyte.java new file mode 100644 index 00000000000..7e3f1f8aade --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVQuobyte.java @@ -0,0 +1,178 @@ + +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({ + "group", + "readOnly", + "registry", + "tenant", + "user", + "volume" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVQuobyte implements Editable , KubernetesResource +{ + + @JsonProperty("group") + private String group; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("registry") + private String registry; + @JsonProperty("tenant") + private String tenant; + @JsonProperty("user") + private String user; + @JsonProperty("volume") + private String volume; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVQuobyte() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVQuobyte(String group, Boolean readOnly, String registry, String tenant, String user, String volume) { + super(); + this.group = group; + this.readOnly = readOnly; + this.registry = registry; + this.tenant = tenant; + this.user = user; + this.volume = volume; + } + + @JsonProperty("group") + public String getGroup() { + return group; + } + + @JsonProperty("group") + public void setGroup(String group) { + this.group = group; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("registry") + public String getRegistry() { + return registry; + } + + @JsonProperty("registry") + public void setRegistry(String registry) { + this.registry = registry; + } + + @JsonProperty("tenant") + public String getTenant() { + return tenant; + } + + @JsonProperty("tenant") + public void setTenant(String tenant) { + this.tenant = tenant; + } + + @JsonProperty("user") + public String getUser() { + return user; + } + + @JsonProperty("user") + public void setUser(String user) { + this.user = user; + } + + @JsonProperty("volume") + public String getVolume() { + return volume; + } + + @JsonProperty("volume") + public void setVolume(String volume) { + this.volume = volume; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVQuobyteBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVQuobyteBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVQuobyteBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVRSecretRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVRSecretRef.java new file mode 100644 index 00000000000..3e18965bc90 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVRSecretRef.java @@ -0,0 +1,108 @@ + +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({ + "name" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVRSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVRSecretRef() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVRSecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVRSecretRefBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVRSecretRefBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVRSecretRefBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVRbd.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVRbd.java new file mode 100644 index 00000000000..b70b999b1ab --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVRbd.java @@ -0,0 +1,210 @@ + +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({ + "fsType", + "image", + "keyring", + "monitors", + "pool", + "readOnly", + "secretRef", + "user" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVRbd implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("image") + private String image; + @JsonProperty("keyring") + private String keyring; + @JsonProperty("monitors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List monitors = new ArrayList<>(); + @JsonProperty("pool") + private String pool; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretRef") + private ClusterServiceVersionSpecISpecDSpecTSpecVRSecretRef secretRef; + @JsonProperty("user") + private String user; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVRbd() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVRbd(String fsType, String image, String keyring, List monitors, String pool, Boolean readOnly, ClusterServiceVersionSpecISpecDSpecTSpecVRSecretRef secretRef, String user) { + super(); + this.fsType = fsType; + this.image = image; + this.keyring = keyring; + this.monitors = monitors; + this.pool = pool; + this.readOnly = readOnly; + this.secretRef = secretRef; + this.user = user; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("image") + public String getImage() { + return image; + } + + @JsonProperty("image") + public void setImage(String image) { + this.image = image; + } + + @JsonProperty("keyring") + public String getKeyring() { + return keyring; + } + + @JsonProperty("keyring") + public void setKeyring(String keyring) { + this.keyring = keyring; + } + + @JsonProperty("monitors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMonitors() { + return monitors; + } + + @JsonProperty("monitors") + public void setMonitors(List monitors) { + this.monitors = monitors; + } + + @JsonProperty("pool") + public String getPool() { + return pool; + } + + @JsonProperty("pool") + public void setPool(String pool) { + this.pool = pool; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretRef") + public ClusterServiceVersionSpecISpecDSpecTSpecVRSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(ClusterServiceVersionSpecISpecDSpecTSpecVRSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonProperty("user") + public String getUser() { + return user; + } + + @JsonProperty("user") + public void setUser(String user) { + this.user = user; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVRbdBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVRbdBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVRbdBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVSISecretRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVSISecretRef.java new file mode 100644 index 00000000000..6739b915f95 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVSISecretRef.java @@ -0,0 +1,108 @@ + +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({ + "name" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVSISecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVSISecretRef() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVSISecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVSISecretRefBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVSISecretRefBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVSISecretRefBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVSItems.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVSItems.java new file mode 100644 index 00000000000..445f6ab0af2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVSItems.java @@ -0,0 +1,136 @@ + +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({ + "key", + "mode", + "path" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVSItems implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("mode") + private Integer mode; + @JsonProperty("path") + private String path; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVSItems() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVSItems(String key, Integer mode, String path) { + super(); + this.key = key; + this.mode = mode; + this.path = path; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("mode") + public Integer getMode() { + return mode; + } + + @JsonProperty("mode") + public void setMode(Integer mode) { + this.mode = mode; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVSItemsBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVSItemsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVSItemsBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVSSecretRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVSSecretRef.java new file mode 100644 index 00000000000..d972249a00d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVSSecretRef.java @@ -0,0 +1,108 @@ + +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({ + "name" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVSSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVSSecretRef() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVSSecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVSSecretRefBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVSSecretRefBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVSSecretRefBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVScaleIO.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVScaleIO.java new file mode 100644 index 00000000000..7d9dc0b7838 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVScaleIO.java @@ -0,0 +1,234 @@ + +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({ + "fsType", + "gateway", + "protectionDomain", + "readOnly", + "secretRef", + "sslEnabled", + "storageMode", + "storagePool", + "system", + "volumeName" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVScaleIO implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("gateway") + private String gateway; + @JsonProperty("protectionDomain") + private String protectionDomain; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretRef") + private ClusterServiceVersionSpecISpecDSpecTSpecVSISecretRef secretRef; + @JsonProperty("sslEnabled") + private Boolean sslEnabled; + @JsonProperty("storageMode") + private String storageMode; + @JsonProperty("storagePool") + private String storagePool; + @JsonProperty("system") + private String system; + @JsonProperty("volumeName") + private String volumeName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVScaleIO() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVScaleIO(String fsType, String gateway, String protectionDomain, Boolean readOnly, ClusterServiceVersionSpecISpecDSpecTSpecVSISecretRef secretRef, Boolean sslEnabled, String storageMode, String storagePool, String system, String volumeName) { + super(); + this.fsType = fsType; + this.gateway = gateway; + this.protectionDomain = protectionDomain; + this.readOnly = readOnly; + this.secretRef = secretRef; + this.sslEnabled = sslEnabled; + this.storageMode = storageMode; + this.storagePool = storagePool; + this.system = system; + this.volumeName = volumeName; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("gateway") + public String getGateway() { + return gateway; + } + + @JsonProperty("gateway") + public void setGateway(String gateway) { + this.gateway = gateway; + } + + @JsonProperty("protectionDomain") + public String getProtectionDomain() { + return protectionDomain; + } + + @JsonProperty("protectionDomain") + public void setProtectionDomain(String protectionDomain) { + this.protectionDomain = protectionDomain; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretRef") + public ClusterServiceVersionSpecISpecDSpecTSpecVSISecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(ClusterServiceVersionSpecISpecDSpecTSpecVSISecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonProperty("sslEnabled") + public Boolean getSslEnabled() { + return sslEnabled; + } + + @JsonProperty("sslEnabled") + public void setSslEnabled(Boolean sslEnabled) { + this.sslEnabled = sslEnabled; + } + + @JsonProperty("storageMode") + public String getStorageMode() { + return storageMode; + } + + @JsonProperty("storageMode") + public void setStorageMode(String storageMode) { + this.storageMode = storageMode; + } + + @JsonProperty("storagePool") + public String getStoragePool() { + return storagePool; + } + + @JsonProperty("storagePool") + public void setStoragePool(String storagePool) { + this.storagePool = storagePool; + } + + @JsonProperty("system") + public String getSystem() { + return system; + } + + @JsonProperty("system") + public void setSystem(String system) { + this.system = system; + } + + @JsonProperty("volumeName") + public String getVolumeName() { + return volumeName; + } + + @JsonProperty("volumeName") + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVScaleIOBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVScaleIOBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVScaleIOBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVSecret.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVSecret.java new file mode 100644 index 00000000000..08c11647045 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVSecret.java @@ -0,0 +1,154 @@ + +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({ + "defaultMode", + "items", + "optional", + "secretName" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVSecret implements Editable , KubernetesResource +{ + + @JsonProperty("defaultMode") + private Integer defaultMode; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + @JsonProperty("optional") + private Boolean optional; + @JsonProperty("secretName") + private String secretName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVSecret() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVSecret(Integer defaultMode, List items, Boolean optional, String secretName) { + super(); + this.defaultMode = defaultMode; + this.items = items; + this.optional = optional; + this.secretName = secretName; + } + + @JsonProperty("defaultMode") + public Integer getDefaultMode() { + return defaultMode; + } + + @JsonProperty("defaultMode") + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonProperty("secretName") + public String getSecretName() { + return secretName; + } + + @JsonProperty("secretName") + public void setSecretName(String secretName) { + this.secretName = secretName; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVSecretBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVSecretBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVSecretBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVStorageos.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVStorageos.java new file mode 100644 index 00000000000..562a8ff6ff6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVStorageos.java @@ -0,0 +1,164 @@ + +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({ + "fsType", + "readOnly", + "secretRef", + "volumeName", + "volumeNamespace" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVStorageos implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretRef") + private ClusterServiceVersionSpecISpecDSpecTSpecVSSecretRef secretRef; + @JsonProperty("volumeName") + private String volumeName; + @JsonProperty("volumeNamespace") + private String volumeNamespace; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVStorageos() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVStorageos(String fsType, Boolean readOnly, ClusterServiceVersionSpecISpecDSpecTSpecVSSecretRef secretRef, String volumeName, String volumeNamespace) { + super(); + this.fsType = fsType; + this.readOnly = readOnly; + this.secretRef = secretRef; + this.volumeName = volumeName; + this.volumeNamespace = volumeNamespace; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretRef") + public ClusterServiceVersionSpecISpecDSpecTSpecVSSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(ClusterServiceVersionSpecISpecDSpecTSpecVSSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonProperty("volumeName") + public String getVolumeName() { + return volumeName; + } + + @JsonProperty("volumeName") + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } + + @JsonProperty("volumeNamespace") + public String getVolumeNamespace() { + return volumeNamespace; + } + + @JsonProperty("volumeNamespace") + public void setVolumeNamespace(String volumeNamespace) { + this.volumeNamespace = volumeNamespace; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVStorageosBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVStorageosBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVStorageosBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVVsphereVolume.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVVsphereVolume.java new file mode 100644 index 00000000000..823ae17ed91 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVVsphereVolume.java @@ -0,0 +1,150 @@ + +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({ + "fsType", + "storagePolicyID", + "storagePolicyName", + "volumePath" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVVsphereVolume implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("storagePolicyID") + private String storagePolicyID; + @JsonProperty("storagePolicyName") + private String storagePolicyName; + @JsonProperty("volumePath") + private String volumePath; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVVsphereVolume() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVVsphereVolume(String fsType, String storagePolicyID, String storagePolicyName, String volumePath) { + super(); + this.fsType = fsType; + this.storagePolicyID = storagePolicyID; + this.storagePolicyName = storagePolicyName; + this.volumePath = volumePath; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("storagePolicyID") + public String getStoragePolicyID() { + return storagePolicyID; + } + + @JsonProperty("storagePolicyID") + public void setStoragePolicyID(String storagePolicyID) { + this.storagePolicyID = storagePolicyID; + } + + @JsonProperty("storagePolicyName") + public String getStoragePolicyName() { + return storagePolicyName; + } + + @JsonProperty("storagePolicyName") + public void setStoragePolicyName(String storagePolicyName) { + this.storagePolicyName = storagePolicyName; + } + + @JsonProperty("volumePath") + public String getVolumePath() { + return volumePath; + } + + @JsonProperty("volumePath") + public void setVolumePath(String volumePath) { + this.volumePath = volumePath; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVVsphereVolumeBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVVsphereVolumeBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVVsphereVolumeBuilder 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/ClusterServiceVersionSpecISpecDSpecTSpecVolumes.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVolumes.java new file mode 100644 index 00000000000..6ae30cf8643 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTSpecVolumes.java @@ -0,0 +1,514 @@ + +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({ + "awsElasticBlockStore", + "azureDisk", + "azureFile", + "cephfs", + "cinder", + "configMap", + "csi", + "downwardAPI", + "emptyDir", + "ephemeral", + "fc", + "flexVolume", + "flocker", + "gcePersistentDisk", + "gitRepo", + "glusterfs", + "hostPath", + "iscsi", + "name", + "nfs", + "persistentVolumeClaim", + "photonPersistentDisk", + "portworxVolume", + "projected", + "quobyte", + "rbd", + "scaleIO", + "secret", + "storageos", + "vsphereVolume" +}) +@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 ClusterServiceVersionSpecISpecDSpecTSpecVolumes implements Editable , KubernetesResource +{ + + @JsonProperty("awsElasticBlockStore") + private ClusterServiceVersionSpecISpecDSpecTSpecVAwsElasticBlockStore awsElasticBlockStore; + @JsonProperty("azureDisk") + private ClusterServiceVersionSpecISpecDSpecTSpecVAzureDisk azureDisk; + @JsonProperty("azureFile") + private ClusterServiceVersionSpecISpecDSpecTSpecVAzureFile azureFile; + @JsonProperty("cephfs") + private ClusterServiceVersionSpecISpecDSpecTSpecVCephfs cephfs; + @JsonProperty("cinder") + private ClusterServiceVersionSpecISpecDSpecTSpecVCinder cinder; + @JsonProperty("configMap") + private ClusterServiceVersionSpecISpecDSpecTSpecVConfigMap configMap; + @JsonProperty("csi") + private ClusterServiceVersionSpecISpecDSpecTSpecVCsi csi; + @JsonProperty("downwardAPI") + private ClusterServiceVersionSpecISpecDSpecTSpecVDownwardAPI downwardAPI; + @JsonProperty("emptyDir") + private ClusterServiceVersionSpecISpecDSpecTSpecVEmptyDir emptyDir; + @JsonProperty("ephemeral") + private ClusterServiceVersionSpecISpecDSpecTSpecVEphemeral ephemeral; + @JsonProperty("fc") + private ClusterServiceVersionSpecISpecDSpecTSpecVFc fc; + @JsonProperty("flexVolume") + private ClusterServiceVersionSpecISpecDSpecTSpecVFlexVolume flexVolume; + @JsonProperty("flocker") + private ClusterServiceVersionSpecISpecDSpecTSpecVFlocker flocker; + @JsonProperty("gcePersistentDisk") + private ClusterServiceVersionSpecISpecDSpecTSpecVGcePersistentDisk gcePersistentDisk; + @JsonProperty("gitRepo") + private ClusterServiceVersionSpecISpecDSpecTSpecVGitRepo gitRepo; + @JsonProperty("glusterfs") + private ClusterServiceVersionSpecISpecDSpecTSpecVGlusterfs glusterfs; + @JsonProperty("hostPath") + private ClusterServiceVersionSpecISpecDSpecTSpecVHostPath hostPath; + @JsonProperty("iscsi") + private ClusterServiceVersionSpecISpecDSpecTSpecVIscsi iscsi; + @JsonProperty("name") + private String name; + @JsonProperty("nfs") + private ClusterServiceVersionSpecISpecDSpecTSpecVNfs nfs; + @JsonProperty("persistentVolumeClaim") + private ClusterServiceVersionSpecISpecDSpecTSpecVPersistentVolumeClaim persistentVolumeClaim; + @JsonProperty("photonPersistentDisk") + private ClusterServiceVersionSpecISpecDSpecTSpecVPhotonPersistentDisk photonPersistentDisk; + @JsonProperty("portworxVolume") + private ClusterServiceVersionSpecISpecDSpecTSpecVPortworxVolume portworxVolume; + @JsonProperty("projected") + private ClusterServiceVersionSpecISpecDSpecTSpecVProjected projected; + @JsonProperty("quobyte") + private ClusterServiceVersionSpecISpecDSpecTSpecVQuobyte quobyte; + @JsonProperty("rbd") + private ClusterServiceVersionSpecISpecDSpecTSpecVRbd rbd; + @JsonProperty("scaleIO") + private ClusterServiceVersionSpecISpecDSpecTSpecVScaleIO scaleIO; + @JsonProperty("secret") + private ClusterServiceVersionSpecISpecDSpecTSpecVSecret secret; + @JsonProperty("storageos") + private ClusterServiceVersionSpecISpecDSpecTSpecVStorageos storageos; + @JsonProperty("vsphereVolume") + private ClusterServiceVersionSpecISpecDSpecTSpecVVsphereVolume vsphereVolume; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTSpecVolumes() { + } + + public ClusterServiceVersionSpecISpecDSpecTSpecVolumes(ClusterServiceVersionSpecISpecDSpecTSpecVAwsElasticBlockStore awsElasticBlockStore, ClusterServiceVersionSpecISpecDSpecTSpecVAzureDisk azureDisk, ClusterServiceVersionSpecISpecDSpecTSpecVAzureFile azureFile, ClusterServiceVersionSpecISpecDSpecTSpecVCephfs cephfs, ClusterServiceVersionSpecISpecDSpecTSpecVCinder cinder, ClusterServiceVersionSpecISpecDSpecTSpecVConfigMap configMap, ClusterServiceVersionSpecISpecDSpecTSpecVCsi csi, ClusterServiceVersionSpecISpecDSpecTSpecVDownwardAPI downwardAPI, ClusterServiceVersionSpecISpecDSpecTSpecVEmptyDir emptyDir, ClusterServiceVersionSpecISpecDSpecTSpecVEphemeral ephemeral, ClusterServiceVersionSpecISpecDSpecTSpecVFc fc, ClusterServiceVersionSpecISpecDSpecTSpecVFlexVolume flexVolume, ClusterServiceVersionSpecISpecDSpecTSpecVFlocker flocker, ClusterServiceVersionSpecISpecDSpecTSpecVGcePersistentDisk gcePersistentDisk, ClusterServiceVersionSpecISpecDSpecTSpecVGitRepo gitRepo, ClusterServiceVersionSpecISpecDSpecTSpecVGlusterfs glusterfs, ClusterServiceVersionSpecISpecDSpecTSpecVHostPath hostPath, ClusterServiceVersionSpecISpecDSpecTSpecVIscsi iscsi, String name, ClusterServiceVersionSpecISpecDSpecTSpecVNfs nfs, ClusterServiceVersionSpecISpecDSpecTSpecVPersistentVolumeClaim persistentVolumeClaim, ClusterServiceVersionSpecISpecDSpecTSpecVPhotonPersistentDisk photonPersistentDisk, ClusterServiceVersionSpecISpecDSpecTSpecVPortworxVolume portworxVolume, ClusterServiceVersionSpecISpecDSpecTSpecVProjected projected, ClusterServiceVersionSpecISpecDSpecTSpecVQuobyte quobyte, ClusterServiceVersionSpecISpecDSpecTSpecVRbd rbd, ClusterServiceVersionSpecISpecDSpecTSpecVScaleIO scaleIO, ClusterServiceVersionSpecISpecDSpecTSpecVSecret secret, ClusterServiceVersionSpecISpecDSpecTSpecVStorageos storageos, ClusterServiceVersionSpecISpecDSpecTSpecVVsphereVolume vsphereVolume) { + super(); + this.awsElasticBlockStore = awsElasticBlockStore; + this.azureDisk = azureDisk; + this.azureFile = azureFile; + this.cephfs = cephfs; + this.cinder = cinder; + this.configMap = configMap; + this.csi = csi; + this.downwardAPI = downwardAPI; + this.emptyDir = emptyDir; + this.ephemeral = ephemeral; + this.fc = fc; + this.flexVolume = flexVolume; + this.flocker = flocker; + this.gcePersistentDisk = gcePersistentDisk; + this.gitRepo = gitRepo; + this.glusterfs = glusterfs; + this.hostPath = hostPath; + this.iscsi = iscsi; + this.name = name; + this.nfs = nfs; + this.persistentVolumeClaim = persistentVolumeClaim; + this.photonPersistentDisk = photonPersistentDisk; + this.portworxVolume = portworxVolume; + this.projected = projected; + this.quobyte = quobyte; + this.rbd = rbd; + this.scaleIO = scaleIO; + this.secret = secret; + this.storageos = storageos; + this.vsphereVolume = vsphereVolume; + } + + @JsonProperty("awsElasticBlockStore") + public ClusterServiceVersionSpecISpecDSpecTSpecVAwsElasticBlockStore getAwsElasticBlockStore() { + return awsElasticBlockStore; + } + + @JsonProperty("awsElasticBlockStore") + public void setAwsElasticBlockStore(ClusterServiceVersionSpecISpecDSpecTSpecVAwsElasticBlockStore awsElasticBlockStore) { + this.awsElasticBlockStore = awsElasticBlockStore; + } + + @JsonProperty("azureDisk") + public ClusterServiceVersionSpecISpecDSpecTSpecVAzureDisk getAzureDisk() { + return azureDisk; + } + + @JsonProperty("azureDisk") + public void setAzureDisk(ClusterServiceVersionSpecISpecDSpecTSpecVAzureDisk azureDisk) { + this.azureDisk = azureDisk; + } + + @JsonProperty("azureFile") + public ClusterServiceVersionSpecISpecDSpecTSpecVAzureFile getAzureFile() { + return azureFile; + } + + @JsonProperty("azureFile") + public void setAzureFile(ClusterServiceVersionSpecISpecDSpecTSpecVAzureFile azureFile) { + this.azureFile = azureFile; + } + + @JsonProperty("cephfs") + public ClusterServiceVersionSpecISpecDSpecTSpecVCephfs getCephfs() { + return cephfs; + } + + @JsonProperty("cephfs") + public void setCephfs(ClusterServiceVersionSpecISpecDSpecTSpecVCephfs cephfs) { + this.cephfs = cephfs; + } + + @JsonProperty("cinder") + public ClusterServiceVersionSpecISpecDSpecTSpecVCinder getCinder() { + return cinder; + } + + @JsonProperty("cinder") + public void setCinder(ClusterServiceVersionSpecISpecDSpecTSpecVCinder cinder) { + this.cinder = cinder; + } + + @JsonProperty("configMap") + public ClusterServiceVersionSpecISpecDSpecTSpecVConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(ClusterServiceVersionSpecISpecDSpecTSpecVConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("csi") + public ClusterServiceVersionSpecISpecDSpecTSpecVCsi getCsi() { + return csi; + } + + @JsonProperty("csi") + public void setCsi(ClusterServiceVersionSpecISpecDSpecTSpecVCsi csi) { + this.csi = csi; + } + + @JsonProperty("downwardAPI") + public ClusterServiceVersionSpecISpecDSpecTSpecVDownwardAPI getDownwardAPI() { + return downwardAPI; + } + + @JsonProperty("downwardAPI") + public void setDownwardAPI(ClusterServiceVersionSpecISpecDSpecTSpecVDownwardAPI downwardAPI) { + this.downwardAPI = downwardAPI; + } + + @JsonProperty("emptyDir") + public ClusterServiceVersionSpecISpecDSpecTSpecVEmptyDir getEmptyDir() { + return emptyDir; + } + + @JsonProperty("emptyDir") + public void setEmptyDir(ClusterServiceVersionSpecISpecDSpecTSpecVEmptyDir emptyDir) { + this.emptyDir = emptyDir; + } + + @JsonProperty("ephemeral") + public ClusterServiceVersionSpecISpecDSpecTSpecVEphemeral getEphemeral() { + return ephemeral; + } + + @JsonProperty("ephemeral") + public void setEphemeral(ClusterServiceVersionSpecISpecDSpecTSpecVEphemeral ephemeral) { + this.ephemeral = ephemeral; + } + + @JsonProperty("fc") + public ClusterServiceVersionSpecISpecDSpecTSpecVFc getFc() { + return fc; + } + + @JsonProperty("fc") + public void setFc(ClusterServiceVersionSpecISpecDSpecTSpecVFc fc) { + this.fc = fc; + } + + @JsonProperty("flexVolume") + public ClusterServiceVersionSpecISpecDSpecTSpecVFlexVolume getFlexVolume() { + return flexVolume; + } + + @JsonProperty("flexVolume") + public void setFlexVolume(ClusterServiceVersionSpecISpecDSpecTSpecVFlexVolume flexVolume) { + this.flexVolume = flexVolume; + } + + @JsonProperty("flocker") + public ClusterServiceVersionSpecISpecDSpecTSpecVFlocker getFlocker() { + return flocker; + } + + @JsonProperty("flocker") + public void setFlocker(ClusterServiceVersionSpecISpecDSpecTSpecVFlocker flocker) { + this.flocker = flocker; + } + + @JsonProperty("gcePersistentDisk") + public ClusterServiceVersionSpecISpecDSpecTSpecVGcePersistentDisk getGcePersistentDisk() { + return gcePersistentDisk; + } + + @JsonProperty("gcePersistentDisk") + public void setGcePersistentDisk(ClusterServiceVersionSpecISpecDSpecTSpecVGcePersistentDisk gcePersistentDisk) { + this.gcePersistentDisk = gcePersistentDisk; + } + + @JsonProperty("gitRepo") + public ClusterServiceVersionSpecISpecDSpecTSpecVGitRepo getGitRepo() { + return gitRepo; + } + + @JsonProperty("gitRepo") + public void setGitRepo(ClusterServiceVersionSpecISpecDSpecTSpecVGitRepo gitRepo) { + this.gitRepo = gitRepo; + } + + @JsonProperty("glusterfs") + public ClusterServiceVersionSpecISpecDSpecTSpecVGlusterfs getGlusterfs() { + return glusterfs; + } + + @JsonProperty("glusterfs") + public void setGlusterfs(ClusterServiceVersionSpecISpecDSpecTSpecVGlusterfs glusterfs) { + this.glusterfs = glusterfs; + } + + @JsonProperty("hostPath") + public ClusterServiceVersionSpecISpecDSpecTSpecVHostPath getHostPath() { + return hostPath; + } + + @JsonProperty("hostPath") + public void setHostPath(ClusterServiceVersionSpecISpecDSpecTSpecVHostPath hostPath) { + this.hostPath = hostPath; + } + + @JsonProperty("iscsi") + public ClusterServiceVersionSpecISpecDSpecTSpecVIscsi getIscsi() { + return iscsi; + } + + @JsonProperty("iscsi") + public void setIscsi(ClusterServiceVersionSpecISpecDSpecTSpecVIscsi iscsi) { + this.iscsi = iscsi; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("nfs") + public ClusterServiceVersionSpecISpecDSpecTSpecVNfs getNfs() { + return nfs; + } + + @JsonProperty("nfs") + public void setNfs(ClusterServiceVersionSpecISpecDSpecTSpecVNfs nfs) { + this.nfs = nfs; + } + + @JsonProperty("persistentVolumeClaim") + public ClusterServiceVersionSpecISpecDSpecTSpecVPersistentVolumeClaim getPersistentVolumeClaim() { + return persistentVolumeClaim; + } + + @JsonProperty("persistentVolumeClaim") + public void setPersistentVolumeClaim(ClusterServiceVersionSpecISpecDSpecTSpecVPersistentVolumeClaim persistentVolumeClaim) { + this.persistentVolumeClaim = persistentVolumeClaim; + } + + @JsonProperty("photonPersistentDisk") + public ClusterServiceVersionSpecISpecDSpecTSpecVPhotonPersistentDisk getPhotonPersistentDisk() { + return photonPersistentDisk; + } + + @JsonProperty("photonPersistentDisk") + public void setPhotonPersistentDisk(ClusterServiceVersionSpecISpecDSpecTSpecVPhotonPersistentDisk photonPersistentDisk) { + this.photonPersistentDisk = photonPersistentDisk; + } + + @JsonProperty("portworxVolume") + public ClusterServiceVersionSpecISpecDSpecTSpecVPortworxVolume getPortworxVolume() { + return portworxVolume; + } + + @JsonProperty("portworxVolume") + public void setPortworxVolume(ClusterServiceVersionSpecISpecDSpecTSpecVPortworxVolume portworxVolume) { + this.portworxVolume = portworxVolume; + } + + @JsonProperty("projected") + public ClusterServiceVersionSpecISpecDSpecTSpecVProjected getProjected() { + return projected; + } + + @JsonProperty("projected") + public void setProjected(ClusterServiceVersionSpecISpecDSpecTSpecVProjected projected) { + this.projected = projected; + } + + @JsonProperty("quobyte") + public ClusterServiceVersionSpecISpecDSpecTSpecVQuobyte getQuobyte() { + return quobyte; + } + + @JsonProperty("quobyte") + public void setQuobyte(ClusterServiceVersionSpecISpecDSpecTSpecVQuobyte quobyte) { + this.quobyte = quobyte; + } + + @JsonProperty("rbd") + public ClusterServiceVersionSpecISpecDSpecTSpecVRbd getRbd() { + return rbd; + } + + @JsonProperty("rbd") + public void setRbd(ClusterServiceVersionSpecISpecDSpecTSpecVRbd rbd) { + this.rbd = rbd; + } + + @JsonProperty("scaleIO") + public ClusterServiceVersionSpecISpecDSpecTSpecVScaleIO getScaleIO() { + return scaleIO; + } + + @JsonProperty("scaleIO") + public void setScaleIO(ClusterServiceVersionSpecISpecDSpecTSpecVScaleIO scaleIO) { + this.scaleIO = scaleIO; + } + + @JsonProperty("secret") + public ClusterServiceVersionSpecISpecDSpecTSpecVSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(ClusterServiceVersionSpecISpecDSpecTSpecVSecret secret) { + this.secret = secret; + } + + @JsonProperty("storageos") + public ClusterServiceVersionSpecISpecDSpecTSpecVStorageos getStorageos() { + return storageos; + } + + @JsonProperty("storageos") + public void setStorageos(ClusterServiceVersionSpecISpecDSpecTSpecVStorageos storageos) { + this.storageos = storageos; + } + + @JsonProperty("vsphereVolume") + public ClusterServiceVersionSpecISpecDSpecTSpecVVsphereVolume getVsphereVolume() { + return vsphereVolume; + } + + @JsonProperty("vsphereVolume") + public void setVsphereVolume(ClusterServiceVersionSpecISpecDSpecTSpecVVsphereVolume vsphereVolume) { + this.vsphereVolume = vsphereVolume; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVolumesBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTSpecVolumesBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTSpecVolumesBuilder 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/ClusterServiceVersionSpecISpecDSpecTemplate.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTemplate.java new file mode 100644 index 00000000000..48fac7e3952 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDSpecTemplate.java @@ -0,0 +1,124 @@ + +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({ + "metadata", + "spec" +}) +@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 ClusterServiceVersionSpecISpecDSpecTemplate implements Editable , KubernetesResource +{ + + @JsonProperty("metadata") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object metadata; + @JsonProperty("spec") + private ClusterServiceVersionSpecISpecDSpecTSpec spec; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecDSpecTemplate() { + } + + public ClusterServiceVersionSpecISpecDSpecTemplate(Object metadata, ClusterServiceVersionSpecISpecDSpecTSpec spec) { + super(); + this.metadata = metadata; + this.spec = spec; + } + + @JsonProperty("metadata") + public Object getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setMetadata(Object metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public ClusterServiceVersionSpecISpecDSpecTSpec getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(ClusterServiceVersionSpecISpecDSpecTSpec spec) { + this.spec = spec; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTemplateBuilder edit() { + return new ClusterServiceVersionSpecISpecDSpecTemplateBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecDSpecTemplateBuilder 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/StrategyDeploymentSpec.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDeployments.java similarity index 83% rename from kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/StrategyDeploymentSpec.java rename to kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDeployments.java index 393249e087a..53ba1a2a354 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/StrategyDeploymentSpec.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecDeployments.java @@ -22,7 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.apps.DeploymentSpec; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,7 +53,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StrategyDeploymentSpec implements Editable , KubernetesResource +public class ClusterServiceVersionSpecISpecDeployments implements Editable , KubernetesResource { @JsonProperty("label") @@ -63,7 +62,7 @@ public class StrategyDeploymentSpec implements Editable additionalProperties = new LinkedHashMap(); @@ -71,10 +70,10 @@ public class StrategyDeploymentSpec implements Editable label, String name, DeploymentSpec spec) { + public ClusterServiceVersionSpecISpecDeployments(Map label, String name, ClusterServiceVersionSpecISpecDSpec spec) { super(); this.label = label; this.name = name; @@ -103,22 +102,22 @@ public void setName(String name) { } @JsonProperty("spec") - public DeploymentSpec getSpec() { + public ClusterServiceVersionSpecISpecDSpec getSpec() { return spec; } @JsonProperty("spec") - public void setSpec(DeploymentSpec spec) { + public void setSpec(ClusterServiceVersionSpecISpecDSpec spec) { this.spec = spec; } @JsonIgnore - public StrategyDeploymentSpecBuilder edit() { - return new StrategyDeploymentSpecBuilder(this); + public ClusterServiceVersionSpecISpecDeploymentsBuilder edit() { + return new ClusterServiceVersionSpecISpecDeploymentsBuilder(this); } @JsonIgnore - public StrategyDeploymentSpecBuilder toBuilder() { + public ClusterServiceVersionSpecISpecDeploymentsBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecPRules.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecPRules.java new file mode 100644 index 00000000000..071d42b58d0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecPRules.java @@ -0,0 +1,176 @@ + +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({ + "apiGroups", + "nonResourceURLs", + "resourceNames", + "resources", + "verbs" +}) +@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 ClusterServiceVersionSpecISpecPRules implements Editable , KubernetesResource +{ + + @JsonProperty("apiGroups") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List apiGroups = new ArrayList<>(); + @JsonProperty("nonResourceURLs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List nonResourceURLs = new ArrayList<>(); + @JsonProperty("resourceNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List resourceNames = new ArrayList<>(); + @JsonProperty("resources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List resources = new ArrayList<>(); + @JsonProperty("verbs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List verbs = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecISpecPRules() { + } + + public ClusterServiceVersionSpecISpecPRules(List apiGroups, List nonResourceURLs, List resourceNames, List resources, List verbs) { + super(); + this.apiGroups = apiGroups; + this.nonResourceURLs = nonResourceURLs; + this.resourceNames = resourceNames; + this.resources = resources; + this.verbs = verbs; + } + + @JsonProperty("apiGroups") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getApiGroups() { + return apiGroups; + } + + @JsonProperty("apiGroups") + public void setApiGroups(List apiGroups) { + this.apiGroups = apiGroups; + } + + @JsonProperty("nonResourceURLs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNonResourceURLs() { + return nonResourceURLs; + } + + @JsonProperty("nonResourceURLs") + public void setNonResourceURLs(List nonResourceURLs) { + this.nonResourceURLs = nonResourceURLs; + } + + @JsonProperty("resourceNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResourceNames() { + return resourceNames; + } + + @JsonProperty("resourceNames") + public void setResourceNames(List resourceNames) { + this.resourceNames = resourceNames; + } + + @JsonProperty("resources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResources() { + return resources; + } + + @JsonProperty("resources") + public void setResources(List resources) { + this.resources = resources; + } + + @JsonProperty("verbs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getVerbs() { + return verbs; + } + + @JsonProperty("verbs") + public void setVerbs(List verbs) { + this.verbs = verbs; + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecPRulesBuilder edit() { + return new ClusterServiceVersionSpecISpecPRulesBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecISpecPRulesBuilder 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/StrategyDeploymentPermissions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecPermissions.java similarity index 82% rename from kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/StrategyDeploymentPermissions.java rename to kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecPermissions.java index cae74b56b52..b4747a93383 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/StrategyDeploymentPermissions.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecISpecPermissions.java @@ -24,7 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.rbac.PolicyRule; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -55,12 +54,12 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StrategyDeploymentPermissions implements Editable , KubernetesResource +public class ClusterServiceVersionSpecISpecPermissions implements Editable , KubernetesResource { @JsonProperty("rules") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List rules = new ArrayList<>(); + private List rules = new ArrayList<>(); @JsonProperty("serviceAccountName") private String serviceAccountName; @JsonIgnore @@ -70,10 +69,10 @@ public class StrategyDeploymentPermissions implements Editable rules, String serviceAccountName) { + public ClusterServiceVersionSpecISpecPermissions(List rules, String serviceAccountName) { super(); this.rules = rules; this.serviceAccountName = serviceAccountName; @@ -81,12 +80,12 @@ public StrategyDeploymentPermissions(List rules, String serviceAccou @JsonProperty("rules") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getRules() { + public List getRules() { return rules; } @JsonProperty("rules") - public void setRules(List rules) { + public void setRules(List rules) { this.rules = rules; } @@ -101,12 +100,12 @@ public void setServiceAccountName(String serviceAccountName) { } @JsonIgnore - public StrategyDeploymentPermissionsBuilder edit() { - return new StrategyDeploymentPermissionsBuilder(this); + public ClusterServiceVersionSpecISpecPermissionsBuilder edit() { + return new ClusterServiceVersionSpecISpecPermissionsBuilder(this); } @JsonIgnore - public StrategyDeploymentPermissionsBuilder toBuilder() { + public ClusterServiceVersionSpecISpecPermissionsBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecIcon.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecIcon.java new file mode 100644 index 00000000000..1dda18b7d8c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecIcon.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({ + "base64data", + "mediatype" +}) +@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 ClusterServiceVersionSpecIcon implements Editable , KubernetesResource +{ + + @JsonProperty("base64data") + private String base64data; + @JsonProperty("mediatype") + private String mediatype; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecIcon() { + } + + public ClusterServiceVersionSpecIcon(String base64data, String mediatype) { + super(); + this.base64data = base64data; + this.mediatype = mediatype; + } + + @JsonProperty("base64data") + public String getBase64data() { + return base64data; + } + + @JsonProperty("base64data") + public void setBase64data(String base64data) { + this.base64data = base64data; + } + + @JsonProperty("mediatype") + public String getMediatype() { + return mediatype; + } + + @JsonProperty("mediatype") + public void setMediatype(String mediatype) { + this.mediatype = mediatype; + } + + @JsonIgnore + public ClusterServiceVersionSpecIconBuilder edit() { + return new ClusterServiceVersionSpecIconBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecIconBuilder 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/NamedInstallStrategy.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecInstall.java similarity index 84% rename from kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/NamedInstallStrategy.java rename to kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecInstall.java index 05cadb354b2..7e2ecba9df0 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/NamedInstallStrategy.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecInstall.java @@ -52,11 +52,11 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NamedInstallStrategy implements Editable , KubernetesResource +public class ClusterServiceVersionSpecInstall implements Editable , KubernetesResource { @JsonProperty("spec") - private StrategyDetailsDeployment spec; + private ClusterServiceVersionSpecISpec spec; @JsonProperty("strategy") private String strategy; @JsonIgnore @@ -66,22 +66,22 @@ public class NamedInstallStrategy implements Editable , KubernetesResource +{ + + @JsonProperty("supported") + private Boolean supported; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecInstallModes() { + } + + public ClusterServiceVersionSpecInstallModes(Boolean supported, String type) { + super(); + this.supported = supported; + this.type = type; + } + + @JsonProperty("supported") + public Boolean getSupported() { + return supported; + } + + @JsonProperty("supported") + public void setSupported(Boolean supported) { + this.supported = supported; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public ClusterServiceVersionSpecInstallModesBuilder edit() { + return new ClusterServiceVersionSpecInstallModesBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecInstallModesBuilder 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/AppLink.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecLinks.java similarity index 89% rename from kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/AppLink.java rename to kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecLinks.java index a0c9a2c7fc0..26e3119ae72 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/AppLink.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecLinks.java @@ -52,7 +52,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AppLink implements Editable , KubernetesResource +public class ClusterServiceVersionSpecLinks implements Editable , KubernetesResource { @JsonProperty("name") @@ -66,10 +66,10 @@ public class AppLink implements Editable , KubernetesResource * No args constructor for use in serialization * */ - public AppLink() { + public ClusterServiceVersionSpecLinks() { } - public AppLink(String name, String url) { + public ClusterServiceVersionSpecLinks(String name, String url) { super(); this.name = name; this.url = url; @@ -96,12 +96,12 @@ public void setUrl(String url) { } @JsonIgnore - public AppLinkBuilder edit() { - return new AppLinkBuilder(this); + public ClusterServiceVersionSpecLinksBuilder edit() { + return new ClusterServiceVersionSpecLinksBuilder(this); } @JsonIgnore - public AppLinkBuilder toBuilder() { + public ClusterServiceVersionSpecLinksBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/Maintainer.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecMaintainers.java similarity index 88% rename from kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/Maintainer.java rename to kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecMaintainers.java index 7f72dba1503..7a8b6daaeac 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/Maintainer.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecMaintainers.java @@ -52,7 +52,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Maintainer implements Editable , KubernetesResource +public class ClusterServiceVersionSpecMaintainers implements Editable , KubernetesResource { @JsonProperty("email") @@ -66,10 +66,10 @@ public class Maintainer implements Editable , KubernetesResou * No args constructor for use in serialization * */ - public Maintainer() { + public ClusterServiceVersionSpecMaintainers() { } - public Maintainer(String email, String name) { + public ClusterServiceVersionSpecMaintainers(String email, String name) { super(); this.email = email; this.name = name; @@ -96,12 +96,12 @@ public void setName(String name) { } @JsonIgnore - public MaintainerBuilder edit() { - return new MaintainerBuilder(this); + public ClusterServiceVersionSpecMaintainersBuilder edit() { + return new ClusterServiceVersionSpecMaintainersBuilder(this); } @JsonIgnore - public MaintainerBuilder toBuilder() { + public ClusterServiceVersionSpecMaintainersBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecNativeAPIs.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecNativeAPIs.java new file mode 100644 index 00000000000..093baea585c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecNativeAPIs.java @@ -0,0 +1,136 @@ + +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({ + "kind", + "group", + "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 ClusterServiceVersionSpecNativeAPIs implements Editable , KubernetesResource +{ + + @JsonProperty("group") + private String group; + @JsonProperty("kind") + private String kind; + @JsonProperty("version") + private String version; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecNativeAPIs() { + } + + public ClusterServiceVersionSpecNativeAPIs(String group, String kind, String version) { + super(); + this.group = group; + this.kind = kind; + this.version = version; + } + + @JsonProperty("group") + public String getGroup() { + return group; + } + + @JsonProperty("group") + public void setGroup(String group) { + this.group = group; + } + + @JsonProperty("kind") + public String getKind() { + return kind; + } + + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("version") + public String getVersion() { + return version; + } + + @JsonProperty("version") + public void setVersion(String version) { + this.version = version; + } + + @JsonIgnore + public ClusterServiceVersionSpecNativeAPIsBuilder edit() { + return new ClusterServiceVersionSpecNativeAPIsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecNativeAPIsBuilder 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/ClusterServiceVersionSpecProvider.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecProvider.java new file mode 100644 index 00000000000..87dde4b1fda --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecProvider.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({ + "name", + "url" +}) +@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 ClusterServiceVersionSpecProvider implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("url") + private String url; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecProvider() { + } + + public ClusterServiceVersionSpecProvider(String name, String url) { + super(); + this.name = name; + this.url = url; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("url") + public String getUrl() { + return url; + } + + @JsonProperty("url") + public void setUrl(String url) { + this.url = url; + } + + @JsonIgnore + public ClusterServiceVersionSpecProviderBuilder edit() { + return new ClusterServiceVersionSpecProviderBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecProviderBuilder 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/RelatedImage.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecRelatedImages.java similarity index 87% rename from kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/RelatedImage.java rename to kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecRelatedImages.java index c087fba40f7..ee35bc569d3 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/RelatedImage.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecRelatedImages.java @@ -52,7 +52,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RelatedImage implements Editable , KubernetesResource +public class ClusterServiceVersionSpecRelatedImages implements Editable , KubernetesResource { @JsonProperty("image") @@ -66,10 +66,10 @@ public class RelatedImage implements Editable , KubernetesR * No args constructor for use in serialization * */ - public RelatedImage() { + public ClusterServiceVersionSpecRelatedImages() { } - public RelatedImage(String image, String name) { + public ClusterServiceVersionSpecRelatedImages(String image, String name) { super(); this.image = image; this.name = name; @@ -96,12 +96,12 @@ public void setName(String name) { } @JsonIgnore - public RelatedImageBuilder edit() { - return new RelatedImageBuilder(this); + public ClusterServiceVersionSpecRelatedImagesBuilder edit() { + return new ClusterServiceVersionSpecRelatedImagesBuilder(this); } @JsonIgnore - public RelatedImageBuilder toBuilder() { + public ClusterServiceVersionSpecRelatedImagesBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecSMatchExpressions.java new file mode 100644 index 00000000000..92e46a5f1fe --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecSMatchExpressions.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 ClusterServiceVersionSpecSMatchExpressions 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 ClusterServiceVersionSpecSMatchExpressions() { + } + + public ClusterServiceVersionSpecSMatchExpressions(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 ClusterServiceVersionSpecSMatchExpressionsBuilder edit() { + return new ClusterServiceVersionSpecSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecSMatchExpressionsBuilder 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/ClusterServiceVersionSpecSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecSelector.java new file mode 100644 index 00000000000..f45de322327 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecSelector.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", + "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 ClusterServiceVersionSpecSelector 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 ClusterServiceVersionSpecSelector() { + } + + public ClusterServiceVersionSpecSelector(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 ClusterServiceVersionSpecSelectorBuilder edit() { + return new ClusterServiceVersionSpecSelectorBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecSelectorBuilder 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/ClusterServiceVersionSpecWOSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecWOSMatchExpressions.java new file mode 100644 index 00000000000..5960ab4fd2c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecWOSMatchExpressions.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 ClusterServiceVersionSpecWOSMatchExpressions 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 ClusterServiceVersionSpecWOSMatchExpressions() { + } + + public ClusterServiceVersionSpecWOSMatchExpressions(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 ClusterServiceVersionSpecWOSMatchExpressionsBuilder edit() { + return new ClusterServiceVersionSpecWOSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecWOSMatchExpressionsBuilder 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/ClusterServiceVersionSpecWObjectSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecWObjectSelector.java new file mode 100644 index 00000000000..c39c7610a4c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecWObjectSelector.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", + "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 ClusterServiceVersionSpecWObjectSelector 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 ClusterServiceVersionSpecWObjectSelector() { + } + + public ClusterServiceVersionSpecWObjectSelector(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 ClusterServiceVersionSpecWObjectSelectorBuilder edit() { + return new ClusterServiceVersionSpecWObjectSelectorBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecWObjectSelectorBuilder 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/ClusterServiceVersionSpecWRules.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecWRules.java new file mode 100644 index 00000000000..db521fe2530 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecWRules.java @@ -0,0 +1,174 @@ + +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({ + "apiGroups", + "apiVersions", + "operations", + "resources", + "scope" +}) +@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 ClusterServiceVersionSpecWRules implements Editable , KubernetesResource +{ + + @JsonProperty("apiGroups") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List apiGroups = new ArrayList<>(); + @JsonProperty("apiVersions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List apiVersions = new ArrayList<>(); + @JsonProperty("operations") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List operations = new ArrayList<>(); + @JsonProperty("resources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List resources = new ArrayList<>(); + @JsonProperty("scope") + private String scope; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ClusterServiceVersionSpecWRules() { + } + + public ClusterServiceVersionSpecWRules(List apiGroups, List apiVersions, List operations, List resources, String scope) { + super(); + this.apiGroups = apiGroups; + this.apiVersions = apiVersions; + this.operations = operations; + this.resources = resources; + this.scope = scope; + } + + @JsonProperty("apiGroups") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getApiGroups() { + return apiGroups; + } + + @JsonProperty("apiGroups") + public void setApiGroups(List apiGroups) { + this.apiGroups = apiGroups; + } + + @JsonProperty("apiVersions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getApiVersions() { + return apiVersions; + } + + @JsonProperty("apiVersions") + public void setApiVersions(List apiVersions) { + this.apiVersions = apiVersions; + } + + @JsonProperty("operations") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getOperations() { + return operations; + } + + @JsonProperty("operations") + public void setOperations(List operations) { + this.operations = operations; + } + + @JsonProperty("resources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResources() { + return resources; + } + + @JsonProperty("resources") + public void setResources(List resources) { + this.resources = resources; + } + + @JsonProperty("scope") + public String getScope() { + return scope; + } + + @JsonProperty("scope") + public void setScope(String scope) { + this.scope = scope; + } + + @JsonIgnore + public ClusterServiceVersionSpecWRulesBuilder edit() { + return new ClusterServiceVersionSpecWRulesBuilder(this); + } + + @JsonIgnore + public ClusterServiceVersionSpecWRulesBuilder 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/WebhookDescription.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecWebhookdefinitions.java similarity index 82% rename from kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/WebhookDescription.java rename to kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecWebhookdefinitions.java index b9531134b5c..6f0c60e031a 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/WebhookDescription.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionSpecWebhookdefinitions.java @@ -15,14 +15,15 @@ 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.fabric8.kubernetes.api.model.admissionregistration.v1.RuleWithOperations; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -56,17 +57,17 @@ }) @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), - @BuildableReference(io.fabric8.kubernetes.api.model.IntOrString.class), + @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class WebhookDescription implements Editable , KubernetesResource +public class ClusterServiceVersionSpecWebhookdefinitions implements Editable , KubernetesResource { @JsonProperty("admissionReviewVersions") @@ -86,16 +87,17 @@ public class WebhookDescription implements Editable , @JsonProperty("matchPolicy") private String matchPolicy; @JsonProperty("objectSelector") - private io.fabric8.kubernetes.api.model.LabelSelector objectSelector; + private ClusterServiceVersionSpecWObjectSelector objectSelector; @JsonProperty("reinvocationPolicy") private String reinvocationPolicy; @JsonProperty("rules") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List rules = new ArrayList<>(); + private List rules = new ArrayList<>(); @JsonProperty("sideEffects") private String sideEffects; @JsonProperty("targetPort") - private io.fabric8.kubernetes.api.model.IntOrString targetPort; + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object targetPort; @JsonProperty("timeoutSeconds") private Integer timeoutSeconds; @JsonProperty("type") @@ -109,10 +111,10 @@ public class WebhookDescription implements Editable , * No args constructor for use in serialization * */ - public WebhookDescription() { + public ClusterServiceVersionSpecWebhookdefinitions() { } - public WebhookDescription(List admissionReviewVersions, Integer containerPort, List conversionCRDs, String deploymentName, String failurePolicy, String generateName, String matchPolicy, io.fabric8.kubernetes.api.model.LabelSelector objectSelector, String reinvocationPolicy, List rules, String sideEffects, io.fabric8.kubernetes.api.model.IntOrString targetPort, Integer timeoutSeconds, String type, String webhookPath) { + public ClusterServiceVersionSpecWebhookdefinitions(List admissionReviewVersions, Integer containerPort, List conversionCRDs, String deploymentName, String failurePolicy, String generateName, String matchPolicy, ClusterServiceVersionSpecWObjectSelector objectSelector, String reinvocationPolicy, List rules, String sideEffects, Object targetPort, Integer timeoutSeconds, String type, String webhookPath) { super(); this.admissionReviewVersions = admissionReviewVersions; this.containerPort = containerPort; @@ -204,12 +206,12 @@ public void setMatchPolicy(String matchPolicy) { } @JsonProperty("objectSelector") - public io.fabric8.kubernetes.api.model.LabelSelector getObjectSelector() { + public ClusterServiceVersionSpecWObjectSelector getObjectSelector() { return objectSelector; } @JsonProperty("objectSelector") - public void setObjectSelector(io.fabric8.kubernetes.api.model.LabelSelector objectSelector) { + public void setObjectSelector(ClusterServiceVersionSpecWObjectSelector objectSelector) { this.objectSelector = objectSelector; } @@ -225,12 +227,12 @@ public void setReinvocationPolicy(String reinvocationPolicy) { @JsonProperty("rules") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getRules() { + public List getRules() { return rules; } @JsonProperty("rules") - public void setRules(List rules) { + public void setRules(List rules) { this.rules = rules; } @@ -245,12 +247,13 @@ public void setSideEffects(String sideEffects) { } @JsonProperty("targetPort") - public io.fabric8.kubernetes.api.model.IntOrString getTargetPort() { + public Object getTargetPort() { return targetPort; } @JsonProperty("targetPort") - public void setTargetPort(io.fabric8.kubernetes.api.model.IntOrString targetPort) { + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setTargetPort(Object targetPort) { this.targetPort = targetPort; } @@ -285,12 +288,12 @@ public void setWebhookPath(String webhookPath) { } @JsonIgnore - public WebhookDescriptionBuilder edit() { - return new WebhookDescriptionBuilder(this); + public ClusterServiceVersionSpecWebhookdefinitionsBuilder edit() { + return new ClusterServiceVersionSpecWebhookdefinitionsBuilder(this); } @JsonIgnore - public WebhookDescriptionBuilder toBuilder() { + public ClusterServiceVersionSpecWebhookdefinitionsBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionStatus.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionStatus.java index 9592ab2ce95..82f97d5aef9 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionStatus.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionStatus.java @@ -70,10 +70,10 @@ public class ClusterServiceVersionStatus implements Editable conditions = new ArrayList<>(); + private List conditions = new ArrayList<>(); @JsonProperty("lastTransitionTime") private String lastTransitionTime; @JsonProperty("lastUpdateTime") @@ -86,7 +86,7 @@ public class ClusterServiceVersionStatus implements Editable requirementStatus = new ArrayList<>(); + private List requirementStatus = new ArrayList<>(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -97,7 +97,7 @@ public class ClusterServiceVersionStatus implements Editable conditions, String lastTransitionTime, String lastUpdateTime, String message, String phase, String reason, List requirementStatus) { + public ClusterServiceVersionStatus(String certsLastUpdated, String certsRotateAt, ClusterServiceVersionStatusCleanup cleanup, List conditions, String lastTransitionTime, String lastUpdateTime, String message, String phase, String reason, List requirementStatus) { super(); this.certsLastUpdated = certsLastUpdated; this.certsRotateAt = certsRotateAt; @@ -132,23 +132,23 @@ public void setCertsRotateAt(String certsRotateAt) { } @JsonProperty("cleanup") - public CleanupStatus getCleanup() { + public ClusterServiceVersionStatusCleanup getCleanup() { return cleanup; } @JsonProperty("cleanup") - public void setCleanup(CleanupStatus cleanup) { + public void setCleanup(ClusterServiceVersionStatusCleanup cleanup) { this.cleanup = cleanup; } @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; } @@ -204,12 +204,12 @@ public void setReason(String reason) { @JsonProperty("requirementStatus") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getRequirementStatus() { + public List getRequirementStatus() { return requirementStatus; } @JsonProperty("requirementStatus") - public void setRequirementStatus(List requirementStatus) { + public void setRequirementStatus(List requirementStatus) { this.requirementStatus = requirementStatus; } diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ResourceInstance.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionStatusCPDInstances.java similarity index 87% rename from kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ResourceInstance.java rename to kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionStatusCPDInstances.java index 4b22df7540f..1750399a92b 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ResourceInstance.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionStatusCPDInstances.java @@ -52,7 +52,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ResourceInstance implements Editable , KubernetesResource +public class ClusterServiceVersionStatusCPDInstances implements Editable , KubernetesResource { @JsonProperty("name") @@ -66,10 +66,10 @@ public class ResourceInstance implements Editable , Kub * No args constructor for use in serialization * */ - public ResourceInstance() { + public ClusterServiceVersionStatusCPDInstances() { } - public ResourceInstance(String name, String namespace) { + public ClusterServiceVersionStatusCPDInstances(String name, String namespace) { super(); this.name = name; this.namespace = namespace; @@ -96,12 +96,12 @@ public void setNamespace(String namespace) { } @JsonIgnore - public ResourceInstanceBuilder edit() { - return new ResourceInstanceBuilder(this); + public ClusterServiceVersionStatusCPDInstancesBuilder edit() { + return new ClusterServiceVersionStatusCPDInstancesBuilder(this); } @JsonIgnore - public ResourceInstanceBuilder toBuilder() { + public ClusterServiceVersionStatusCPDInstancesBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ResourceList.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionStatusCPendingDeletion.java similarity index 82% rename from kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ResourceList.java rename to kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionStatusCPendingDeletion.java index 0640299e30b..e42d358be0b 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ResourceList.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionStatusCPendingDeletion.java @@ -55,14 +55,14 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ResourceList implements Editable , KubernetesResource +public class ClusterServiceVersionStatusCPendingDeletion implements Editable , KubernetesResource { @JsonProperty("group") private String group; @JsonProperty("instances") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List instances = new ArrayList<>(); + private List instances = new ArrayList<>(); @JsonProperty("kind") private String kind; @JsonIgnore @@ -72,10 +72,10 @@ public class ResourceList implements Editable , KubernetesR * No args constructor for use in serialization * */ - public ResourceList() { + public ClusterServiceVersionStatusCPendingDeletion() { } - public ResourceList(String group, List instances, String kind) { + public ClusterServiceVersionStatusCPendingDeletion(String group, List instances, String kind) { super(); this.group = group; this.instances = instances; @@ -94,12 +94,12 @@ public void setGroup(String group) { @JsonProperty("instances") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getInstances() { + public List getInstances() { return instances; } @JsonProperty("instances") - public void setInstances(List instances) { + public void setInstances(List instances) { this.instances = instances; } @@ -114,12 +114,12 @@ public void setKind(String kind) { } @JsonIgnore - public ResourceListBuilder edit() { - return new ResourceListBuilder(this); + public ClusterServiceVersionStatusCPendingDeletionBuilder edit() { + return new ClusterServiceVersionStatusCPendingDeletionBuilder(this); } @JsonIgnore - public ResourceListBuilder toBuilder() { + public ClusterServiceVersionStatusCPendingDeletionBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CleanupStatus.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionStatusCleanup.java similarity index 81% rename from kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CleanupStatus.java rename to kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionStatusCleanup.java index 2a6506b7395..dc84cf5966b 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/CleanupStatus.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionStatusCleanup.java @@ -53,12 +53,12 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class CleanupStatus implements Editable , KubernetesResource +public class ClusterServiceVersionStatusCleanup implements Editable , KubernetesResource { @JsonProperty("pendingDeletion") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List pendingDeletion = new ArrayList<>(); + private List pendingDeletion = new ArrayList<>(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -66,32 +66,32 @@ public class CleanupStatus implements Editable , Kubernete * No args constructor for use in serialization * */ - public CleanupStatus() { + public ClusterServiceVersionStatusCleanup() { } - public CleanupStatus(List pendingDeletion) { + public ClusterServiceVersionStatusCleanup(List pendingDeletion) { super(); this.pendingDeletion = pendingDeletion; } @JsonProperty("pendingDeletion") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getPendingDeletion() { + public List getPendingDeletion() { return pendingDeletion; } @JsonProperty("pendingDeletion") - public void setPendingDeletion(List pendingDeletion) { + public void setPendingDeletion(List pendingDeletion) { this.pendingDeletion = pendingDeletion; } @JsonIgnore - public CleanupStatusBuilder edit() { - return new CleanupStatusBuilder(this); + public ClusterServiceVersionStatusCleanupBuilder edit() { + return new ClusterServiceVersionStatusCleanupBuilder(this); } @JsonIgnore - public CleanupStatusBuilder toBuilder() { + public ClusterServiceVersionStatusCleanupBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionCondition.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionStatusConditions.java similarity index 89% rename from kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionCondition.java rename to kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionStatusConditions.java index b981f9616a2..dd0055bb12c 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionCondition.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionStatusConditions.java @@ -55,7 +55,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ClusterServiceVersionCondition implements Editable , KubernetesResource +public class ClusterServiceVersionStatusConditions implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -75,10 +75,10 @@ public class ClusterServiceVersionCondition implements Editable , KubernetesResource +public class ClusterServiceVersionStatusRSDependents implements Editable , KubernetesResource { @JsonProperty("group") @@ -78,10 +78,10 @@ public class DependentStatus implements Editable , Kuber * No args constructor for use in serialization * */ - public DependentStatus() { + public ClusterServiceVersionStatusRSDependents() { } - public DependentStatus(String group, String kind, String message, String status, String uuid, String version) { + public ClusterServiceVersionStatusRSDependents(String group, String kind, String message, String status, String uuid, String version) { super(); this.group = group; this.kind = kind; @@ -152,12 +152,12 @@ public void setVersion(String version) { } @JsonIgnore - public DependentStatusBuilder edit() { - return new DependentStatusBuilder(this); + public ClusterServiceVersionStatusRSDependentsBuilder edit() { + return new ClusterServiceVersionStatusRSDependentsBuilder(this); } @JsonIgnore - public DependentStatusBuilder toBuilder() { + public ClusterServiceVersionStatusRSDependentsBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/RequirementStatus.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionStatusRequirementStatus.java similarity index 85% rename from kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/RequirementStatus.java rename to kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionStatusRequirementStatus.java index 8a12628eeb7..b4d65906a5d 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/RequirementStatus.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/ClusterServiceVersionStatusRequirementStatus.java @@ -60,12 +60,12 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RequirementStatus implements Editable , KubernetesResource +public class ClusterServiceVersionStatusRequirementStatus implements Editable , KubernetesResource { @JsonProperty("dependents") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List dependents = new ArrayList<>(); + private List dependents = new ArrayList<>(); @JsonProperty("group") private String group; @JsonProperty("kind") @@ -87,10 +87,10 @@ public class RequirementStatus implements Editable , K * No args constructor for use in serialization * */ - public RequirementStatus() { + public ClusterServiceVersionStatusRequirementStatus() { } - public RequirementStatus(List dependents, String group, String kind, String message, String name, String status, String uuid, String version) { + public ClusterServiceVersionStatusRequirementStatus(List dependents, String group, String kind, String message, String name, String status, String uuid, String version) { super(); this.dependents = dependents; this.group = group; @@ -104,12 +104,12 @@ public RequirementStatus(List dependents, String group, String @JsonProperty("dependents") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getDependents() { + public List getDependents() { return dependents; } @JsonProperty("dependents") - public void setDependents(List dependents) { + public void setDependents(List dependents) { this.dependents = dependents; } @@ -184,12 +184,12 @@ public void setVersion(String version) { } @JsonIgnore - public RequirementStatusBuilder edit() { - return new RequirementStatusBuilder(this); + public ClusterServiceVersionStatusRequirementStatusBuilder edit() { + return new ClusterServiceVersionStatusRequirementStatusBuilder(this); } @JsonIgnore - public RequirementStatusBuilder toBuilder() { + public ClusterServiceVersionStatusRequirementStatusBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlan.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlan.java index b251f8bae55..f67d301fbe7 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlan.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlan.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 InstallPlan implements Editable , HasMetadata, @JsonProperty("kind") private String kind = "InstallPlan"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private InstallPlanSpec spec; @JsonProperty("status") @@ -97,7 +98,7 @@ public class InstallPlan implements Editable , HasMetadata, public InstallPlan() { } - public InstallPlan(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, InstallPlanSpec spec, InstallPlanStatus status) { + public InstallPlan(String apiVersion, String kind, ObjectMeta metadata, InstallPlanSpec spec, InstallPlanStatus 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/InstallPlanStatus.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanStatus.java index 9df2a144a03..995de5d1d81 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanStatus.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanStatus.java @@ -20,6 +20,7 @@ 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; @@ -54,7 +55,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) }) @@ -63,23 +64,23 @@ public class InstallPlanStatus implements Editable , K { @JsonProperty("attenuatedServiceAccountRef") - private io.fabric8.kubernetes.api.model.ObjectReference attenuatedServiceAccountRef; + private InstallPlanStatusAttenuatedServiceAccountRef attenuatedServiceAccountRef; @JsonProperty("bundleLookups") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List bundleLookups = new ArrayList<>(); + private List bundleLookups = new ArrayList<>(); @JsonProperty("catalogSources") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List catalogSources = new ArrayList<>(); @JsonProperty("conditions") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List conditions = new ArrayList<>(); + private List conditions = new ArrayList<>(); @JsonProperty("message") private String message; @JsonProperty("phase") private String phase; @JsonProperty("plan") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List plan = new ArrayList<>(); + private List plan = new ArrayList<>(); @JsonProperty("startTime") private String startTime; @JsonIgnore @@ -92,7 +93,7 @@ public class InstallPlanStatus implements Editable , K public InstallPlanStatus() { } - public InstallPlanStatus(io.fabric8.kubernetes.api.model.ObjectReference attenuatedServiceAccountRef, List bundleLookups, List catalogSources, List conditions, String message, String phase, List plan, String startTime) { + public InstallPlanStatus(InstallPlanStatusAttenuatedServiceAccountRef attenuatedServiceAccountRef, List bundleLookups, List catalogSources, List conditions, String message, String phase, List plan, String startTime) { super(); this.attenuatedServiceAccountRef = attenuatedServiceAccountRef; this.bundleLookups = bundleLookups; @@ -105,23 +106,23 @@ public InstallPlanStatus(io.fabric8.kubernetes.api.model.ObjectReference attenua } @JsonProperty("attenuatedServiceAccountRef") - public io.fabric8.kubernetes.api.model.ObjectReference getAttenuatedServiceAccountRef() { + public InstallPlanStatusAttenuatedServiceAccountRef getAttenuatedServiceAccountRef() { return attenuatedServiceAccountRef; } @JsonProperty("attenuatedServiceAccountRef") - public void setAttenuatedServiceAccountRef(io.fabric8.kubernetes.api.model.ObjectReference attenuatedServiceAccountRef) { + public void setAttenuatedServiceAccountRef(InstallPlanStatusAttenuatedServiceAccountRef attenuatedServiceAccountRef) { this.attenuatedServiceAccountRef = attenuatedServiceAccountRef; } @JsonProperty("bundleLookups") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getBundleLookups() { + public List getBundleLookups() { return bundleLookups; } @JsonProperty("bundleLookups") - public void setBundleLookups(List bundleLookups) { + public void setBundleLookups(List bundleLookups) { this.bundleLookups = bundleLookups; } @@ -138,12 +139,12 @@ public void setCatalogSources(List catalogSources) { @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; } @@ -169,12 +170,12 @@ public void setPhase(String phase) { @JsonProperty("plan") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getPlan() { + public List getPlan() { return plan; } @JsonProperty("plan") - public void setPlan(List plan) { + public void setPlan(List plan) { this.plan = plan; } diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanStatusAttenuatedServiceAccountRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanStatusAttenuatedServiceAccountRef.java new file mode 100644 index 00000000000..11dff93db25 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanStatusAttenuatedServiceAccountRef.java @@ -0,0 +1,192 @@ + +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({ + "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 InstallPlanStatusAttenuatedServiceAccountRef 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 InstallPlanStatusAttenuatedServiceAccountRef() { + } + + public InstallPlanStatusAttenuatedServiceAccountRef(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 InstallPlanStatusAttenuatedServiceAccountRefBuilder edit() { + return new InstallPlanStatusAttenuatedServiceAccountRefBuilder(this); + } + + @JsonIgnore + public InstallPlanStatusAttenuatedServiceAccountRefBuilder 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/InstallPlanStatusBLCatalogSourceRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanStatusBLCatalogSourceRef.java new file mode 100644 index 00000000000..348c10271a7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanStatusBLCatalogSourceRef.java @@ -0,0 +1,192 @@ + +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({ + "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 InstallPlanStatusBLCatalogSourceRef 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 InstallPlanStatusBLCatalogSourceRef() { + } + + public InstallPlanStatusBLCatalogSourceRef(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 InstallPlanStatusBLCatalogSourceRefBuilder edit() { + return new InstallPlanStatusBLCatalogSourceRefBuilder(this); + } + + @JsonIgnore + public InstallPlanStatusBLCatalogSourceRefBuilder 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/BundleLookupCondition.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanStatusBLConditions.java similarity index 90% rename from kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/BundleLookupCondition.java rename to kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanStatusBLConditions.java index aebe01efc7f..3a709fd7922 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/BundleLookupCondition.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanStatusBLConditions.java @@ -56,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BundleLookupCondition implements Editable , KubernetesResource +public class InstallPlanStatusBLConditions implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -78,10 +78,10 @@ public class BundleLookupCondition implements Editable , KubernetesResource +public class InstallPlanStatusBundleLookups implements Editable , KubernetesResource { @JsonProperty("catalogSourceRef") - private io.fabric8.kubernetes.api.model.ObjectReference catalogSourceRef; + private InstallPlanStatusBLCatalogSourceRef catalogSourceRef; @JsonProperty("conditions") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List conditions = new ArrayList<>(); + private List conditions = new ArrayList<>(); @JsonProperty("identifier") private String identifier; @JsonProperty("path") @@ -80,10 +81,10 @@ public class BundleLookup implements Editable , KubernetesR * No args constructor for use in serialization * */ - public BundleLookup() { + public InstallPlanStatusBundleLookups() { } - public BundleLookup(io.fabric8.kubernetes.api.model.ObjectReference catalogSourceRef, List conditions, String identifier, String path, String properties, String replaces) { + public InstallPlanStatusBundleLookups(InstallPlanStatusBLCatalogSourceRef catalogSourceRef, List conditions, String identifier, String path, String properties, String replaces) { super(); this.catalogSourceRef = catalogSourceRef; this.conditions = conditions; @@ -94,23 +95,23 @@ public BundleLookup(io.fabric8.kubernetes.api.model.ObjectReference catalogSourc } @JsonProperty("catalogSourceRef") - public io.fabric8.kubernetes.api.model.ObjectReference getCatalogSourceRef() { + public InstallPlanStatusBLCatalogSourceRef getCatalogSourceRef() { return catalogSourceRef; } @JsonProperty("catalogSourceRef") - public void setCatalogSourceRef(io.fabric8.kubernetes.api.model.ObjectReference catalogSourceRef) { + public void setCatalogSourceRef(InstallPlanStatusBLCatalogSourceRef catalogSourceRef) { this.catalogSourceRef = catalogSourceRef; } @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; } @@ -155,12 +156,12 @@ public void setReplaces(String replaces) { } @JsonIgnore - public BundleLookupBuilder edit() { - return new BundleLookupBuilder(this); + public InstallPlanStatusBundleLookupsBuilder edit() { + return new InstallPlanStatusBundleLookupsBuilder(this); } @JsonIgnore - public BundleLookupBuilder toBuilder() { + public InstallPlanStatusBundleLookupsBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanCondition.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanStatusConditions.java similarity index 91% rename from kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanCondition.java rename to kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanStatusConditions.java index 4372d80743e..9c05c9d1aa1 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanCondition.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanStatusConditions.java @@ -56,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class InstallPlanCondition implements Editable , KubernetesResource +public class InstallPlanStatusConditions implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -78,10 +78,10 @@ public class InstallPlanCondition implements Editable , KubernetesResource +public class InstallPlanStatusPResource implements Editable , KubernetesResource { @JsonProperty("group") @@ -81,10 +81,10 @@ public class StepResource implements Editable , KubernetesR * No args constructor for use in serialization * */ - public StepResource() { + public InstallPlanStatusPResource() { } - public StepResource(String group, String kind, String manifest, String name, String sourceName, String sourceNamespace, String version) { + public InstallPlanStatusPResource(String group, String kind, String manifest, String name, String sourceName, String sourceNamespace, String version) { super(); this.group = group; this.kind = kind; @@ -166,12 +166,12 @@ public void setVersion(String version) { } @JsonIgnore - public StepResourceBuilder edit() { - return new StepResourceBuilder(this); + public InstallPlanStatusPResourceBuilder edit() { + return new InstallPlanStatusPResourceBuilder(this); } @JsonIgnore - public StepResourceBuilder toBuilder() { + public InstallPlanStatusPResourceBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/Step.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanStatusPlan.java similarity index 87% rename from kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/Step.java rename to kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanStatusPlan.java index ad773ba6128..813b6396624 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/Step.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanStatusPlan.java @@ -54,7 +54,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Step implements Editable , KubernetesResource +public class InstallPlanStatusPlan implements Editable , KubernetesResource { @JsonProperty("optional") @@ -62,7 +62,7 @@ public class Step implements Editable , KubernetesResource @JsonProperty("resolving") private String resolving; @JsonProperty("resource") - private StepResource resource; + private InstallPlanStatusPResource resource; @JsonProperty("status") private String status; @JsonIgnore @@ -72,10 +72,10 @@ public class Step implements Editable , KubernetesResource * No args constructor for use in serialization * */ - public Step() { + public InstallPlanStatusPlan() { } - public Step(Boolean optional, String resolving, StepResource resource, String status) { + public InstallPlanStatusPlan(Boolean optional, String resolving, InstallPlanStatusPResource resource, String status) { super(); this.optional = optional; this.resolving = resolving; @@ -104,12 +104,12 @@ public void setResolving(String resolving) { } @JsonProperty("resource") - public StepResource getResource() { + public InstallPlanStatusPResource getResource() { return resource; } @JsonProperty("resource") - public void setResource(StepResource resource) { + public void setResource(InstallPlanStatusPResource resource) { this.resource = resource; } @@ -124,12 +124,12 @@ public void setStatus(String status) { } @JsonIgnore - public StepBuilder edit() { - return new StepBuilder(this); + public InstallPlanStatusPlanBuilder edit() { + return new InstallPlanStatusPlanBuilder(this); } @JsonIgnore - public StepBuilder toBuilder() { + public InstallPlanStatusPlanBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/Subscription.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/Subscription.java index 2739d5ccb45..ba32f4f74a3 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/Subscription.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/Subscription.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 Subscription implements Editable , HasMetadata @JsonProperty("kind") private String kind = "Subscription"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private SubscriptionSpec spec; @JsonProperty("status") @@ -97,7 +98,7 @@ public class Subscription implements Editable , HasMetadata public Subscription() { } - public Subscription(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, SubscriptionSpec spec, SubscriptionStatus status) { + public Subscription(String apiVersion, String kind, ObjectMeta metadata, SubscriptionSpec spec, SubscriptionStatus 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/SubscriptionCondition.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionCondition.java deleted file mode 100644 index d46a9940db7..00000000000 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionCondition.java +++ /dev/null @@ -1,272 +0,0 @@ - -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.JsonPropertyDescription; -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({ - "lastHeartbeatTime", - "lastTransitionTime", - "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 SubscriptionCondition implements Editable , KubernetesResource -{ - - /** - * last time we got an update on a given condition - * - */ - @JsonProperty("lastHeartbeatTime") - @JsonPropertyDescription("last time we got an update on a given condition") - private String lastHeartbeatTime; - /** - * last time the condition transit from one status to another - * - */ - @JsonProperty("lastTransitionTime") - @JsonPropertyDescription("last time the condition transit from one status to another") - private String lastTransitionTime; - /** - * human-readable message indicating details about last transition - * - */ - @JsonProperty("message") - @JsonPropertyDescription("human-readable message indicating details about last transition") - private String message; - /** - * one-word CamelCase reason for the condition's last transition - * - */ - @JsonProperty("reason") - @JsonPropertyDescription("one-word CamelCase reason for the condition's last transition") - private String reason; - /** - * status of the condition - * - */ - @JsonProperty("status") - @JsonPropertyDescription("status of the condition") - private String status; - /** - * type of Subscription condition - * - */ - @JsonProperty("type") - @JsonPropertyDescription("type of Subscription condition") - private String type; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public SubscriptionCondition() { - } - - /** - * - * @param reason - * one-word CamelCase reason for the condition's last transition. - * @param lastHeartbeatTime - * last time we got an update on a given condition. - * @param lastTransitionTime - * last time the condition transit from one status to another. - * @param message - * human-readable message indicating details about last transition. - * @param type - * type of Subscription condition. - * @param status - * status of the condition. - */ - public SubscriptionCondition(String lastHeartbeatTime, String lastTransitionTime, String message, String reason, String status, String type) { - super(); - this.lastHeartbeatTime = lastHeartbeatTime; - this.lastTransitionTime = lastTransitionTime; - this.message = message; - this.reason = reason; - this.status = status; - this.type = type; - } - - /** - * last time we got an update on a given condition - * - */ - @JsonProperty("lastHeartbeatTime") - public String getLastHeartbeatTime() { - return lastHeartbeatTime; - } - - /** - * last time we got an update on a given condition - * - */ - @JsonProperty("lastHeartbeatTime") - public void setLastHeartbeatTime(String lastHeartbeatTime) { - this.lastHeartbeatTime = lastHeartbeatTime; - } - - /** - * last time the condition transit from one status to another - * - */ - @JsonProperty("lastTransitionTime") - public String getLastTransitionTime() { - return lastTransitionTime; - } - - /** - * last time the condition transit from one status to another - * - */ - @JsonProperty("lastTransitionTime") - public void setLastTransitionTime(String lastTransitionTime) { - this.lastTransitionTime = lastTransitionTime; - } - - /** - * human-readable message indicating details about last transition - * - */ - @JsonProperty("message") - public String getMessage() { - return message; - } - - /** - * human-readable message indicating details about last transition - * - */ - @JsonProperty("message") - public void setMessage(String message) { - this.message = message; - } - - /** - * one-word CamelCase reason for the condition's last transition - * - */ - @JsonProperty("reason") - public String getReason() { - return reason; - } - - /** - * one-word CamelCase reason for the condition's last transition - * - */ - @JsonProperty("reason") - public void setReason(String reason) { - this.reason = reason; - } - - /** - * status of the condition - * - */ - @JsonProperty("status") - public String getStatus() { - return status; - } - - /** - * status of the condition - * - */ - @JsonProperty("status") - public void setStatus(String status) { - this.status = status; - } - - /** - * type of Subscription condition - * - */ - @JsonProperty("type") - public String getType() { - return type; - } - - /** - * type of Subscription condition - * - */ - @JsonProperty("type") - public void setType(String type) { - this.type = type; - } - - @JsonIgnore - public SubscriptionConditionBuilder edit() { - return new SubscriptionConditionBuilder(this); - } - - @JsonIgnore - public SubscriptionConditionBuilder 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/SubscriptionSpec.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpec.java index e53541c0942..3fcc4063348 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpec.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpec.java @@ -63,7 +63,7 @@ public class SubscriptionSpec implements Editable , Kub @JsonProperty("channel") private String channel; @JsonProperty("config") - private SubscriptionConfig config; + private SubscriptionSpecConfig config; @JsonProperty("installPlanApproval") private String installPlanApproval; @JsonProperty("name") @@ -84,7 +84,7 @@ public class SubscriptionSpec implements Editable , Kub public SubscriptionSpec() { } - public SubscriptionSpec(String channel, SubscriptionConfig config, String installPlanApproval, String name, String source, String sourceNamespace, String startingCSV) { + public SubscriptionSpec(String channel, SubscriptionSpecConfig config, String installPlanApproval, String name, String source, String sourceNamespace, String startingCSV) { super(); this.channel = channel; this.config = config; @@ -106,12 +106,12 @@ public void setChannel(String channel) { } @JsonProperty("config") - public SubscriptionConfig getConfig() { + public SubscriptionSpecConfig getConfig() { return config; } @JsonProperty("config") - public void setConfig(SubscriptionConfig config) { + public void setConfig(SubscriptionSpecConfig config) { this.config = config; } diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCANAPDSIDEPMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCANAPDSIDEPMatchExpressions.java new file mode 100644 index 00000000000..96129ba0de6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCANAPDSIDEPMatchExpressions.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 SubscriptionSpecCANAPDSIDEPMatchExpressions 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 SubscriptionSpecCANAPDSIDEPMatchExpressions() { + } + + public SubscriptionSpecCANAPDSIDEPMatchExpressions(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 SubscriptionSpecCANAPDSIDEPMatchExpressionsBuilder edit() { + return new SubscriptionSpecCANAPDSIDEPMatchExpressionsBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCANAPDSIDEPMatchExpressionsBuilder 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/SubscriptionSpecCANAPDSIDEPMatchFields.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCANAPDSIDEPMatchFields.java new file mode 100644 index 00000000000..81ad80679a9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCANAPDSIDEPMatchFields.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 SubscriptionSpecCANAPDSIDEPMatchFields 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 SubscriptionSpecCANAPDSIDEPMatchFields() { + } + + public SubscriptionSpecCANAPDSIDEPMatchFields(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 SubscriptionSpecCANAPDSIDEPMatchFieldsBuilder edit() { + return new SubscriptionSpecCANAPDSIDEPMatchFieldsBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCANAPDSIDEPMatchFieldsBuilder 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/SubscriptionSpecCANAPDSIDEPreference.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCANAPDSIDEPreference.java new file mode 100644 index 00000000000..722c4ebba9a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCANAPDSIDEPreference.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 SubscriptionSpecCANAPDSIDEPreference 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 SubscriptionSpecCANAPDSIDEPreference() { + } + + public SubscriptionSpecCANAPDSIDEPreference(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 SubscriptionSpecCANAPDSIDEPreferenceBuilder edit() { + return new SubscriptionSpecCANAPDSIDEPreferenceBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCANAPDSIDEPreferenceBuilder 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/SubscriptionSpecCANAPreferredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCANAPreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..39eae64caca --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCANAPreferredDuringSchedulingIgnoredDuringExecution.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 SubscriptionSpecCANAPreferredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("preference") + private SubscriptionSpecCANAPDSIDEPreference preference; + @JsonProperty("weight") + private Integer weight; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCANAPreferredDuringSchedulingIgnoredDuringExecution() { + } + + public SubscriptionSpecCANAPreferredDuringSchedulingIgnoredDuringExecution(SubscriptionSpecCANAPDSIDEPreference preference, Integer weight) { + super(); + this.preference = preference; + this.weight = weight; + } + + @JsonProperty("preference") + public SubscriptionSpecCANAPDSIDEPreference getPreference() { + return preference; + } + + @JsonProperty("preference") + public void setPreference(SubscriptionSpecCANAPDSIDEPreference preference) { + this.preference = preference; + } + + @JsonProperty("weight") + public Integer getWeight() { + return weight; + } + + @JsonProperty("weight") + public void setWeight(Integer weight) { + this.weight = weight; + } + + @JsonIgnore + public SubscriptionSpecCANAPreferredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new SubscriptionSpecCANAPreferredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCANAPreferredDuringSchedulingIgnoredDuringExecutionBuilder 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/SubscriptionSpecCANARDSIDENSTMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCANARDSIDENSTMatchExpressions.java new file mode 100644 index 00000000000..417b04c4371 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCANARDSIDENSTMatchExpressions.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 SubscriptionSpecCANARDSIDENSTMatchExpressions 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 SubscriptionSpecCANARDSIDENSTMatchExpressions() { + } + + public SubscriptionSpecCANARDSIDENSTMatchExpressions(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 SubscriptionSpecCANARDSIDENSTMatchExpressionsBuilder edit() { + return new SubscriptionSpecCANARDSIDENSTMatchExpressionsBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCANARDSIDENSTMatchExpressionsBuilder 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/SubscriptionSpecCANARDSIDENSTMatchFields.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCANARDSIDENSTMatchFields.java new file mode 100644 index 00000000000..e097c601782 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCANARDSIDENSTMatchFields.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 SubscriptionSpecCANARDSIDENSTMatchFields 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 SubscriptionSpecCANARDSIDENSTMatchFields() { + } + + public SubscriptionSpecCANARDSIDENSTMatchFields(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 SubscriptionSpecCANARDSIDENSTMatchFieldsBuilder edit() { + return new SubscriptionSpecCANARDSIDENSTMatchFieldsBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCANARDSIDENSTMatchFieldsBuilder 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/SubscriptionSpecCANARDSIDENodeSelectorTerms.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCANARDSIDENodeSelectorTerms.java new file mode 100644 index 00000000000..2bca303ccd6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCANARDSIDENodeSelectorTerms.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 SubscriptionSpecCANARDSIDENodeSelectorTerms 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 SubscriptionSpecCANARDSIDENodeSelectorTerms() { + } + + public SubscriptionSpecCANARDSIDENodeSelectorTerms(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 SubscriptionSpecCANARDSIDENodeSelectorTermsBuilder edit() { + return new SubscriptionSpecCANARDSIDENodeSelectorTermsBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCANARDSIDENodeSelectorTermsBuilder 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/SubscriptionSpecCANARequiredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCANARequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..49bdcb427c0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCANARequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,112 @@ + +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({ + "nodeSelectorTerms" +}) +@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 SubscriptionSpecCANARequiredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("nodeSelectorTerms") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List nodeSelectorTerms = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCANARequiredDuringSchedulingIgnoredDuringExecution() { + } + + public SubscriptionSpecCANARequiredDuringSchedulingIgnoredDuringExecution(List nodeSelectorTerms) { + super(); + this.nodeSelectorTerms = nodeSelectorTerms; + } + + @JsonProperty("nodeSelectorTerms") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNodeSelectorTerms() { + return nodeSelectorTerms; + } + + @JsonProperty("nodeSelectorTerms") + public void setNodeSelectorTerms(List nodeSelectorTerms) { + this.nodeSelectorTerms = nodeSelectorTerms; + } + + @JsonIgnore + public SubscriptionSpecCANARequiredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new SubscriptionSpecCANARequiredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCANARequiredDuringSchedulingIgnoredDuringExecutionBuilder 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/SubscriptionSpecCANodeAffinity.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCANodeAffinity.java new file mode 100644 index 00000000000..742f4e17e2e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCANodeAffinity.java @@ -0,0 +1,126 @@ + +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({ + "preferredDuringSchedulingIgnoredDuringExecution", + "requiredDuringSchedulingIgnoredDuringExecution" +}) +@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 SubscriptionSpecCANodeAffinity implements Editable , KubernetesResource +{ + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List preferredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + private SubscriptionSpecCANARequiredDuringSchedulingIgnoredDuringExecution requiredDuringSchedulingIgnoredDuringExecution; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCANodeAffinity() { + } + + public SubscriptionSpecCANodeAffinity(List preferredDuringSchedulingIgnoredDuringExecution, SubscriptionSpecCANARequiredDuringSchedulingIgnoredDuringExecution requiredDuringSchedulingIgnoredDuringExecution) { + super(); + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + public void setPreferredDuringSchedulingIgnoredDuringExecution(List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + public SubscriptionSpecCANARequiredDuringSchedulingIgnoredDuringExecution getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + public void setRequiredDuringSchedulingIgnoredDuringExecution(SubscriptionSpecCANARequiredDuringSchedulingIgnoredDuringExecution requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonIgnore + public SubscriptionSpecCANodeAffinityBuilder edit() { + return new SubscriptionSpecCANodeAffinityBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCANodeAffinityBuilder 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/SubscriptionSpecCAPAAPDSIDEPATLSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAAPDSIDEPATLSMatchExpressions.java new file mode 100644 index 00000000000..104b72d8a63 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAAPDSIDEPATLSMatchExpressions.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 SubscriptionSpecCAPAAPDSIDEPATLSMatchExpressions 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 SubscriptionSpecCAPAAPDSIDEPATLSMatchExpressions() { + } + + public SubscriptionSpecCAPAAPDSIDEPATLSMatchExpressions(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 SubscriptionSpecCAPAAPDSIDEPATLSMatchExpressionsBuilder edit() { + return new SubscriptionSpecCAPAAPDSIDEPATLSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCAPAAPDSIDEPATLSMatchExpressionsBuilder 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/SubscriptionSpecCAPAAPDSIDEPATLabelSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAAPDSIDEPATLabelSelector.java new file mode 100644 index 00000000000..72702ff59e1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAAPDSIDEPATLabelSelector.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", + "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 SubscriptionSpecCAPAAPDSIDEPATLabelSelector 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 SubscriptionSpecCAPAAPDSIDEPATLabelSelector() { + } + + public SubscriptionSpecCAPAAPDSIDEPATLabelSelector(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 SubscriptionSpecCAPAAPDSIDEPATLabelSelectorBuilder edit() { + return new SubscriptionSpecCAPAAPDSIDEPATLabelSelectorBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCAPAAPDSIDEPATLabelSelectorBuilder 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/SubscriptionSpecCAPAAPDSIDEPATNSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAAPDSIDEPATNSMatchExpressions.java new file mode 100644 index 00000000000..17a31c87925 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAAPDSIDEPATNSMatchExpressions.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 SubscriptionSpecCAPAAPDSIDEPATNSMatchExpressions 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 SubscriptionSpecCAPAAPDSIDEPATNSMatchExpressions() { + } + + public SubscriptionSpecCAPAAPDSIDEPATNSMatchExpressions(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 SubscriptionSpecCAPAAPDSIDEPATNSMatchExpressionsBuilder edit() { + return new SubscriptionSpecCAPAAPDSIDEPATNSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCAPAAPDSIDEPATNSMatchExpressionsBuilder 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/SubscriptionSpecCAPAAPDSIDEPATNamespaceSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAAPDSIDEPATNamespaceSelector.java new file mode 100644 index 00000000000..4f277c96fe9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAAPDSIDEPATNamespaceSelector.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", + "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 SubscriptionSpecCAPAAPDSIDEPATNamespaceSelector 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 SubscriptionSpecCAPAAPDSIDEPATNamespaceSelector() { + } + + public SubscriptionSpecCAPAAPDSIDEPATNamespaceSelector(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 SubscriptionSpecCAPAAPDSIDEPATNamespaceSelectorBuilder edit() { + return new SubscriptionSpecCAPAAPDSIDEPATNamespaceSelectorBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCAPAAPDSIDEPATNamespaceSelectorBuilder 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/SubscriptionSpecCAPAAPDSIDEPodAffinityTerm.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAAPDSIDEPodAffinityTerm.java new file mode 100644 index 00000000000..eb84050956a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAAPDSIDEPodAffinityTerm.java @@ -0,0 +1,186 @@ + +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({ + "labelSelector", + "matchLabelKeys", + "mismatchLabelKeys", + "namespaceSelector", + "namespaces", + "topologyKey" +}) +@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 SubscriptionSpecCAPAAPDSIDEPodAffinityTerm implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private SubscriptionSpecCAPAAPDSIDEPATLabelSelector labelSelector; + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchLabelKeys = new ArrayList<>(); + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List mismatchLabelKeys = new ArrayList<>(); + @JsonProperty("namespaceSelector") + private SubscriptionSpecCAPAAPDSIDEPATNamespaceSelector namespaceSelector; + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List namespaces = new ArrayList<>(); + @JsonProperty("topologyKey") + private String topologyKey; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCAPAAPDSIDEPodAffinityTerm() { + } + + public SubscriptionSpecCAPAAPDSIDEPodAffinityTerm(SubscriptionSpecCAPAAPDSIDEPATLabelSelector labelSelector, List matchLabelKeys, List mismatchLabelKeys, SubscriptionSpecCAPAAPDSIDEPATNamespaceSelector namespaceSelector, List namespaces, String topologyKey) { + super(); + this.labelSelector = labelSelector; + this.matchLabelKeys = matchLabelKeys; + this.mismatchLabelKeys = mismatchLabelKeys; + this.namespaceSelector = namespaceSelector; + this.namespaces = namespaces; + this.topologyKey = topologyKey; + } + + @JsonProperty("labelSelector") + public SubscriptionSpecCAPAAPDSIDEPATLabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(SubscriptionSpecCAPAAPDSIDEPATLabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchLabelKeys() { + return matchLabelKeys; + } + + @JsonProperty("matchLabelKeys") + public void setMatchLabelKeys(List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMismatchLabelKeys() { + return mismatchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + public void setMismatchLabelKeys(List mismatchLabelKeys) { + this.mismatchLabelKeys = mismatchLabelKeys; + } + + @JsonProperty("namespaceSelector") + public SubscriptionSpecCAPAAPDSIDEPATNamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + @JsonProperty("namespaceSelector") + public void setNamespaceSelector(SubscriptionSpecCAPAAPDSIDEPATNamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNamespaces() { + return namespaces; + } + + @JsonProperty("namespaces") + public void setNamespaces(List namespaces) { + this.namespaces = namespaces; + } + + @JsonProperty("topologyKey") + public String getTopologyKey() { + return topologyKey; + } + + @JsonProperty("topologyKey") + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @JsonIgnore + public SubscriptionSpecCAPAAPDSIDEPodAffinityTermBuilder edit() { + return new SubscriptionSpecCAPAAPDSIDEPodAffinityTermBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCAPAAPDSIDEPodAffinityTermBuilder 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/SubscriptionSpecCAPAAPreferredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAAPreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..82d600fd605 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAAPreferredDuringSchedulingIgnoredDuringExecution.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({ + "podAffinityTerm", + "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 SubscriptionSpecCAPAAPreferredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("podAffinityTerm") + private SubscriptionSpecCAPAAPDSIDEPodAffinityTerm podAffinityTerm; + @JsonProperty("weight") + private Integer weight; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCAPAAPreferredDuringSchedulingIgnoredDuringExecution() { + } + + public SubscriptionSpecCAPAAPreferredDuringSchedulingIgnoredDuringExecution(SubscriptionSpecCAPAAPDSIDEPodAffinityTerm podAffinityTerm, Integer weight) { + super(); + this.podAffinityTerm = podAffinityTerm; + this.weight = weight; + } + + @JsonProperty("podAffinityTerm") + public SubscriptionSpecCAPAAPDSIDEPodAffinityTerm getPodAffinityTerm() { + return podAffinityTerm; + } + + @JsonProperty("podAffinityTerm") + public void setPodAffinityTerm(SubscriptionSpecCAPAAPDSIDEPodAffinityTerm podAffinityTerm) { + this.podAffinityTerm = podAffinityTerm; + } + + @JsonProperty("weight") + public Integer getWeight() { + return weight; + } + + @JsonProperty("weight") + public void setWeight(Integer weight) { + this.weight = weight; + } + + @JsonIgnore + public SubscriptionSpecCAPAAPreferredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new SubscriptionSpecCAPAAPreferredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCAPAAPreferredDuringSchedulingIgnoredDuringExecutionBuilder 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/SubscriptionSpecCAPAARDSIDELSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAARDSIDELSMatchExpressions.java new file mode 100644 index 00000000000..adc9ac853a5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAARDSIDELSMatchExpressions.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 SubscriptionSpecCAPAARDSIDELSMatchExpressions 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 SubscriptionSpecCAPAARDSIDELSMatchExpressions() { + } + + public SubscriptionSpecCAPAARDSIDELSMatchExpressions(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 SubscriptionSpecCAPAARDSIDELSMatchExpressionsBuilder edit() { + return new SubscriptionSpecCAPAARDSIDELSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCAPAARDSIDELSMatchExpressionsBuilder 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/SubscriptionSpecCAPAARDSIDELabelSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAARDSIDELabelSelector.java new file mode 100644 index 00000000000..2327dea16a9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAARDSIDELabelSelector.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", + "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 SubscriptionSpecCAPAARDSIDELabelSelector 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 SubscriptionSpecCAPAARDSIDELabelSelector() { + } + + public SubscriptionSpecCAPAARDSIDELabelSelector(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 SubscriptionSpecCAPAARDSIDELabelSelectorBuilder edit() { + return new SubscriptionSpecCAPAARDSIDELabelSelectorBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCAPAARDSIDELabelSelectorBuilder 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/SubscriptionSpecCAPAARDSIDENSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAARDSIDENSMatchExpressions.java new file mode 100644 index 00000000000..5127124e0fc --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAARDSIDENSMatchExpressions.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 SubscriptionSpecCAPAARDSIDENSMatchExpressions 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 SubscriptionSpecCAPAARDSIDENSMatchExpressions() { + } + + public SubscriptionSpecCAPAARDSIDENSMatchExpressions(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 SubscriptionSpecCAPAARDSIDENSMatchExpressionsBuilder edit() { + return new SubscriptionSpecCAPAARDSIDENSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCAPAARDSIDENSMatchExpressionsBuilder 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/SubscriptionSpecCAPAARDSIDENamespaceSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAARDSIDENamespaceSelector.java new file mode 100644 index 00000000000..d4c0553c06c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAARDSIDENamespaceSelector.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", + "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 SubscriptionSpecCAPAARDSIDENamespaceSelector 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 SubscriptionSpecCAPAARDSIDENamespaceSelector() { + } + + public SubscriptionSpecCAPAARDSIDENamespaceSelector(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 SubscriptionSpecCAPAARDSIDENamespaceSelectorBuilder edit() { + return new SubscriptionSpecCAPAARDSIDENamespaceSelectorBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCAPAARDSIDENamespaceSelectorBuilder 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/SubscriptionSpecCAPAARequiredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAARequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..4989f7b8af5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAARequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,186 @@ + +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({ + "labelSelector", + "matchLabelKeys", + "mismatchLabelKeys", + "namespaceSelector", + "namespaces", + "topologyKey" +}) +@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 SubscriptionSpecCAPAARequiredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private SubscriptionSpecCAPAARDSIDELabelSelector labelSelector; + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchLabelKeys = new ArrayList<>(); + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List mismatchLabelKeys = new ArrayList<>(); + @JsonProperty("namespaceSelector") + private SubscriptionSpecCAPAARDSIDENamespaceSelector namespaceSelector; + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List namespaces = new ArrayList<>(); + @JsonProperty("topologyKey") + private String topologyKey; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCAPAARequiredDuringSchedulingIgnoredDuringExecution() { + } + + public SubscriptionSpecCAPAARequiredDuringSchedulingIgnoredDuringExecution(SubscriptionSpecCAPAARDSIDELabelSelector labelSelector, List matchLabelKeys, List mismatchLabelKeys, SubscriptionSpecCAPAARDSIDENamespaceSelector namespaceSelector, List namespaces, String topologyKey) { + super(); + this.labelSelector = labelSelector; + this.matchLabelKeys = matchLabelKeys; + this.mismatchLabelKeys = mismatchLabelKeys; + this.namespaceSelector = namespaceSelector; + this.namespaces = namespaces; + this.topologyKey = topologyKey; + } + + @JsonProperty("labelSelector") + public SubscriptionSpecCAPAARDSIDELabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(SubscriptionSpecCAPAARDSIDELabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchLabelKeys() { + return matchLabelKeys; + } + + @JsonProperty("matchLabelKeys") + public void setMatchLabelKeys(List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMismatchLabelKeys() { + return mismatchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + public void setMismatchLabelKeys(List mismatchLabelKeys) { + this.mismatchLabelKeys = mismatchLabelKeys; + } + + @JsonProperty("namespaceSelector") + public SubscriptionSpecCAPAARDSIDENamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + @JsonProperty("namespaceSelector") + public void setNamespaceSelector(SubscriptionSpecCAPAARDSIDENamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNamespaces() { + return namespaces; + } + + @JsonProperty("namespaces") + public void setNamespaces(List namespaces) { + this.namespaces = namespaces; + } + + @JsonProperty("topologyKey") + public String getTopologyKey() { + return topologyKey; + } + + @JsonProperty("topologyKey") + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @JsonIgnore + public SubscriptionSpecCAPAARequiredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new SubscriptionSpecCAPAARequiredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCAPAARequiredDuringSchedulingIgnoredDuringExecutionBuilder 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/SubscriptionSpecCAPAPDSIDEPATLSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAPDSIDEPATLSMatchExpressions.java new file mode 100644 index 00000000000..0ff5cdf7c3f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAPDSIDEPATLSMatchExpressions.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 SubscriptionSpecCAPAPDSIDEPATLSMatchExpressions 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 SubscriptionSpecCAPAPDSIDEPATLSMatchExpressions() { + } + + public SubscriptionSpecCAPAPDSIDEPATLSMatchExpressions(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 SubscriptionSpecCAPAPDSIDEPATLSMatchExpressionsBuilder edit() { + return new SubscriptionSpecCAPAPDSIDEPATLSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCAPAPDSIDEPATLSMatchExpressionsBuilder 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/SubscriptionSpecCAPAPDSIDEPATLabelSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAPDSIDEPATLabelSelector.java new file mode 100644 index 00000000000..93f058b0054 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAPDSIDEPATLabelSelector.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", + "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 SubscriptionSpecCAPAPDSIDEPATLabelSelector 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 SubscriptionSpecCAPAPDSIDEPATLabelSelector() { + } + + public SubscriptionSpecCAPAPDSIDEPATLabelSelector(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 SubscriptionSpecCAPAPDSIDEPATLabelSelectorBuilder edit() { + return new SubscriptionSpecCAPAPDSIDEPATLabelSelectorBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCAPAPDSIDEPATLabelSelectorBuilder 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/SubscriptionSpecCAPAPDSIDEPATNSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAPDSIDEPATNSMatchExpressions.java new file mode 100644 index 00000000000..e92657a1112 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAPDSIDEPATNSMatchExpressions.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 SubscriptionSpecCAPAPDSIDEPATNSMatchExpressions 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 SubscriptionSpecCAPAPDSIDEPATNSMatchExpressions() { + } + + public SubscriptionSpecCAPAPDSIDEPATNSMatchExpressions(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 SubscriptionSpecCAPAPDSIDEPATNSMatchExpressionsBuilder edit() { + return new SubscriptionSpecCAPAPDSIDEPATNSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCAPAPDSIDEPATNSMatchExpressionsBuilder 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/SubscriptionSpecCAPAPDSIDEPATNamespaceSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAPDSIDEPATNamespaceSelector.java new file mode 100644 index 00000000000..854b5895beb --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAPDSIDEPATNamespaceSelector.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", + "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 SubscriptionSpecCAPAPDSIDEPATNamespaceSelector 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 SubscriptionSpecCAPAPDSIDEPATNamespaceSelector() { + } + + public SubscriptionSpecCAPAPDSIDEPATNamespaceSelector(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 SubscriptionSpecCAPAPDSIDEPATNamespaceSelectorBuilder edit() { + return new SubscriptionSpecCAPAPDSIDEPATNamespaceSelectorBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCAPAPDSIDEPATNamespaceSelectorBuilder 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/SubscriptionSpecCAPAPDSIDEPodAffinityTerm.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAPDSIDEPodAffinityTerm.java new file mode 100644 index 00000000000..166e094f4a6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAPDSIDEPodAffinityTerm.java @@ -0,0 +1,186 @@ + +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({ + "labelSelector", + "matchLabelKeys", + "mismatchLabelKeys", + "namespaceSelector", + "namespaces", + "topologyKey" +}) +@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 SubscriptionSpecCAPAPDSIDEPodAffinityTerm implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private SubscriptionSpecCAPAPDSIDEPATLabelSelector labelSelector; + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchLabelKeys = new ArrayList<>(); + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List mismatchLabelKeys = new ArrayList<>(); + @JsonProperty("namespaceSelector") + private SubscriptionSpecCAPAPDSIDEPATNamespaceSelector namespaceSelector; + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List namespaces = new ArrayList<>(); + @JsonProperty("topologyKey") + private String topologyKey; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCAPAPDSIDEPodAffinityTerm() { + } + + public SubscriptionSpecCAPAPDSIDEPodAffinityTerm(SubscriptionSpecCAPAPDSIDEPATLabelSelector labelSelector, List matchLabelKeys, List mismatchLabelKeys, SubscriptionSpecCAPAPDSIDEPATNamespaceSelector namespaceSelector, List namespaces, String topologyKey) { + super(); + this.labelSelector = labelSelector; + this.matchLabelKeys = matchLabelKeys; + this.mismatchLabelKeys = mismatchLabelKeys; + this.namespaceSelector = namespaceSelector; + this.namespaces = namespaces; + this.topologyKey = topologyKey; + } + + @JsonProperty("labelSelector") + public SubscriptionSpecCAPAPDSIDEPATLabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(SubscriptionSpecCAPAPDSIDEPATLabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchLabelKeys() { + return matchLabelKeys; + } + + @JsonProperty("matchLabelKeys") + public void setMatchLabelKeys(List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMismatchLabelKeys() { + return mismatchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + public void setMismatchLabelKeys(List mismatchLabelKeys) { + this.mismatchLabelKeys = mismatchLabelKeys; + } + + @JsonProperty("namespaceSelector") + public SubscriptionSpecCAPAPDSIDEPATNamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + @JsonProperty("namespaceSelector") + public void setNamespaceSelector(SubscriptionSpecCAPAPDSIDEPATNamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNamespaces() { + return namespaces; + } + + @JsonProperty("namespaces") + public void setNamespaces(List namespaces) { + this.namespaces = namespaces; + } + + @JsonProperty("topologyKey") + public String getTopologyKey() { + return topologyKey; + } + + @JsonProperty("topologyKey") + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @JsonIgnore + public SubscriptionSpecCAPAPDSIDEPodAffinityTermBuilder edit() { + return new SubscriptionSpecCAPAPDSIDEPodAffinityTermBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCAPAPDSIDEPodAffinityTermBuilder 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/SubscriptionSpecCAPAPreferredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAPreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..05308789add --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPAPreferredDuringSchedulingIgnoredDuringExecution.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({ + "podAffinityTerm", + "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 SubscriptionSpecCAPAPreferredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("podAffinityTerm") + private SubscriptionSpecCAPAPDSIDEPodAffinityTerm podAffinityTerm; + @JsonProperty("weight") + private Integer weight; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCAPAPreferredDuringSchedulingIgnoredDuringExecution() { + } + + public SubscriptionSpecCAPAPreferredDuringSchedulingIgnoredDuringExecution(SubscriptionSpecCAPAPDSIDEPodAffinityTerm podAffinityTerm, Integer weight) { + super(); + this.podAffinityTerm = podAffinityTerm; + this.weight = weight; + } + + @JsonProperty("podAffinityTerm") + public SubscriptionSpecCAPAPDSIDEPodAffinityTerm getPodAffinityTerm() { + return podAffinityTerm; + } + + @JsonProperty("podAffinityTerm") + public void setPodAffinityTerm(SubscriptionSpecCAPAPDSIDEPodAffinityTerm podAffinityTerm) { + this.podAffinityTerm = podAffinityTerm; + } + + @JsonProperty("weight") + public Integer getWeight() { + return weight; + } + + @JsonProperty("weight") + public void setWeight(Integer weight) { + this.weight = weight; + } + + @JsonIgnore + public SubscriptionSpecCAPAPreferredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new SubscriptionSpecCAPAPreferredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCAPAPreferredDuringSchedulingIgnoredDuringExecutionBuilder 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/SubscriptionSpecCAPARDSIDELSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPARDSIDELSMatchExpressions.java new file mode 100644 index 00000000000..44f45ec6c05 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPARDSIDELSMatchExpressions.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 SubscriptionSpecCAPARDSIDELSMatchExpressions 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 SubscriptionSpecCAPARDSIDELSMatchExpressions() { + } + + public SubscriptionSpecCAPARDSIDELSMatchExpressions(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 SubscriptionSpecCAPARDSIDELSMatchExpressionsBuilder edit() { + return new SubscriptionSpecCAPARDSIDELSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCAPARDSIDELSMatchExpressionsBuilder 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/SubscriptionSpecCAPARDSIDELabelSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPARDSIDELabelSelector.java new file mode 100644 index 00000000000..0bae3c3462c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPARDSIDELabelSelector.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", + "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 SubscriptionSpecCAPARDSIDELabelSelector 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 SubscriptionSpecCAPARDSIDELabelSelector() { + } + + public SubscriptionSpecCAPARDSIDELabelSelector(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 SubscriptionSpecCAPARDSIDELabelSelectorBuilder edit() { + return new SubscriptionSpecCAPARDSIDELabelSelectorBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCAPARDSIDELabelSelectorBuilder 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/SubscriptionSpecCAPARDSIDENSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPARDSIDENSMatchExpressions.java new file mode 100644 index 00000000000..78325a5e03f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPARDSIDENSMatchExpressions.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 SubscriptionSpecCAPARDSIDENSMatchExpressions 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 SubscriptionSpecCAPARDSIDENSMatchExpressions() { + } + + public SubscriptionSpecCAPARDSIDENSMatchExpressions(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 SubscriptionSpecCAPARDSIDENSMatchExpressionsBuilder edit() { + return new SubscriptionSpecCAPARDSIDENSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCAPARDSIDENSMatchExpressionsBuilder 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/SubscriptionSpecCAPARDSIDENamespaceSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPARDSIDENamespaceSelector.java new file mode 100644 index 00000000000..943616d1971 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPARDSIDENamespaceSelector.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", + "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 SubscriptionSpecCAPARDSIDENamespaceSelector 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 SubscriptionSpecCAPARDSIDENamespaceSelector() { + } + + public SubscriptionSpecCAPARDSIDENamespaceSelector(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 SubscriptionSpecCAPARDSIDENamespaceSelectorBuilder edit() { + return new SubscriptionSpecCAPARDSIDENamespaceSelectorBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCAPARDSIDENamespaceSelectorBuilder 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/SubscriptionSpecCAPARequiredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPARequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..9204e0ed792 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPARequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,186 @@ + +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({ + "labelSelector", + "matchLabelKeys", + "mismatchLabelKeys", + "namespaceSelector", + "namespaces", + "topologyKey" +}) +@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 SubscriptionSpecCAPARequiredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private SubscriptionSpecCAPARDSIDELabelSelector labelSelector; + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchLabelKeys = new ArrayList<>(); + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List mismatchLabelKeys = new ArrayList<>(); + @JsonProperty("namespaceSelector") + private SubscriptionSpecCAPARDSIDENamespaceSelector namespaceSelector; + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List namespaces = new ArrayList<>(); + @JsonProperty("topologyKey") + private String topologyKey; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCAPARequiredDuringSchedulingIgnoredDuringExecution() { + } + + public SubscriptionSpecCAPARequiredDuringSchedulingIgnoredDuringExecution(SubscriptionSpecCAPARDSIDELabelSelector labelSelector, List matchLabelKeys, List mismatchLabelKeys, SubscriptionSpecCAPARDSIDENamespaceSelector namespaceSelector, List namespaces, String topologyKey) { + super(); + this.labelSelector = labelSelector; + this.matchLabelKeys = matchLabelKeys; + this.mismatchLabelKeys = mismatchLabelKeys; + this.namespaceSelector = namespaceSelector; + this.namespaces = namespaces; + this.topologyKey = topologyKey; + } + + @JsonProperty("labelSelector") + public SubscriptionSpecCAPARDSIDELabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(SubscriptionSpecCAPARDSIDELabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchLabelKeys() { + return matchLabelKeys; + } + + @JsonProperty("matchLabelKeys") + public void setMatchLabelKeys(List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMismatchLabelKeys() { + return mismatchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + public void setMismatchLabelKeys(List mismatchLabelKeys) { + this.mismatchLabelKeys = mismatchLabelKeys; + } + + @JsonProperty("namespaceSelector") + public SubscriptionSpecCAPARDSIDENamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + @JsonProperty("namespaceSelector") + public void setNamespaceSelector(SubscriptionSpecCAPARDSIDENamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNamespaces() { + return namespaces; + } + + @JsonProperty("namespaces") + public void setNamespaces(List namespaces) { + this.namespaces = namespaces; + } + + @JsonProperty("topologyKey") + public String getTopologyKey() { + return topologyKey; + } + + @JsonProperty("topologyKey") + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @JsonIgnore + public SubscriptionSpecCAPARequiredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new SubscriptionSpecCAPARequiredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCAPARequiredDuringSchedulingIgnoredDuringExecutionBuilder 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/SubscriptionSpecCAPodAffinity.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPodAffinity.java new file mode 100644 index 00000000000..34c8603c508 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPodAffinity.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({ + "preferredDuringSchedulingIgnoredDuringExecution", + "requiredDuringSchedulingIgnoredDuringExecution" +}) +@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 SubscriptionSpecCAPodAffinity implements Editable , KubernetesResource +{ + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List preferredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List requiredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCAPodAffinity() { + } + + public SubscriptionSpecCAPodAffinity(List preferredDuringSchedulingIgnoredDuringExecution, List requiredDuringSchedulingIgnoredDuringExecution) { + super(); + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + public void setPreferredDuringSchedulingIgnoredDuringExecution(List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + public void setRequiredDuringSchedulingIgnoredDuringExecution(List requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonIgnore + public SubscriptionSpecCAPodAffinityBuilder edit() { + return new SubscriptionSpecCAPodAffinityBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCAPodAffinityBuilder 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/SubscriptionSpecCAPodAntiAffinity.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPodAntiAffinity.java new file mode 100644 index 00000000000..ab50ec63e38 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAPodAntiAffinity.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({ + "preferredDuringSchedulingIgnoredDuringExecution", + "requiredDuringSchedulingIgnoredDuringExecution" +}) +@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 SubscriptionSpecCAPodAntiAffinity implements Editable , KubernetesResource +{ + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List preferredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List requiredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCAPodAntiAffinity() { + } + + public SubscriptionSpecCAPodAntiAffinity(List preferredDuringSchedulingIgnoredDuringExecution, List requiredDuringSchedulingIgnoredDuringExecution) { + super(); + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + public void setPreferredDuringSchedulingIgnoredDuringExecution(List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + public void setRequiredDuringSchedulingIgnoredDuringExecution(List requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonIgnore + public SubscriptionSpecCAPodAntiAffinityBuilder edit() { + return new SubscriptionSpecCAPodAntiAffinityBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCAPodAntiAffinityBuilder 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/SubscriptionSpecCAffinity.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAffinity.java new file mode 100644 index 00000000000..136453252be --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCAffinity.java @@ -0,0 +1,136 @@ + +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({ + "nodeAffinity", + "podAffinity", + "podAntiAffinity" +}) +@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 SubscriptionSpecCAffinity implements Editable , KubernetesResource +{ + + @JsonProperty("nodeAffinity") + private SubscriptionSpecCANodeAffinity nodeAffinity; + @JsonProperty("podAffinity") + private SubscriptionSpecCAPodAffinity podAffinity; + @JsonProperty("podAntiAffinity") + private SubscriptionSpecCAPodAntiAffinity podAntiAffinity; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCAffinity() { + } + + public SubscriptionSpecCAffinity(SubscriptionSpecCANodeAffinity nodeAffinity, SubscriptionSpecCAPodAffinity podAffinity, SubscriptionSpecCAPodAntiAffinity podAntiAffinity) { + super(); + this.nodeAffinity = nodeAffinity; + this.podAffinity = podAffinity; + this.podAntiAffinity = podAntiAffinity; + } + + @JsonProperty("nodeAffinity") + public SubscriptionSpecCANodeAffinity getNodeAffinity() { + return nodeAffinity; + } + + @JsonProperty("nodeAffinity") + public void setNodeAffinity(SubscriptionSpecCANodeAffinity nodeAffinity) { + this.nodeAffinity = nodeAffinity; + } + + @JsonProperty("podAffinity") + public SubscriptionSpecCAPodAffinity getPodAffinity() { + return podAffinity; + } + + @JsonProperty("podAffinity") + public void setPodAffinity(SubscriptionSpecCAPodAffinity podAffinity) { + this.podAffinity = podAffinity; + } + + @JsonProperty("podAntiAffinity") + public SubscriptionSpecCAPodAntiAffinity getPodAntiAffinity() { + return podAntiAffinity; + } + + @JsonProperty("podAntiAffinity") + public void setPodAntiAffinity(SubscriptionSpecCAPodAntiAffinity podAntiAffinity) { + this.podAntiAffinity = podAntiAffinity; + } + + @JsonIgnore + public SubscriptionSpecCAffinityBuilder edit() { + return new SubscriptionSpecCAffinityBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCAffinityBuilder 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/SubscriptionSpecCEFConfigMapRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCEFConfigMapRef.java new file mode 100644 index 00000000000..24b91f5806e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCEFConfigMapRef.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({ + "name", + "optional" +}) +@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 SubscriptionSpecCEFConfigMapRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCEFConfigMapRef() { + } + + public SubscriptionSpecCEFConfigMapRef(String name, Boolean optional) { + super(); + this.name = name; + this.optional = optional; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public SubscriptionSpecCEFConfigMapRefBuilder edit() { + return new SubscriptionSpecCEFConfigMapRefBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCEFConfigMapRefBuilder 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/SubscriptionSpecCEFSecretRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCEFSecretRef.java new file mode 100644 index 00000000000..28ea906c801 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCEFSecretRef.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({ + "name", + "optional" +}) +@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 SubscriptionSpecCEFSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCEFSecretRef() { + } + + public SubscriptionSpecCEFSecretRef(String name, Boolean optional) { + super(); + this.name = name; + this.optional = optional; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public SubscriptionSpecCEFSecretRefBuilder edit() { + return new SubscriptionSpecCEFSecretRefBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCEFSecretRefBuilder 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/SubscriptionSpecCEVFConfigMapKeyRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCEVFConfigMapKeyRef.java new file mode 100644 index 00000000000..873636fa4b2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCEVFConfigMapKeyRef.java @@ -0,0 +1,136 @@ + +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({ + "key", + "name", + "optional" +}) +@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 SubscriptionSpecCEVFConfigMapKeyRef implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCEVFConfigMapKeyRef() { + } + + public SubscriptionSpecCEVFConfigMapKeyRef(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public SubscriptionSpecCEVFConfigMapKeyRefBuilder edit() { + return new SubscriptionSpecCEVFConfigMapKeyRefBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCEVFConfigMapKeyRefBuilder 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/SubscriptionSpecCEVFFieldRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCEVFFieldRef.java new file mode 100644 index 00000000000..51ff12956c4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCEVFFieldRef.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({ + "apiVersion", + "fieldPath" +}) +@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 SubscriptionSpecCEVFFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiVersion") + private String apiVersion; + @JsonProperty("fieldPath") + private String fieldPath; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCEVFFieldRef() { + } + + public SubscriptionSpecCEVFFieldRef(String apiVersion, String fieldPath) { + super(); + this.apiVersion = apiVersion; + this.fieldPath = fieldPath; + } + + @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; + } + + @JsonIgnore + public SubscriptionSpecCEVFFieldRefBuilder edit() { + return new SubscriptionSpecCEVFFieldRefBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCEVFFieldRefBuilder 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/SubscriptionSpecCEVFResourceFieldRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCEVFResourceFieldRef.java new file mode 100644 index 00000000000..a82d16f6c77 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCEVFResourceFieldRef.java @@ -0,0 +1,138 @@ + +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({ + "containerName", + "divisor", + "resource" +}) +@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 SubscriptionSpecCEVFResourceFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("containerName") + private String containerName; + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object divisor; + @JsonProperty("resource") + private String resource; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCEVFResourceFieldRef() { + } + + public SubscriptionSpecCEVFResourceFieldRef(String containerName, Object divisor, String resource) { + super(); + this.containerName = containerName; + this.divisor = divisor; + this.resource = resource; + } + + @JsonProperty("containerName") + public String getContainerName() { + return containerName; + } + + @JsonProperty("containerName") + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @JsonProperty("divisor") + public Object getDivisor() { + return divisor; + } + + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setDivisor(Object divisor) { + this.divisor = divisor; + } + + @JsonProperty("resource") + public String getResource() { + return resource; + } + + @JsonProperty("resource") + public void setResource(String resource) { + this.resource = resource; + } + + @JsonIgnore + public SubscriptionSpecCEVFResourceFieldRefBuilder edit() { + return new SubscriptionSpecCEVFResourceFieldRefBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCEVFResourceFieldRefBuilder 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/SubscriptionSpecCEVFSecretKeyRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCEVFSecretKeyRef.java new file mode 100644 index 00000000000..e536ce1f99b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCEVFSecretKeyRef.java @@ -0,0 +1,136 @@ + +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({ + "key", + "name", + "optional" +}) +@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 SubscriptionSpecCEVFSecretKeyRef implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCEVFSecretKeyRef() { + } + + public SubscriptionSpecCEVFSecretKeyRef(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public SubscriptionSpecCEVFSecretKeyRefBuilder edit() { + return new SubscriptionSpecCEVFSecretKeyRefBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCEVFSecretKeyRefBuilder 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/SubscriptionSpecCEValueFrom.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCEValueFrom.java new file mode 100644 index 00000000000..b58267dcac8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCEValueFrom.java @@ -0,0 +1,150 @@ + +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({ + "configMapKeyRef", + "fieldRef", + "resourceFieldRef", + "secretKeyRef" +}) +@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 SubscriptionSpecCEValueFrom implements Editable , KubernetesResource +{ + + @JsonProperty("configMapKeyRef") + private SubscriptionSpecCEVFConfigMapKeyRef configMapKeyRef; + @JsonProperty("fieldRef") + private SubscriptionSpecCEVFFieldRef fieldRef; + @JsonProperty("resourceFieldRef") + private SubscriptionSpecCEVFResourceFieldRef resourceFieldRef; + @JsonProperty("secretKeyRef") + private SubscriptionSpecCEVFSecretKeyRef secretKeyRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCEValueFrom() { + } + + public SubscriptionSpecCEValueFrom(SubscriptionSpecCEVFConfigMapKeyRef configMapKeyRef, SubscriptionSpecCEVFFieldRef fieldRef, SubscriptionSpecCEVFResourceFieldRef resourceFieldRef, SubscriptionSpecCEVFSecretKeyRef secretKeyRef) { + super(); + this.configMapKeyRef = configMapKeyRef; + this.fieldRef = fieldRef; + this.resourceFieldRef = resourceFieldRef; + this.secretKeyRef = secretKeyRef; + } + + @JsonProperty("configMapKeyRef") + public SubscriptionSpecCEVFConfigMapKeyRef getConfigMapKeyRef() { + return configMapKeyRef; + } + + @JsonProperty("configMapKeyRef") + public void setConfigMapKeyRef(SubscriptionSpecCEVFConfigMapKeyRef configMapKeyRef) { + this.configMapKeyRef = configMapKeyRef; + } + + @JsonProperty("fieldRef") + public SubscriptionSpecCEVFFieldRef getFieldRef() { + return fieldRef; + } + + @JsonProperty("fieldRef") + public void setFieldRef(SubscriptionSpecCEVFFieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @JsonProperty("resourceFieldRef") + public SubscriptionSpecCEVFResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + @JsonProperty("resourceFieldRef") + public void setResourceFieldRef(SubscriptionSpecCEVFResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @JsonProperty("secretKeyRef") + public SubscriptionSpecCEVFSecretKeyRef getSecretKeyRef() { + return secretKeyRef; + } + + @JsonProperty("secretKeyRef") + public void setSecretKeyRef(SubscriptionSpecCEVFSecretKeyRef secretKeyRef) { + this.secretKeyRef = secretKeyRef; + } + + @JsonIgnore + public SubscriptionSpecCEValueFromBuilder edit() { + return new SubscriptionSpecCEValueFromBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCEValueFromBuilder 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/SubscriptionSpecCEnv.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCEnv.java new file mode 100644 index 00000000000..843b98e4b32 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCEnv.java @@ -0,0 +1,136 @@ + +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({ + "name", + "value", + "valueFrom" +}) +@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 SubscriptionSpecCEnv implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonProperty("valueFrom") + private SubscriptionSpecCEValueFrom valueFrom; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCEnv() { + } + + public SubscriptionSpecCEnv(String name, String value, SubscriptionSpecCEValueFrom valueFrom) { + super(); + this.name = name; + this.value = value; + this.valueFrom = valueFrom; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonProperty("valueFrom") + public SubscriptionSpecCEValueFrom getValueFrom() { + return valueFrom; + } + + @JsonProperty("valueFrom") + public void setValueFrom(SubscriptionSpecCEValueFrom valueFrom) { + this.valueFrom = valueFrom; + } + + @JsonIgnore + public SubscriptionSpecCEnvBuilder edit() { + return new SubscriptionSpecCEnvBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCEnvBuilder 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/SubscriptionSpecCEnvFrom.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCEnvFrom.java new file mode 100644 index 00000000000..874fce5a299 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCEnvFrom.java @@ -0,0 +1,136 @@ + +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({ + "configMapRef", + "prefix", + "secretRef" +}) +@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 SubscriptionSpecCEnvFrom implements Editable , KubernetesResource +{ + + @JsonProperty("configMapRef") + private SubscriptionSpecCEFConfigMapRef configMapRef; + @JsonProperty("prefix") + private String prefix; + @JsonProperty("secretRef") + private SubscriptionSpecCEFSecretRef secretRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCEnvFrom() { + } + + public SubscriptionSpecCEnvFrom(SubscriptionSpecCEFConfigMapRef configMapRef, String prefix, SubscriptionSpecCEFSecretRef secretRef) { + super(); + this.configMapRef = configMapRef; + this.prefix = prefix; + this.secretRef = secretRef; + } + + @JsonProperty("configMapRef") + public SubscriptionSpecCEFConfigMapRef getConfigMapRef() { + return configMapRef; + } + + @JsonProperty("configMapRef") + public void setConfigMapRef(SubscriptionSpecCEFConfigMapRef configMapRef) { + this.configMapRef = configMapRef; + } + + @JsonProperty("prefix") + public String getPrefix() { + return prefix; + } + + @JsonProperty("prefix") + public void setPrefix(String prefix) { + this.prefix = prefix; + } + + @JsonProperty("secretRef") + public SubscriptionSpecCEFSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(SubscriptionSpecCEFSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonIgnore + public SubscriptionSpecCEnvFromBuilder edit() { + return new SubscriptionSpecCEnvFromBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCEnvFromBuilder 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/SubscriptionSpecCRClaims.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCRClaims.java new file mode 100644 index 00000000000..676be16cc19 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCRClaims.java @@ -0,0 +1,108 @@ + +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({ + "name" +}) +@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 SubscriptionSpecCRClaims implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCRClaims() { + } + + public SubscriptionSpecCRClaims(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public SubscriptionSpecCRClaimsBuilder edit() { + return new SubscriptionSpecCRClaimsBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCRClaimsBuilder 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/SubscriptionSpecCResources.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCResources.java new file mode 100644 index 00000000000..11e3b30f6c7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCResources.java @@ -0,0 +1,148 @@ + +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({ + "claims", + "limits", + "requests" +}) +@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 SubscriptionSpecCResources implements Editable , KubernetesResource +{ + + @JsonProperty("claims") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List claims = new ArrayList<>(); + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map limits = new LinkedHashMap<>(); + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map requests = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCResources() { + } + + public SubscriptionSpecCResources(List claims, Map limits, Map requests) { + super(); + this.claims = claims; + this.limits = limits; + this.requests = requests; + } + + @JsonProperty("claims") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getClaims() { + return claims; + } + + @JsonProperty("claims") + public void setClaims(List claims) { + this.claims = claims; + } + + @JsonProperty("limits") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLimits() { + return limits; + } + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setLimits(Map limits) { + this.limits = limits; + } + + @JsonProperty("requests") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getRequests() { + return requests; + } + + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setRequests(Map requests) { + this.requests = requests; + } + + @JsonIgnore + public SubscriptionSpecCResourcesBuilder edit() { + return new SubscriptionSpecCResourcesBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCResourcesBuilder 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/SubscriptionSpecCSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCSMatchExpressions.java new file mode 100644 index 00000000000..62b50a6d769 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCSMatchExpressions.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 SubscriptionSpecCSMatchExpressions 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 SubscriptionSpecCSMatchExpressions() { + } + + public SubscriptionSpecCSMatchExpressions(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 SubscriptionSpecCSMatchExpressionsBuilder edit() { + return new SubscriptionSpecCSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCSMatchExpressionsBuilder 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/SubscriptionSpecCSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCSelector.java new file mode 100644 index 00000000000..19bdddaa703 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCSelector.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", + "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 SubscriptionSpecCSelector 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 SubscriptionSpecCSelector() { + } + + public SubscriptionSpecCSelector(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 SubscriptionSpecCSelectorBuilder edit() { + return new SubscriptionSpecCSelectorBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCSelectorBuilder 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/SubscriptionSpecCTolerations.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCTolerations.java new file mode 100644 index 00000000000..1f1786a039e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCTolerations.java @@ -0,0 +1,164 @@ + +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({ + "effect", + "key", + "operator", + "tolerationSeconds", + "value" +}) +@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 SubscriptionSpecCTolerations implements Editable , KubernetesResource +{ + + @JsonProperty("effect") + private String effect; + @JsonProperty("key") + private String key; + @JsonProperty("operator") + private String operator; + @JsonProperty("tolerationSeconds") + private Long tolerationSeconds; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCTolerations() { + } + + public SubscriptionSpecCTolerations(String effect, String key, String operator, Long tolerationSeconds, String value) { + super(); + this.effect = effect; + this.key = key; + this.operator = operator; + this.tolerationSeconds = tolerationSeconds; + this.value = value; + } + + @JsonProperty("effect") + public String getEffect() { + return effect; + } + + @JsonProperty("effect") + public void setEffect(String effect) { + this.effect = effect; + } + + @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("tolerationSeconds") + public Long getTolerationSeconds() { + return tolerationSeconds; + } + + @JsonProperty("tolerationSeconds") + public void setTolerationSeconds(Long tolerationSeconds) { + this.tolerationSeconds = tolerationSeconds; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public SubscriptionSpecCTolerationsBuilder edit() { + return new SubscriptionSpecCTolerationsBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCTolerationsBuilder 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/SubscriptionSpecCVAwsElasticBlockStore.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVAwsElasticBlockStore.java new file mode 100644 index 00000000000..5cff5735566 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVAwsElasticBlockStore.java @@ -0,0 +1,150 @@ + +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({ + "fsType", + "partition", + "readOnly", + "volumeID" +}) +@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 SubscriptionSpecCVAwsElasticBlockStore implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("partition") + private Integer partition; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("volumeID") + private String volumeID; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVAwsElasticBlockStore() { + } + + public SubscriptionSpecCVAwsElasticBlockStore(String fsType, Integer partition, Boolean readOnly, String volumeID) { + super(); + this.fsType = fsType; + this.partition = partition; + this.readOnly = readOnly; + this.volumeID = volumeID; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("partition") + public Integer getPartition() { + return partition; + } + + @JsonProperty("partition") + public void setPartition(Integer partition) { + this.partition = partition; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("volumeID") + public String getVolumeID() { + return volumeID; + } + + @JsonProperty("volumeID") + public void setVolumeID(String volumeID) { + this.volumeID = volumeID; + } + + @JsonIgnore + public SubscriptionSpecCVAwsElasticBlockStoreBuilder edit() { + return new SubscriptionSpecCVAwsElasticBlockStoreBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVAwsElasticBlockStoreBuilder 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/SubscriptionSpecCVAzureDisk.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVAzureDisk.java new file mode 100644 index 00000000000..9059195f6ec --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVAzureDisk.java @@ -0,0 +1,178 @@ + +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({ + "kind", + "cachingMode", + "diskName", + "diskURI", + "fsType", + "readOnly" +}) +@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 SubscriptionSpecCVAzureDisk implements Editable , KubernetesResource +{ + + @JsonProperty("cachingMode") + private String cachingMode; + @JsonProperty("diskName") + private String diskName; + @JsonProperty("diskURI") + private String diskURI; + @JsonProperty("fsType") + private String fsType; + @JsonProperty("kind") + private String kind; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVAzureDisk() { + } + + public SubscriptionSpecCVAzureDisk(String cachingMode, String diskName, String diskURI, String fsType, String kind, Boolean readOnly) { + super(); + this.cachingMode = cachingMode; + this.diskName = diskName; + this.diskURI = diskURI; + this.fsType = fsType; + this.kind = kind; + this.readOnly = readOnly; + } + + @JsonProperty("cachingMode") + public String getCachingMode() { + return cachingMode; + } + + @JsonProperty("cachingMode") + public void setCachingMode(String cachingMode) { + this.cachingMode = cachingMode; + } + + @JsonProperty("diskName") + public String getDiskName() { + return diskName; + } + + @JsonProperty("diskName") + public void setDiskName(String diskName) { + this.diskName = diskName; + } + + @JsonProperty("diskURI") + public String getDiskURI() { + return diskURI; + } + + @JsonProperty("diskURI") + public void setDiskURI(String diskURI) { + this.diskURI = diskURI; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("kind") + public String getKind() { + return kind; + } + + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonIgnore + public SubscriptionSpecCVAzureDiskBuilder edit() { + return new SubscriptionSpecCVAzureDiskBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVAzureDiskBuilder 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/SubscriptionSpecCVAzureFile.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVAzureFile.java new file mode 100644 index 00000000000..e693f09d0be --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVAzureFile.java @@ -0,0 +1,136 @@ + +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({ + "readOnly", + "secretName", + "shareName" +}) +@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 SubscriptionSpecCVAzureFile implements Editable , KubernetesResource +{ + + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretName") + private String secretName; + @JsonProperty("shareName") + private String shareName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVAzureFile() { + } + + public SubscriptionSpecCVAzureFile(Boolean readOnly, String secretName, String shareName) { + super(); + this.readOnly = readOnly; + this.secretName = secretName; + this.shareName = shareName; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretName") + public String getSecretName() { + return secretName; + } + + @JsonProperty("secretName") + public void setSecretName(String secretName) { + this.secretName = secretName; + } + + @JsonProperty("shareName") + public String getShareName() { + return shareName; + } + + @JsonProperty("shareName") + public void setShareName(String shareName) { + this.shareName = shareName; + } + + @JsonIgnore + public SubscriptionSpecCVAzureFileBuilder edit() { + return new SubscriptionSpecCVAzureFileBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVAzureFileBuilder 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/SubscriptionSpecCVCMItems.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVCMItems.java new file mode 100644 index 00000000000..4dee2e547f2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVCMItems.java @@ -0,0 +1,136 @@ + +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({ + "key", + "mode", + "path" +}) +@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 SubscriptionSpecCVCMItems implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("mode") + private Integer mode; + @JsonProperty("path") + private String path; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVCMItems() { + } + + public SubscriptionSpecCVCMItems(String key, Integer mode, String path) { + super(); + this.key = key; + this.mode = mode; + this.path = path; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("mode") + public Integer getMode() { + return mode; + } + + @JsonProperty("mode") + public void setMode(Integer mode) { + this.mode = mode; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonIgnore + public SubscriptionSpecCVCMItemsBuilder edit() { + return new SubscriptionSpecCVCMItemsBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVCMItemsBuilder 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/SubscriptionSpecCVCNodePublishSecretRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVCNodePublishSecretRef.java new file mode 100644 index 00000000000..f06dd51c879 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVCNodePublishSecretRef.java @@ -0,0 +1,108 @@ + +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({ + "name" +}) +@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 SubscriptionSpecCVCNodePublishSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVCNodePublishSecretRef() { + } + + public SubscriptionSpecCVCNodePublishSecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public SubscriptionSpecCVCNodePublishSecretRefBuilder edit() { + return new SubscriptionSpecCVCNodePublishSecretRefBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVCNodePublishSecretRefBuilder 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/SubscriptionSpecCVCSecretRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVCSecretRef.java new file mode 100644 index 00000000000..86614eb2e34 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVCSecretRef.java @@ -0,0 +1,108 @@ + +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({ + "name" +}) +@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 SubscriptionSpecCVCSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVCSecretRef() { + } + + public SubscriptionSpecCVCSecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public SubscriptionSpecCVCSecretRefBuilder edit() { + return new SubscriptionSpecCVCSecretRefBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVCSecretRefBuilder 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/SubscriptionSpecCVCSecretRef_1.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVCSecretRef_1.java new file mode 100644 index 00000000000..da30d93d0c1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVCSecretRef_1.java @@ -0,0 +1,108 @@ + +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({ + "name" +}) +@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 SubscriptionSpecCVCSecretRef_1 implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVCSecretRef_1() { + } + + public SubscriptionSpecCVCSecretRef_1(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public SubscriptionSpecCVCSecretRef_1Builder edit() { + return new SubscriptionSpecCVCSecretRef_1Builder(this); + } + + @JsonIgnore + public SubscriptionSpecCVCSecretRef_1Builder 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/SubscriptionSpecCVCephfs.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVCephfs.java new file mode 100644 index 00000000000..90d2cf2c115 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVCephfs.java @@ -0,0 +1,182 @@ + +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({ + "monitors", + "path", + "readOnly", + "secretFile", + "secretRef", + "user" +}) +@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 SubscriptionSpecCVCephfs implements Editable , KubernetesResource +{ + + @JsonProperty("monitors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List monitors = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretFile") + private String secretFile; + @JsonProperty("secretRef") + private SubscriptionSpecCVCSecretRef secretRef; + @JsonProperty("user") + private String user; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVCephfs() { + } + + public SubscriptionSpecCVCephfs(List monitors, String path, Boolean readOnly, String secretFile, SubscriptionSpecCVCSecretRef secretRef, String user) { + super(); + this.monitors = monitors; + this.path = path; + this.readOnly = readOnly; + this.secretFile = secretFile; + this.secretRef = secretRef; + this.user = user; + } + + @JsonProperty("monitors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMonitors() { + return monitors; + } + + @JsonProperty("monitors") + public void setMonitors(List monitors) { + this.monitors = monitors; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretFile") + public String getSecretFile() { + return secretFile; + } + + @JsonProperty("secretFile") + public void setSecretFile(String secretFile) { + this.secretFile = secretFile; + } + + @JsonProperty("secretRef") + public SubscriptionSpecCVCSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(SubscriptionSpecCVCSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonProperty("user") + public String getUser() { + return user; + } + + @JsonProperty("user") + public void setUser(String user) { + this.user = user; + } + + @JsonIgnore + public SubscriptionSpecCVCephfsBuilder edit() { + return new SubscriptionSpecCVCephfsBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVCephfsBuilder 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/SubscriptionSpecCVCinder.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVCinder.java new file mode 100644 index 00000000000..0aed333b954 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVCinder.java @@ -0,0 +1,150 @@ + +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({ + "fsType", + "readOnly", + "secretRef", + "volumeID" +}) +@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 SubscriptionSpecCVCinder implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretRef") + private SubscriptionSpecCVCSecretRef_1 secretRef; + @JsonProperty("volumeID") + private String volumeID; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVCinder() { + } + + public SubscriptionSpecCVCinder(String fsType, Boolean readOnly, SubscriptionSpecCVCSecretRef_1 secretRef, String volumeID) { + super(); + this.fsType = fsType; + this.readOnly = readOnly; + this.secretRef = secretRef; + this.volumeID = volumeID; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretRef") + public SubscriptionSpecCVCSecretRef_1 getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(SubscriptionSpecCVCSecretRef_1 secretRef) { + this.secretRef = secretRef; + } + + @JsonProperty("volumeID") + public String getVolumeID() { + return volumeID; + } + + @JsonProperty("volumeID") + public void setVolumeID(String volumeID) { + this.volumeID = volumeID; + } + + @JsonIgnore + public SubscriptionSpecCVCinderBuilder edit() { + return new SubscriptionSpecCVCinderBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVCinderBuilder 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/SubscriptionSpecCVConfigMap.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVConfigMap.java new file mode 100644 index 00000000000..17de9c14e59 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVConfigMap.java @@ -0,0 +1,154 @@ + +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({ + "defaultMode", + "items", + "name", + "optional" +}) +@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 SubscriptionSpecCVConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("defaultMode") + private Integer defaultMode; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVConfigMap() { + } + + public SubscriptionSpecCVConfigMap(Integer defaultMode, List items, String name, Boolean optional) { + super(); + this.defaultMode = defaultMode; + this.items = items; + this.name = name; + this.optional = optional; + } + + @JsonProperty("defaultMode") + public Integer getDefaultMode() { + return defaultMode; + } + + @JsonProperty("defaultMode") + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public SubscriptionSpecCVConfigMapBuilder edit() { + return new SubscriptionSpecCVConfigMapBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVConfigMapBuilder 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/SubscriptionSpecCVCsi.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVCsi.java new file mode 100644 index 00000000000..1f7b82c951f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVCsi.java @@ -0,0 +1,166 @@ + +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({ + "driver", + "fsType", + "nodePublishSecretRef", + "readOnly", + "volumeAttributes" +}) +@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 SubscriptionSpecCVCsi implements Editable , KubernetesResource +{ + + @JsonProperty("driver") + private String driver; + @JsonProperty("fsType") + private String fsType; + @JsonProperty("nodePublishSecretRef") + private SubscriptionSpecCVCNodePublishSecretRef nodePublishSecretRef; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("volumeAttributes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map volumeAttributes = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVCsi() { + } + + public SubscriptionSpecCVCsi(String driver, String fsType, SubscriptionSpecCVCNodePublishSecretRef nodePublishSecretRef, Boolean readOnly, Map volumeAttributes) { + super(); + this.driver = driver; + this.fsType = fsType; + this.nodePublishSecretRef = nodePublishSecretRef; + this.readOnly = readOnly; + this.volumeAttributes = volumeAttributes; + } + + @JsonProperty("driver") + public String getDriver() { + return driver; + } + + @JsonProperty("driver") + public void setDriver(String driver) { + this.driver = driver; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("nodePublishSecretRef") + public SubscriptionSpecCVCNodePublishSecretRef getNodePublishSecretRef() { + return nodePublishSecretRef; + } + + @JsonProperty("nodePublishSecretRef") + public void setNodePublishSecretRef(SubscriptionSpecCVCNodePublishSecretRef nodePublishSecretRef) { + this.nodePublishSecretRef = nodePublishSecretRef; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("volumeAttributes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getVolumeAttributes() { + return volumeAttributes; + } + + @JsonProperty("volumeAttributes") + public void setVolumeAttributes(Map volumeAttributes) { + this.volumeAttributes = volumeAttributes; + } + + @JsonIgnore + public SubscriptionSpecCVCsiBuilder edit() { + return new SubscriptionSpecCVCsiBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVCsiBuilder 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/SubscriptionSpecCVDAIFieldRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVDAIFieldRef.java new file mode 100644 index 00000000000..8e5aba3c78a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVDAIFieldRef.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({ + "apiVersion", + "fieldPath" +}) +@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 SubscriptionSpecCVDAIFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiVersion") + private String apiVersion; + @JsonProperty("fieldPath") + private String fieldPath; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVDAIFieldRef() { + } + + public SubscriptionSpecCVDAIFieldRef(String apiVersion, String fieldPath) { + super(); + this.apiVersion = apiVersion; + this.fieldPath = fieldPath; + } + + @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; + } + + @JsonIgnore + public SubscriptionSpecCVDAIFieldRefBuilder edit() { + return new SubscriptionSpecCVDAIFieldRefBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVDAIFieldRefBuilder 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/SubscriptionSpecCVDAIResourceFieldRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVDAIResourceFieldRef.java new file mode 100644 index 00000000000..60d3d54b995 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVDAIResourceFieldRef.java @@ -0,0 +1,138 @@ + +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({ + "containerName", + "divisor", + "resource" +}) +@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 SubscriptionSpecCVDAIResourceFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("containerName") + private String containerName; + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object divisor; + @JsonProperty("resource") + private String resource; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVDAIResourceFieldRef() { + } + + public SubscriptionSpecCVDAIResourceFieldRef(String containerName, Object divisor, String resource) { + super(); + this.containerName = containerName; + this.divisor = divisor; + this.resource = resource; + } + + @JsonProperty("containerName") + public String getContainerName() { + return containerName; + } + + @JsonProperty("containerName") + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @JsonProperty("divisor") + public Object getDivisor() { + return divisor; + } + + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setDivisor(Object divisor) { + this.divisor = divisor; + } + + @JsonProperty("resource") + public String getResource() { + return resource; + } + + @JsonProperty("resource") + public void setResource(String resource) { + this.resource = resource; + } + + @JsonIgnore + public SubscriptionSpecCVDAIResourceFieldRefBuilder edit() { + return new SubscriptionSpecCVDAIResourceFieldRefBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVDAIResourceFieldRefBuilder 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/SubscriptionSpecCVDAItems.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVDAItems.java new file mode 100644 index 00000000000..6dd1924624c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVDAItems.java @@ -0,0 +1,150 @@ + +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({ + "fieldRef", + "mode", + "path", + "resourceFieldRef" +}) +@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 SubscriptionSpecCVDAItems implements Editable , KubernetesResource +{ + + @JsonProperty("fieldRef") + private SubscriptionSpecCVDAIFieldRef fieldRef; + @JsonProperty("mode") + private Integer mode; + @JsonProperty("path") + private String path; + @JsonProperty("resourceFieldRef") + private SubscriptionSpecCVDAIResourceFieldRef resourceFieldRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVDAItems() { + } + + public SubscriptionSpecCVDAItems(SubscriptionSpecCVDAIFieldRef fieldRef, Integer mode, String path, SubscriptionSpecCVDAIResourceFieldRef resourceFieldRef) { + super(); + this.fieldRef = fieldRef; + this.mode = mode; + this.path = path; + this.resourceFieldRef = resourceFieldRef; + } + + @JsonProperty("fieldRef") + public SubscriptionSpecCVDAIFieldRef getFieldRef() { + return fieldRef; + } + + @JsonProperty("fieldRef") + public void setFieldRef(SubscriptionSpecCVDAIFieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @JsonProperty("mode") + public Integer getMode() { + return mode; + } + + @JsonProperty("mode") + public void setMode(Integer mode) { + this.mode = mode; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("resourceFieldRef") + public SubscriptionSpecCVDAIResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + @JsonProperty("resourceFieldRef") + public void setResourceFieldRef(SubscriptionSpecCVDAIResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @JsonIgnore + public SubscriptionSpecCVDAItemsBuilder edit() { + return new SubscriptionSpecCVDAItemsBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVDAItemsBuilder 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/SubscriptionSpecCVDownwardAPI.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVDownwardAPI.java new file mode 100644 index 00000000000..61000665d8d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVDownwardAPI.java @@ -0,0 +1,126 @@ + +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({ + "defaultMode", + "items" +}) +@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 SubscriptionSpecCVDownwardAPI implements Editable , KubernetesResource +{ + + @JsonProperty("defaultMode") + private Integer defaultMode; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVDownwardAPI() { + } + + public SubscriptionSpecCVDownwardAPI(Integer defaultMode, List items) { + super(); + this.defaultMode = defaultMode; + this.items = items; + } + + @JsonProperty("defaultMode") + public Integer getDefaultMode() { + return defaultMode; + } + + @JsonProperty("defaultMode") + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + @JsonIgnore + public SubscriptionSpecCVDownwardAPIBuilder edit() { + return new SubscriptionSpecCVDownwardAPIBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVDownwardAPIBuilder 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/SubscriptionSpecCVEVCTSpec.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVEVCTSpec.java new file mode 100644 index 00000000000..c4e5a93faf2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVEVCTSpec.java @@ -0,0 +1,224 @@ + +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({ + "accessModes", + "dataSource", + "dataSourceRef", + "resources", + "selector", + "storageClassName", + "volumeAttributesClassName", + "volumeMode", + "volumeName" +}) +@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 SubscriptionSpecCVEVCTSpec implements Editable , KubernetesResource +{ + + @JsonProperty("accessModes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List accessModes = new ArrayList<>(); + @JsonProperty("dataSource") + private SubscriptionSpecCVEVCTSpecDataSource dataSource; + @JsonProperty("dataSourceRef") + private SubscriptionSpecCVEVCTSpecDataSourceRef dataSourceRef; + @JsonProperty("resources") + private SubscriptionSpecCVEVCTSpecResources resources; + @JsonProperty("selector") + private SubscriptionSpecCVEVCTSpecSelector selector; + @JsonProperty("storageClassName") + private String storageClassName; + @JsonProperty("volumeAttributesClassName") + private String volumeAttributesClassName; + @JsonProperty("volumeMode") + private String volumeMode; + @JsonProperty("volumeName") + private String volumeName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVEVCTSpec() { + } + + public SubscriptionSpecCVEVCTSpec(List accessModes, SubscriptionSpecCVEVCTSpecDataSource dataSource, SubscriptionSpecCVEVCTSpecDataSourceRef dataSourceRef, SubscriptionSpecCVEVCTSpecResources resources, SubscriptionSpecCVEVCTSpecSelector selector, String storageClassName, String volumeAttributesClassName, String volumeMode, String volumeName) { + super(); + this.accessModes = accessModes; + this.dataSource = dataSource; + this.dataSourceRef = dataSourceRef; + this.resources = resources; + this.selector = selector; + this.storageClassName = storageClassName; + this.volumeAttributesClassName = volumeAttributesClassName; + this.volumeMode = volumeMode; + this.volumeName = volumeName; + } + + @JsonProperty("accessModes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAccessModes() { + return accessModes; + } + + @JsonProperty("accessModes") + public void setAccessModes(List accessModes) { + this.accessModes = accessModes; + } + + @JsonProperty("dataSource") + public SubscriptionSpecCVEVCTSpecDataSource getDataSource() { + return dataSource; + } + + @JsonProperty("dataSource") + public void setDataSource(SubscriptionSpecCVEVCTSpecDataSource dataSource) { + this.dataSource = dataSource; + } + + @JsonProperty("dataSourceRef") + public SubscriptionSpecCVEVCTSpecDataSourceRef getDataSourceRef() { + return dataSourceRef; + } + + @JsonProperty("dataSourceRef") + public void setDataSourceRef(SubscriptionSpecCVEVCTSpecDataSourceRef dataSourceRef) { + this.dataSourceRef = dataSourceRef; + } + + @JsonProperty("resources") + public SubscriptionSpecCVEVCTSpecResources getResources() { + return resources; + } + + @JsonProperty("resources") + public void setResources(SubscriptionSpecCVEVCTSpecResources resources) { + this.resources = resources; + } + + @JsonProperty("selector") + public SubscriptionSpecCVEVCTSpecSelector getSelector() { + return selector; + } + + @JsonProperty("selector") + public void setSelector(SubscriptionSpecCVEVCTSpecSelector selector) { + this.selector = selector; + } + + @JsonProperty("storageClassName") + public String getStorageClassName() { + return storageClassName; + } + + @JsonProperty("storageClassName") + public void setStorageClassName(String storageClassName) { + this.storageClassName = storageClassName; + } + + @JsonProperty("volumeAttributesClassName") + public String getVolumeAttributesClassName() { + return volumeAttributesClassName; + } + + @JsonProperty("volumeAttributesClassName") + public void setVolumeAttributesClassName(String volumeAttributesClassName) { + this.volumeAttributesClassName = volumeAttributesClassName; + } + + @JsonProperty("volumeMode") + public String getVolumeMode() { + return volumeMode; + } + + @JsonProperty("volumeMode") + public void setVolumeMode(String volumeMode) { + this.volumeMode = volumeMode; + } + + @JsonProperty("volumeName") + public String getVolumeName() { + return volumeName; + } + + @JsonProperty("volumeName") + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } + + @JsonIgnore + public SubscriptionSpecCVEVCTSpecBuilder edit() { + return new SubscriptionSpecCVEVCTSpecBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVEVCTSpecBuilder 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/SubscriptionSpecCVEVCTSpecDataSource.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVEVCTSpecDataSource.java new file mode 100644 index 00000000000..1518078791e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVEVCTSpecDataSource.java @@ -0,0 +1,136 @@ + +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({ + "kind", + "apiGroup", + "name" +}) +@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 SubscriptionSpecCVEVCTSpecDataSource implements Editable , KubernetesResource +{ + + @JsonProperty("apiGroup") + private String apiGroup; + @JsonProperty("kind") + private String kind; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVEVCTSpecDataSource() { + } + + public SubscriptionSpecCVEVCTSpecDataSource(String apiGroup, String kind, String name) { + super(); + this.apiGroup = apiGroup; + this.kind = kind; + this.name = name; + } + + @JsonProperty("apiGroup") + public String getApiGroup() { + return apiGroup; + } + + @JsonProperty("apiGroup") + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + @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; + } + + @JsonIgnore + public SubscriptionSpecCVEVCTSpecDataSourceBuilder edit() { + return new SubscriptionSpecCVEVCTSpecDataSourceBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVEVCTSpecDataSourceBuilder 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/SubscriptionSpecCVEVCTSpecDataSourceRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVEVCTSpecDataSourceRef.java new file mode 100644 index 00000000000..6fa5779b47e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVEVCTSpecDataSourceRef.java @@ -0,0 +1,150 @@ + +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({ + "kind", + "apiGroup", + "name", + "namespace" +}) +@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 SubscriptionSpecCVEVCTSpecDataSourceRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiGroup") + private String apiGroup; + @JsonProperty("kind") + private String kind; + @JsonProperty("name") + private String name; + @JsonProperty("namespace") + private String namespace; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVEVCTSpecDataSourceRef() { + } + + public SubscriptionSpecCVEVCTSpecDataSourceRef(String apiGroup, String kind, String name, String namespace) { + super(); + this.apiGroup = apiGroup; + this.kind = kind; + this.name = name; + this.namespace = namespace; + } + + @JsonProperty("apiGroup") + public String getApiGroup() { + return apiGroup; + } + + @JsonProperty("apiGroup") + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + @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; + } + + @JsonIgnore + public SubscriptionSpecCVEVCTSpecDataSourceRefBuilder edit() { + return new SubscriptionSpecCVEVCTSpecDataSourceRefBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVEVCTSpecDataSourceRefBuilder 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/SubscriptionSpecCVEVCTSpecResources.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVEVCTSpecResources.java new file mode 100644 index 00000000000..9cbe9883f3f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVEVCTSpecResources.java @@ -0,0 +1,130 @@ + +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({ + "limits", + "requests" +}) +@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 SubscriptionSpecCVEVCTSpecResources implements Editable , KubernetesResource +{ + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map limits = new LinkedHashMap<>(); + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map requests = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVEVCTSpecResources() { + } + + public SubscriptionSpecCVEVCTSpecResources(Map limits, Map requests) { + super(); + this.limits = limits; + this.requests = requests; + } + + @JsonProperty("limits") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLimits() { + return limits; + } + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setLimits(Map limits) { + this.limits = limits; + } + + @JsonProperty("requests") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getRequests() { + return requests; + } + + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setRequests(Map requests) { + this.requests = requests; + } + + @JsonIgnore + public SubscriptionSpecCVEVCTSpecResourcesBuilder edit() { + return new SubscriptionSpecCVEVCTSpecResourcesBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVEVCTSpecResourcesBuilder 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/SubscriptionSpecCVEVCTSpecSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVEVCTSpecSMatchExpressions.java new file mode 100644 index 00000000000..5d74de7277f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVEVCTSpecSMatchExpressions.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 SubscriptionSpecCVEVCTSpecSMatchExpressions 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 SubscriptionSpecCVEVCTSpecSMatchExpressions() { + } + + public SubscriptionSpecCVEVCTSpecSMatchExpressions(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 SubscriptionSpecCVEVCTSpecSMatchExpressionsBuilder edit() { + return new SubscriptionSpecCVEVCTSpecSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVEVCTSpecSMatchExpressionsBuilder 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/SubscriptionSpecCVEVCTSpecSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVEVCTSpecSelector.java new file mode 100644 index 00000000000..54b7ac8011a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVEVCTSpecSelector.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", + "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 SubscriptionSpecCVEVCTSpecSelector 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 SubscriptionSpecCVEVCTSpecSelector() { + } + + public SubscriptionSpecCVEVCTSpecSelector(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 SubscriptionSpecCVEVCTSpecSelectorBuilder edit() { + return new SubscriptionSpecCVEVCTSpecSelectorBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVEVCTSpecSelectorBuilder 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/SubscriptionSpecCVEVolumeClaimTemplate.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVEVolumeClaimTemplate.java new file mode 100644 index 00000000000..1d321c0f83d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVEVolumeClaimTemplate.java @@ -0,0 +1,124 @@ + +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({ + "metadata", + "spec" +}) +@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 SubscriptionSpecCVEVolumeClaimTemplate implements Editable , KubernetesResource +{ + + @JsonProperty("metadata") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object metadata; + @JsonProperty("spec") + private SubscriptionSpecCVEVCTSpec spec; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVEVolumeClaimTemplate() { + } + + public SubscriptionSpecCVEVolumeClaimTemplate(Object metadata, SubscriptionSpecCVEVCTSpec spec) { + super(); + this.metadata = metadata; + this.spec = spec; + } + + @JsonProperty("metadata") + public Object getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setMetadata(Object metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public SubscriptionSpecCVEVCTSpec getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(SubscriptionSpecCVEVCTSpec spec) { + this.spec = spec; + } + + @JsonIgnore + public SubscriptionSpecCVEVolumeClaimTemplateBuilder edit() { + return new SubscriptionSpecCVEVolumeClaimTemplateBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVEVolumeClaimTemplateBuilder 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/SubscriptionSpecCVEmptyDir.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVEmptyDir.java new file mode 100644 index 00000000000..2f14debc009 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVEmptyDir.java @@ -0,0 +1,124 @@ + +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({ + "medium", + "sizeLimit" +}) +@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 SubscriptionSpecCVEmptyDir implements Editable , KubernetesResource +{ + + @JsonProperty("medium") + private String medium; + @JsonProperty("sizeLimit") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object sizeLimit; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVEmptyDir() { + } + + public SubscriptionSpecCVEmptyDir(String medium, Object sizeLimit) { + super(); + this.medium = medium; + this.sizeLimit = sizeLimit; + } + + @JsonProperty("medium") + public String getMedium() { + return medium; + } + + @JsonProperty("medium") + public void setMedium(String medium) { + this.medium = medium; + } + + @JsonProperty("sizeLimit") + public Object getSizeLimit() { + return sizeLimit; + } + + @JsonProperty("sizeLimit") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setSizeLimit(Object sizeLimit) { + this.sizeLimit = sizeLimit; + } + + @JsonIgnore + public SubscriptionSpecCVEmptyDirBuilder edit() { + return new SubscriptionSpecCVEmptyDirBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVEmptyDirBuilder 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/SubscriptionSpecCVEphemeral.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVEphemeral.java new file mode 100644 index 00000000000..6f1220738c1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVEphemeral.java @@ -0,0 +1,108 @@ + +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({ + "volumeClaimTemplate" +}) +@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 SubscriptionSpecCVEphemeral implements Editable , KubernetesResource +{ + + @JsonProperty("volumeClaimTemplate") + private SubscriptionSpecCVEVolumeClaimTemplate volumeClaimTemplate; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVEphemeral() { + } + + public SubscriptionSpecCVEphemeral(SubscriptionSpecCVEVolumeClaimTemplate volumeClaimTemplate) { + super(); + this.volumeClaimTemplate = volumeClaimTemplate; + } + + @JsonProperty("volumeClaimTemplate") + public SubscriptionSpecCVEVolumeClaimTemplate getVolumeClaimTemplate() { + return volumeClaimTemplate; + } + + @JsonProperty("volumeClaimTemplate") + public void setVolumeClaimTemplate(SubscriptionSpecCVEVolumeClaimTemplate volumeClaimTemplate) { + this.volumeClaimTemplate = volumeClaimTemplate; + } + + @JsonIgnore + public SubscriptionSpecCVEphemeralBuilder edit() { + return new SubscriptionSpecCVEphemeralBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVEphemeralBuilder 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/SubscriptionSpecCVFVSecretRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVFVSecretRef.java new file mode 100644 index 00000000000..bc83c14c438 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVFVSecretRef.java @@ -0,0 +1,108 @@ + +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({ + "name" +}) +@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 SubscriptionSpecCVFVSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVFVSecretRef() { + } + + public SubscriptionSpecCVFVSecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public SubscriptionSpecCVFVSecretRefBuilder edit() { + return new SubscriptionSpecCVFVSecretRefBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVFVSecretRefBuilder 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/SubscriptionSpecCVFc.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVFc.java new file mode 100644 index 00000000000..f81a431732c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVFc.java @@ -0,0 +1,170 @@ + +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({ + "fsType", + "lun", + "readOnly", + "targetWWNs", + "wwids" +}) +@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 SubscriptionSpecCVFc implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("lun") + private Integer lun; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("targetWWNs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List targetWWNs = new ArrayList<>(); + @JsonProperty("wwids") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List wwids = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVFc() { + } + + public SubscriptionSpecCVFc(String fsType, Integer lun, Boolean readOnly, List targetWWNs, List wwids) { + super(); + this.fsType = fsType; + this.lun = lun; + this.readOnly = readOnly; + this.targetWWNs = targetWWNs; + this.wwids = wwids; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("lun") + public Integer getLun() { + return lun; + } + + @JsonProperty("lun") + public void setLun(Integer lun) { + this.lun = lun; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("targetWWNs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getTargetWWNs() { + return targetWWNs; + } + + @JsonProperty("targetWWNs") + public void setTargetWWNs(List targetWWNs) { + this.targetWWNs = targetWWNs; + } + + @JsonProperty("wwids") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getWwids() { + return wwids; + } + + @JsonProperty("wwids") + public void setWwids(List wwids) { + this.wwids = wwids; + } + + @JsonIgnore + public SubscriptionSpecCVFcBuilder edit() { + return new SubscriptionSpecCVFcBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVFcBuilder 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/SubscriptionSpecCVFlexVolume.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVFlexVolume.java new file mode 100644 index 00000000000..b9aa02f7791 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVFlexVolume.java @@ -0,0 +1,166 @@ + +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({ + "driver", + "fsType", + "options", + "readOnly", + "secretRef" +}) +@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 SubscriptionSpecCVFlexVolume implements Editable , KubernetesResource +{ + + @JsonProperty("driver") + private String driver; + @JsonProperty("fsType") + private String fsType; + @JsonProperty("options") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map options = new LinkedHashMap<>(); + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretRef") + private SubscriptionSpecCVFVSecretRef secretRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVFlexVolume() { + } + + public SubscriptionSpecCVFlexVolume(String driver, String fsType, Map options, Boolean readOnly, SubscriptionSpecCVFVSecretRef secretRef) { + super(); + this.driver = driver; + this.fsType = fsType; + this.options = options; + this.readOnly = readOnly; + this.secretRef = secretRef; + } + + @JsonProperty("driver") + public String getDriver() { + return driver; + } + + @JsonProperty("driver") + public void setDriver(String driver) { + this.driver = driver; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("options") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getOptions() { + return options; + } + + @JsonProperty("options") + public void setOptions(Map options) { + this.options = options; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretRef") + public SubscriptionSpecCVFVSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(SubscriptionSpecCVFVSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonIgnore + public SubscriptionSpecCVFlexVolumeBuilder edit() { + return new SubscriptionSpecCVFlexVolumeBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVFlexVolumeBuilder 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/SubscriptionSpecCVFlocker.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVFlocker.java new file mode 100644 index 00000000000..993d3db6b45 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVFlocker.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({ + "datasetName", + "datasetUUID" +}) +@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 SubscriptionSpecCVFlocker implements Editable , KubernetesResource +{ + + @JsonProperty("datasetName") + private String datasetName; + @JsonProperty("datasetUUID") + private String datasetUUID; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVFlocker() { + } + + public SubscriptionSpecCVFlocker(String datasetName, String datasetUUID) { + super(); + this.datasetName = datasetName; + this.datasetUUID = datasetUUID; + } + + @JsonProperty("datasetName") + public String getDatasetName() { + return datasetName; + } + + @JsonProperty("datasetName") + public void setDatasetName(String datasetName) { + this.datasetName = datasetName; + } + + @JsonProperty("datasetUUID") + public String getDatasetUUID() { + return datasetUUID; + } + + @JsonProperty("datasetUUID") + public void setDatasetUUID(String datasetUUID) { + this.datasetUUID = datasetUUID; + } + + @JsonIgnore + public SubscriptionSpecCVFlockerBuilder edit() { + return new SubscriptionSpecCVFlockerBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVFlockerBuilder 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/SubscriptionSpecCVGcePersistentDisk.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVGcePersistentDisk.java new file mode 100644 index 00000000000..db898f1f2d6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVGcePersistentDisk.java @@ -0,0 +1,150 @@ + +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({ + "fsType", + "partition", + "pdName", + "readOnly" +}) +@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 SubscriptionSpecCVGcePersistentDisk implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("partition") + private Integer partition; + @JsonProperty("pdName") + private String pdName; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVGcePersistentDisk() { + } + + public SubscriptionSpecCVGcePersistentDisk(String fsType, Integer partition, String pdName, Boolean readOnly) { + super(); + this.fsType = fsType; + this.partition = partition; + this.pdName = pdName; + this.readOnly = readOnly; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("partition") + public Integer getPartition() { + return partition; + } + + @JsonProperty("partition") + public void setPartition(Integer partition) { + this.partition = partition; + } + + @JsonProperty("pdName") + public String getPdName() { + return pdName; + } + + @JsonProperty("pdName") + public void setPdName(String pdName) { + this.pdName = pdName; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonIgnore + public SubscriptionSpecCVGcePersistentDiskBuilder edit() { + return new SubscriptionSpecCVGcePersistentDiskBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVGcePersistentDiskBuilder 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/SubscriptionSpecCVGitRepo.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVGitRepo.java new file mode 100644 index 00000000000..f407fc5d9dd --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVGitRepo.java @@ -0,0 +1,136 @@ + +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({ + "directory", + "repository", + "revision" +}) +@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 SubscriptionSpecCVGitRepo implements Editable , KubernetesResource +{ + + @JsonProperty("directory") + private String directory; + @JsonProperty("repository") + private String repository; + @JsonProperty("revision") + private String revision; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVGitRepo() { + } + + public SubscriptionSpecCVGitRepo(String directory, String repository, String revision) { + super(); + this.directory = directory; + this.repository = repository; + this.revision = revision; + } + + @JsonProperty("directory") + public String getDirectory() { + return directory; + } + + @JsonProperty("directory") + public void setDirectory(String directory) { + this.directory = directory; + } + + @JsonProperty("repository") + public String getRepository() { + return repository; + } + + @JsonProperty("repository") + public void setRepository(String repository) { + this.repository = repository; + } + + @JsonProperty("revision") + public String getRevision() { + return revision; + } + + @JsonProperty("revision") + public void setRevision(String revision) { + this.revision = revision; + } + + @JsonIgnore + public SubscriptionSpecCVGitRepoBuilder edit() { + return new SubscriptionSpecCVGitRepoBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVGitRepoBuilder 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/SubscriptionSpecCVGlusterfs.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVGlusterfs.java new file mode 100644 index 00000000000..a62563b5747 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVGlusterfs.java @@ -0,0 +1,136 @@ + +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({ + "endpoints", + "path", + "readOnly" +}) +@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 SubscriptionSpecCVGlusterfs implements Editable , KubernetesResource +{ + + @JsonProperty("endpoints") + private String endpoints; + @JsonProperty("path") + private String path; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVGlusterfs() { + } + + public SubscriptionSpecCVGlusterfs(String endpoints, String path, Boolean readOnly) { + super(); + this.endpoints = endpoints; + this.path = path; + this.readOnly = readOnly; + } + + @JsonProperty("endpoints") + public String getEndpoints() { + return endpoints; + } + + @JsonProperty("endpoints") + public void setEndpoints(String endpoints) { + this.endpoints = endpoints; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonIgnore + public SubscriptionSpecCVGlusterfsBuilder edit() { + return new SubscriptionSpecCVGlusterfsBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVGlusterfsBuilder 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/SubscriptionSpecCVHostPath.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVHostPath.java new file mode 100644 index 00000000000..168e2d60b36 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVHostPath.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({ + "path", + "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 SubscriptionSpecCVHostPath implements Editable , KubernetesResource +{ + + @JsonProperty("path") + private String path; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVHostPath() { + } + + public SubscriptionSpecCVHostPath(String path, String type) { + super(); + this.path = path; + this.type = type; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public SubscriptionSpecCVHostPathBuilder edit() { + return new SubscriptionSpecCVHostPathBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVHostPathBuilder 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/SubscriptionSpecCVISecretRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVISecretRef.java new file mode 100644 index 00000000000..a3e3ec73f92 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVISecretRef.java @@ -0,0 +1,108 @@ + +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({ + "name" +}) +@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 SubscriptionSpecCVISecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVISecretRef() { + } + + public SubscriptionSpecCVISecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public SubscriptionSpecCVISecretRefBuilder edit() { + return new SubscriptionSpecCVISecretRefBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVISecretRefBuilder 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/SubscriptionSpecCVIscsi.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVIscsi.java new file mode 100644 index 00000000000..82778dfa51d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVIscsi.java @@ -0,0 +1,252 @@ + +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({ + "chapAuthDiscovery", + "chapAuthSession", + "fsType", + "initiatorName", + "iqn", + "iscsiInterface", + "lun", + "portals", + "readOnly", + "secretRef", + "targetPortal" +}) +@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 SubscriptionSpecCVIscsi implements Editable , KubernetesResource +{ + + @JsonProperty("chapAuthDiscovery") + private Boolean chapAuthDiscovery; + @JsonProperty("chapAuthSession") + private Boolean chapAuthSession; + @JsonProperty("fsType") + private String fsType; + @JsonProperty("initiatorName") + private String initiatorName; + @JsonProperty("iqn") + private String iqn; + @JsonProperty("iscsiInterface") + private String iscsiInterface; + @JsonProperty("lun") + private Integer lun; + @JsonProperty("portals") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List portals = new ArrayList<>(); + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretRef") + private SubscriptionSpecCVISecretRef secretRef; + @JsonProperty("targetPortal") + private String targetPortal; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVIscsi() { + } + + public SubscriptionSpecCVIscsi(Boolean chapAuthDiscovery, Boolean chapAuthSession, String fsType, String initiatorName, String iqn, String iscsiInterface, Integer lun, List portals, Boolean readOnly, SubscriptionSpecCVISecretRef secretRef, String targetPortal) { + super(); + this.chapAuthDiscovery = chapAuthDiscovery; + this.chapAuthSession = chapAuthSession; + this.fsType = fsType; + this.initiatorName = initiatorName; + this.iqn = iqn; + this.iscsiInterface = iscsiInterface; + this.lun = lun; + this.portals = portals; + this.readOnly = readOnly; + this.secretRef = secretRef; + this.targetPortal = targetPortal; + } + + @JsonProperty("chapAuthDiscovery") + public Boolean getChapAuthDiscovery() { + return chapAuthDiscovery; + } + + @JsonProperty("chapAuthDiscovery") + public void setChapAuthDiscovery(Boolean chapAuthDiscovery) { + this.chapAuthDiscovery = chapAuthDiscovery; + } + + @JsonProperty("chapAuthSession") + public Boolean getChapAuthSession() { + return chapAuthSession; + } + + @JsonProperty("chapAuthSession") + public void setChapAuthSession(Boolean chapAuthSession) { + this.chapAuthSession = chapAuthSession; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("initiatorName") + public String getInitiatorName() { + return initiatorName; + } + + @JsonProperty("initiatorName") + public void setInitiatorName(String initiatorName) { + this.initiatorName = initiatorName; + } + + @JsonProperty("iqn") + public String getIqn() { + return iqn; + } + + @JsonProperty("iqn") + public void setIqn(String iqn) { + this.iqn = iqn; + } + + @JsonProperty("iscsiInterface") + public String getIscsiInterface() { + return iscsiInterface; + } + + @JsonProperty("iscsiInterface") + public void setIscsiInterface(String iscsiInterface) { + this.iscsiInterface = iscsiInterface; + } + + @JsonProperty("lun") + public Integer getLun() { + return lun; + } + + @JsonProperty("lun") + public void setLun(Integer lun) { + this.lun = lun; + } + + @JsonProperty("portals") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPortals() { + return portals; + } + + @JsonProperty("portals") + public void setPortals(List portals) { + this.portals = portals; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretRef") + public SubscriptionSpecCVISecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(SubscriptionSpecCVISecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonProperty("targetPortal") + public String getTargetPortal() { + return targetPortal; + } + + @JsonProperty("targetPortal") + public void setTargetPortal(String targetPortal) { + this.targetPortal = targetPortal; + } + + @JsonIgnore + public SubscriptionSpecCVIscsiBuilder edit() { + return new SubscriptionSpecCVIscsiBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVIscsiBuilder 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/SubscriptionSpecCVNfs.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVNfs.java new file mode 100644 index 00000000000..b91a34ee443 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVNfs.java @@ -0,0 +1,136 @@ + +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({ + "path", + "readOnly", + "server" +}) +@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 SubscriptionSpecCVNfs implements Editable , KubernetesResource +{ + + @JsonProperty("path") + private String path; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("server") + private String server; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVNfs() { + } + + public SubscriptionSpecCVNfs(String path, Boolean readOnly, String server) { + super(); + this.path = path; + this.readOnly = readOnly; + this.server = server; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("server") + public String getServer() { + return server; + } + + @JsonProperty("server") + public void setServer(String server) { + this.server = server; + } + + @JsonIgnore + public SubscriptionSpecCVNfsBuilder edit() { + return new SubscriptionSpecCVNfsBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVNfsBuilder 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/SubscriptionSpecCVPSCMItems.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPSCMItems.java new file mode 100644 index 00000000000..f0ed3767ed6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPSCMItems.java @@ -0,0 +1,136 @@ + +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({ + "key", + "mode", + "path" +}) +@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 SubscriptionSpecCVPSCMItems implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("mode") + private Integer mode; + @JsonProperty("path") + private String path; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVPSCMItems() { + } + + public SubscriptionSpecCVPSCMItems(String key, Integer mode, String path) { + super(); + this.key = key; + this.mode = mode; + this.path = path; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("mode") + public Integer getMode() { + return mode; + } + + @JsonProperty("mode") + public void setMode(Integer mode) { + this.mode = mode; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonIgnore + public SubscriptionSpecCVPSCMItemsBuilder edit() { + return new SubscriptionSpecCVPSCMItemsBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVPSCMItemsBuilder 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/SubscriptionSpecCVPSCTBLSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPSCTBLSMatchExpressions.java new file mode 100644 index 00000000000..7b19bca5c0f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPSCTBLSMatchExpressions.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 SubscriptionSpecCVPSCTBLSMatchExpressions 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 SubscriptionSpecCVPSCTBLSMatchExpressions() { + } + + public SubscriptionSpecCVPSCTBLSMatchExpressions(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 SubscriptionSpecCVPSCTBLSMatchExpressionsBuilder edit() { + return new SubscriptionSpecCVPSCTBLSMatchExpressionsBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVPSCTBLSMatchExpressionsBuilder 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/SubscriptionSpecCVPSCTBLabelSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPSCTBLabelSelector.java new file mode 100644 index 00000000000..396ed6354a4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPSCTBLabelSelector.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", + "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 SubscriptionSpecCVPSCTBLabelSelector 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 SubscriptionSpecCVPSCTBLabelSelector() { + } + + public SubscriptionSpecCVPSCTBLabelSelector(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 SubscriptionSpecCVPSCTBLabelSelectorBuilder edit() { + return new SubscriptionSpecCVPSCTBLabelSelectorBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVPSCTBLabelSelectorBuilder 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/SubscriptionSpecCVPSClusterTrustBundle.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPSClusterTrustBundle.java new file mode 100644 index 00000000000..16c61539cc8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPSClusterTrustBundle.java @@ -0,0 +1,164 @@ + +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({ + "labelSelector", + "name", + "optional", + "path", + "signerName" +}) +@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 SubscriptionSpecCVPSClusterTrustBundle implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private SubscriptionSpecCVPSCTBLabelSelector labelSelector; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonProperty("path") + private String path; + @JsonProperty("signerName") + private String signerName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVPSClusterTrustBundle() { + } + + public SubscriptionSpecCVPSClusterTrustBundle(SubscriptionSpecCVPSCTBLabelSelector labelSelector, String name, Boolean optional, String path, String signerName) { + super(); + this.labelSelector = labelSelector; + this.name = name; + this.optional = optional; + this.path = path; + this.signerName = signerName; + } + + @JsonProperty("labelSelector") + public SubscriptionSpecCVPSCTBLabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(SubscriptionSpecCVPSCTBLabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("signerName") + public String getSignerName() { + return signerName; + } + + @JsonProperty("signerName") + public void setSignerName(String signerName) { + this.signerName = signerName; + } + + @JsonIgnore + public SubscriptionSpecCVPSClusterTrustBundleBuilder edit() { + return new SubscriptionSpecCVPSClusterTrustBundleBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVPSClusterTrustBundleBuilder 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/SubscriptionSpecCVPSConfigMap.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPSConfigMap.java new file mode 100644 index 00000000000..966bfa479aa --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPSConfigMap.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({ + "items", + "name", + "optional" +}) +@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 SubscriptionSpecCVPSConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVPSConfigMap() { + } + + public SubscriptionSpecCVPSConfigMap(List items, String name, Boolean optional) { + super(); + this.items = items; + this.name = name; + this.optional = optional; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public SubscriptionSpecCVPSConfigMapBuilder edit() { + return new SubscriptionSpecCVPSConfigMapBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVPSConfigMapBuilder 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/SubscriptionSpecCVPSDAIFieldRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPSDAIFieldRef.java new file mode 100644 index 00000000000..ff1e6681b4d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPSDAIFieldRef.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({ + "apiVersion", + "fieldPath" +}) +@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 SubscriptionSpecCVPSDAIFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiVersion") + private String apiVersion; + @JsonProperty("fieldPath") + private String fieldPath; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVPSDAIFieldRef() { + } + + public SubscriptionSpecCVPSDAIFieldRef(String apiVersion, String fieldPath) { + super(); + this.apiVersion = apiVersion; + this.fieldPath = fieldPath; + } + + @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; + } + + @JsonIgnore + public SubscriptionSpecCVPSDAIFieldRefBuilder edit() { + return new SubscriptionSpecCVPSDAIFieldRefBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVPSDAIFieldRefBuilder 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/SubscriptionSpecCVPSDAIResourceFieldRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPSDAIResourceFieldRef.java new file mode 100644 index 00000000000..1f26b170a7e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPSDAIResourceFieldRef.java @@ -0,0 +1,138 @@ + +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({ + "containerName", + "divisor", + "resource" +}) +@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 SubscriptionSpecCVPSDAIResourceFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("containerName") + private String containerName; + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object divisor; + @JsonProperty("resource") + private String resource; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVPSDAIResourceFieldRef() { + } + + public SubscriptionSpecCVPSDAIResourceFieldRef(String containerName, Object divisor, String resource) { + super(); + this.containerName = containerName; + this.divisor = divisor; + this.resource = resource; + } + + @JsonProperty("containerName") + public String getContainerName() { + return containerName; + } + + @JsonProperty("containerName") + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @JsonProperty("divisor") + public Object getDivisor() { + return divisor; + } + + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setDivisor(Object divisor) { + this.divisor = divisor; + } + + @JsonProperty("resource") + public String getResource() { + return resource; + } + + @JsonProperty("resource") + public void setResource(String resource) { + this.resource = resource; + } + + @JsonIgnore + public SubscriptionSpecCVPSDAIResourceFieldRefBuilder edit() { + return new SubscriptionSpecCVPSDAIResourceFieldRefBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVPSDAIResourceFieldRefBuilder 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/SubscriptionSpecCVPSDAItems.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPSDAItems.java new file mode 100644 index 00000000000..080d5dc8ed2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPSDAItems.java @@ -0,0 +1,150 @@ + +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({ + "fieldRef", + "mode", + "path", + "resourceFieldRef" +}) +@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 SubscriptionSpecCVPSDAItems implements Editable , KubernetesResource +{ + + @JsonProperty("fieldRef") + private SubscriptionSpecCVPSDAIFieldRef fieldRef; + @JsonProperty("mode") + private Integer mode; + @JsonProperty("path") + private String path; + @JsonProperty("resourceFieldRef") + private SubscriptionSpecCVPSDAIResourceFieldRef resourceFieldRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVPSDAItems() { + } + + public SubscriptionSpecCVPSDAItems(SubscriptionSpecCVPSDAIFieldRef fieldRef, Integer mode, String path, SubscriptionSpecCVPSDAIResourceFieldRef resourceFieldRef) { + super(); + this.fieldRef = fieldRef; + this.mode = mode; + this.path = path; + this.resourceFieldRef = resourceFieldRef; + } + + @JsonProperty("fieldRef") + public SubscriptionSpecCVPSDAIFieldRef getFieldRef() { + return fieldRef; + } + + @JsonProperty("fieldRef") + public void setFieldRef(SubscriptionSpecCVPSDAIFieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @JsonProperty("mode") + public Integer getMode() { + return mode; + } + + @JsonProperty("mode") + public void setMode(Integer mode) { + this.mode = mode; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("resourceFieldRef") + public SubscriptionSpecCVPSDAIResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + @JsonProperty("resourceFieldRef") + public void setResourceFieldRef(SubscriptionSpecCVPSDAIResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @JsonIgnore + public SubscriptionSpecCVPSDAItemsBuilder edit() { + return new SubscriptionSpecCVPSDAItemsBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVPSDAItemsBuilder 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/SubscriptionSpecCVPSDownwardAPI.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPSDownwardAPI.java new file mode 100644 index 00000000000..7be399a79dd --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPSDownwardAPI.java @@ -0,0 +1,112 @@ + +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({ + "items" +}) +@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 SubscriptionSpecCVPSDownwardAPI implements Editable , KubernetesResource +{ + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVPSDownwardAPI() { + } + + public SubscriptionSpecCVPSDownwardAPI(List items) { + super(); + this.items = items; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + @JsonIgnore + public SubscriptionSpecCVPSDownwardAPIBuilder edit() { + return new SubscriptionSpecCVPSDownwardAPIBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVPSDownwardAPIBuilder 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/SubscriptionSpecCVPSSItems.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPSSItems.java new file mode 100644 index 00000000000..b0a0c46ef73 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPSSItems.java @@ -0,0 +1,136 @@ + +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({ + "key", + "mode", + "path" +}) +@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 SubscriptionSpecCVPSSItems implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("mode") + private Integer mode; + @JsonProperty("path") + private String path; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVPSSItems() { + } + + public SubscriptionSpecCVPSSItems(String key, Integer mode, String path) { + super(); + this.key = key; + this.mode = mode; + this.path = path; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("mode") + public Integer getMode() { + return mode; + } + + @JsonProperty("mode") + public void setMode(Integer mode) { + this.mode = mode; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonIgnore + public SubscriptionSpecCVPSSItemsBuilder edit() { + return new SubscriptionSpecCVPSSItemsBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVPSSItemsBuilder 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/SubscriptionSpecCVPSSecret.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPSSecret.java new file mode 100644 index 00000000000..64da7c33266 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPSSecret.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({ + "items", + "name", + "optional" +}) +@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 SubscriptionSpecCVPSSecret implements Editable , KubernetesResource +{ + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVPSSecret() { + } + + public SubscriptionSpecCVPSSecret(List items, String name, Boolean optional) { + super(); + this.items = items; + this.name = name; + this.optional = optional; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public SubscriptionSpecCVPSSecretBuilder edit() { + return new SubscriptionSpecCVPSSecretBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVPSSecretBuilder 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/SubscriptionSpecCVPSServiceAccountToken.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPSServiceAccountToken.java new file mode 100644 index 00000000000..4adbc57759c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPSServiceAccountToken.java @@ -0,0 +1,136 @@ + +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({ + "audience", + "expirationSeconds", + "path" +}) +@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 SubscriptionSpecCVPSServiceAccountToken implements Editable , KubernetesResource +{ + + @JsonProperty("audience") + private String audience; + @JsonProperty("expirationSeconds") + private Long expirationSeconds; + @JsonProperty("path") + private String path; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVPSServiceAccountToken() { + } + + public SubscriptionSpecCVPSServiceAccountToken(String audience, Long expirationSeconds, String path) { + super(); + this.audience = audience; + this.expirationSeconds = expirationSeconds; + this.path = path; + } + + @JsonProperty("audience") + public String getAudience() { + return audience; + } + + @JsonProperty("audience") + public void setAudience(String audience) { + this.audience = audience; + } + + @JsonProperty("expirationSeconds") + public Long getExpirationSeconds() { + return expirationSeconds; + } + + @JsonProperty("expirationSeconds") + public void setExpirationSeconds(Long expirationSeconds) { + this.expirationSeconds = expirationSeconds; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonIgnore + public SubscriptionSpecCVPSServiceAccountTokenBuilder edit() { + return new SubscriptionSpecCVPSServiceAccountTokenBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVPSServiceAccountTokenBuilder 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/SubscriptionSpecCVPSources.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPSources.java new file mode 100644 index 00000000000..ac0b9df23f3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPSources.java @@ -0,0 +1,164 @@ + +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({ + "clusterTrustBundle", + "configMap", + "downwardAPI", + "secret", + "serviceAccountToken" +}) +@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 SubscriptionSpecCVPSources implements Editable , KubernetesResource +{ + + @JsonProperty("clusterTrustBundle") + private SubscriptionSpecCVPSClusterTrustBundle clusterTrustBundle; + @JsonProperty("configMap") + private SubscriptionSpecCVPSConfigMap configMap; + @JsonProperty("downwardAPI") + private SubscriptionSpecCVPSDownwardAPI downwardAPI; + @JsonProperty("secret") + private SubscriptionSpecCVPSSecret secret; + @JsonProperty("serviceAccountToken") + private SubscriptionSpecCVPSServiceAccountToken serviceAccountToken; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVPSources() { + } + + public SubscriptionSpecCVPSources(SubscriptionSpecCVPSClusterTrustBundle clusterTrustBundle, SubscriptionSpecCVPSConfigMap configMap, SubscriptionSpecCVPSDownwardAPI downwardAPI, SubscriptionSpecCVPSSecret secret, SubscriptionSpecCVPSServiceAccountToken serviceAccountToken) { + super(); + this.clusterTrustBundle = clusterTrustBundle; + this.configMap = configMap; + this.downwardAPI = downwardAPI; + this.secret = secret; + this.serviceAccountToken = serviceAccountToken; + } + + @JsonProperty("clusterTrustBundle") + public SubscriptionSpecCVPSClusterTrustBundle getClusterTrustBundle() { + return clusterTrustBundle; + } + + @JsonProperty("clusterTrustBundle") + public void setClusterTrustBundle(SubscriptionSpecCVPSClusterTrustBundle clusterTrustBundle) { + this.clusterTrustBundle = clusterTrustBundle; + } + + @JsonProperty("configMap") + public SubscriptionSpecCVPSConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(SubscriptionSpecCVPSConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("downwardAPI") + public SubscriptionSpecCVPSDownwardAPI getDownwardAPI() { + return downwardAPI; + } + + @JsonProperty("downwardAPI") + public void setDownwardAPI(SubscriptionSpecCVPSDownwardAPI downwardAPI) { + this.downwardAPI = downwardAPI; + } + + @JsonProperty("secret") + public SubscriptionSpecCVPSSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(SubscriptionSpecCVPSSecret secret) { + this.secret = secret; + } + + @JsonProperty("serviceAccountToken") + public SubscriptionSpecCVPSServiceAccountToken getServiceAccountToken() { + return serviceAccountToken; + } + + @JsonProperty("serviceAccountToken") + public void setServiceAccountToken(SubscriptionSpecCVPSServiceAccountToken serviceAccountToken) { + this.serviceAccountToken = serviceAccountToken; + } + + @JsonIgnore + public SubscriptionSpecCVPSourcesBuilder edit() { + return new SubscriptionSpecCVPSourcesBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVPSourcesBuilder 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/SubscriptionSpecCVPersistentVolumeClaim.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPersistentVolumeClaim.java new file mode 100644 index 00000000000..b5e094b39d6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPersistentVolumeClaim.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({ + "claimName", + "readOnly" +}) +@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 SubscriptionSpecCVPersistentVolumeClaim implements Editable , KubernetesResource +{ + + @JsonProperty("claimName") + private String claimName; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVPersistentVolumeClaim() { + } + + public SubscriptionSpecCVPersistentVolumeClaim(String claimName, Boolean readOnly) { + super(); + this.claimName = claimName; + this.readOnly = readOnly; + } + + @JsonProperty("claimName") + public String getClaimName() { + return claimName; + } + + @JsonProperty("claimName") + public void setClaimName(String claimName) { + this.claimName = claimName; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonIgnore + public SubscriptionSpecCVPersistentVolumeClaimBuilder edit() { + return new SubscriptionSpecCVPersistentVolumeClaimBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVPersistentVolumeClaimBuilder 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/SubscriptionSpecCVPhotonPersistentDisk.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPhotonPersistentDisk.java new file mode 100644 index 00000000000..f7cc27b3ae5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPhotonPersistentDisk.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({ + "fsType", + "pdID" +}) +@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 SubscriptionSpecCVPhotonPersistentDisk implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("pdID") + private String pdID; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVPhotonPersistentDisk() { + } + + public SubscriptionSpecCVPhotonPersistentDisk(String fsType, String pdID) { + super(); + this.fsType = fsType; + this.pdID = pdID; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("pdID") + public String getPdID() { + return pdID; + } + + @JsonProperty("pdID") + public void setPdID(String pdID) { + this.pdID = pdID; + } + + @JsonIgnore + public SubscriptionSpecCVPhotonPersistentDiskBuilder edit() { + return new SubscriptionSpecCVPhotonPersistentDiskBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVPhotonPersistentDiskBuilder 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/SubscriptionSpecCVPortworxVolume.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPortworxVolume.java new file mode 100644 index 00000000000..336836e4be1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVPortworxVolume.java @@ -0,0 +1,136 @@ + +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({ + "fsType", + "readOnly", + "volumeID" +}) +@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 SubscriptionSpecCVPortworxVolume implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("volumeID") + private String volumeID; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVPortworxVolume() { + } + + public SubscriptionSpecCVPortworxVolume(String fsType, Boolean readOnly, String volumeID) { + super(); + this.fsType = fsType; + this.readOnly = readOnly; + this.volumeID = volumeID; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("volumeID") + public String getVolumeID() { + return volumeID; + } + + @JsonProperty("volumeID") + public void setVolumeID(String volumeID) { + this.volumeID = volumeID; + } + + @JsonIgnore + public SubscriptionSpecCVPortworxVolumeBuilder edit() { + return new SubscriptionSpecCVPortworxVolumeBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVPortworxVolumeBuilder 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/SubscriptionSpecCVProjected.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVProjected.java new file mode 100644 index 00000000000..1030e7f52c1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVProjected.java @@ -0,0 +1,126 @@ + +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({ + "defaultMode", + "sources" +}) +@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 SubscriptionSpecCVProjected implements Editable , KubernetesResource +{ + + @JsonProperty("defaultMode") + private Integer defaultMode; + @JsonProperty("sources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List sources = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVProjected() { + } + + public SubscriptionSpecCVProjected(Integer defaultMode, List sources) { + super(); + this.defaultMode = defaultMode; + this.sources = sources; + } + + @JsonProperty("defaultMode") + public Integer getDefaultMode() { + return defaultMode; + } + + @JsonProperty("defaultMode") + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @JsonProperty("sources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSources() { + return sources; + } + + @JsonProperty("sources") + public void setSources(List sources) { + this.sources = sources; + } + + @JsonIgnore + public SubscriptionSpecCVProjectedBuilder edit() { + return new SubscriptionSpecCVProjectedBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVProjectedBuilder 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/SubscriptionSpecCVQuobyte.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVQuobyte.java new file mode 100644 index 00000000000..4d4219a8f41 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVQuobyte.java @@ -0,0 +1,178 @@ + +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({ + "group", + "readOnly", + "registry", + "tenant", + "user", + "volume" +}) +@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 SubscriptionSpecCVQuobyte implements Editable , KubernetesResource +{ + + @JsonProperty("group") + private String group; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("registry") + private String registry; + @JsonProperty("tenant") + private String tenant; + @JsonProperty("user") + private String user; + @JsonProperty("volume") + private String volume; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVQuobyte() { + } + + public SubscriptionSpecCVQuobyte(String group, Boolean readOnly, String registry, String tenant, String user, String volume) { + super(); + this.group = group; + this.readOnly = readOnly; + this.registry = registry; + this.tenant = tenant; + this.user = user; + this.volume = volume; + } + + @JsonProperty("group") + public String getGroup() { + return group; + } + + @JsonProperty("group") + public void setGroup(String group) { + this.group = group; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("registry") + public String getRegistry() { + return registry; + } + + @JsonProperty("registry") + public void setRegistry(String registry) { + this.registry = registry; + } + + @JsonProperty("tenant") + public String getTenant() { + return tenant; + } + + @JsonProperty("tenant") + public void setTenant(String tenant) { + this.tenant = tenant; + } + + @JsonProperty("user") + public String getUser() { + return user; + } + + @JsonProperty("user") + public void setUser(String user) { + this.user = user; + } + + @JsonProperty("volume") + public String getVolume() { + return volume; + } + + @JsonProperty("volume") + public void setVolume(String volume) { + this.volume = volume; + } + + @JsonIgnore + public SubscriptionSpecCVQuobyteBuilder edit() { + return new SubscriptionSpecCVQuobyteBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVQuobyteBuilder 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/SubscriptionSpecCVRSecretRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVRSecretRef.java new file mode 100644 index 00000000000..5613e403ff4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVRSecretRef.java @@ -0,0 +1,108 @@ + +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({ + "name" +}) +@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 SubscriptionSpecCVRSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVRSecretRef() { + } + + public SubscriptionSpecCVRSecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public SubscriptionSpecCVRSecretRefBuilder edit() { + return new SubscriptionSpecCVRSecretRefBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVRSecretRefBuilder 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/SubscriptionSpecCVRbd.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVRbd.java new file mode 100644 index 00000000000..aef91e761c5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVRbd.java @@ -0,0 +1,210 @@ + +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({ + "fsType", + "image", + "keyring", + "monitors", + "pool", + "readOnly", + "secretRef", + "user" +}) +@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 SubscriptionSpecCVRbd implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("image") + private String image; + @JsonProperty("keyring") + private String keyring; + @JsonProperty("monitors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List monitors = new ArrayList<>(); + @JsonProperty("pool") + private String pool; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretRef") + private SubscriptionSpecCVRSecretRef secretRef; + @JsonProperty("user") + private String user; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVRbd() { + } + + public SubscriptionSpecCVRbd(String fsType, String image, String keyring, List monitors, String pool, Boolean readOnly, SubscriptionSpecCVRSecretRef secretRef, String user) { + super(); + this.fsType = fsType; + this.image = image; + this.keyring = keyring; + this.monitors = monitors; + this.pool = pool; + this.readOnly = readOnly; + this.secretRef = secretRef; + this.user = user; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("image") + public String getImage() { + return image; + } + + @JsonProperty("image") + public void setImage(String image) { + this.image = image; + } + + @JsonProperty("keyring") + public String getKeyring() { + return keyring; + } + + @JsonProperty("keyring") + public void setKeyring(String keyring) { + this.keyring = keyring; + } + + @JsonProperty("monitors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMonitors() { + return monitors; + } + + @JsonProperty("monitors") + public void setMonitors(List monitors) { + this.monitors = monitors; + } + + @JsonProperty("pool") + public String getPool() { + return pool; + } + + @JsonProperty("pool") + public void setPool(String pool) { + this.pool = pool; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretRef") + public SubscriptionSpecCVRSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(SubscriptionSpecCVRSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonProperty("user") + public String getUser() { + return user; + } + + @JsonProperty("user") + public void setUser(String user) { + this.user = user; + } + + @JsonIgnore + public SubscriptionSpecCVRbdBuilder edit() { + return new SubscriptionSpecCVRbdBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVRbdBuilder 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/SubscriptionSpecCVSISecretRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVSISecretRef.java new file mode 100644 index 00000000000..c16e1971900 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVSISecretRef.java @@ -0,0 +1,108 @@ + +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({ + "name" +}) +@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 SubscriptionSpecCVSISecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVSISecretRef() { + } + + public SubscriptionSpecCVSISecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public SubscriptionSpecCVSISecretRefBuilder edit() { + return new SubscriptionSpecCVSISecretRefBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVSISecretRefBuilder 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/SubscriptionSpecCVSItems.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVSItems.java new file mode 100644 index 00000000000..a16f4da235a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVSItems.java @@ -0,0 +1,136 @@ + +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({ + "key", + "mode", + "path" +}) +@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 SubscriptionSpecCVSItems implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("mode") + private Integer mode; + @JsonProperty("path") + private String path; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVSItems() { + } + + public SubscriptionSpecCVSItems(String key, Integer mode, String path) { + super(); + this.key = key; + this.mode = mode; + this.path = path; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("mode") + public Integer getMode() { + return mode; + } + + @JsonProperty("mode") + public void setMode(Integer mode) { + this.mode = mode; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonIgnore + public SubscriptionSpecCVSItemsBuilder edit() { + return new SubscriptionSpecCVSItemsBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVSItemsBuilder 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/SubscriptionSpecCVSSecretRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVSSecretRef.java new file mode 100644 index 00000000000..e07b5fb27a1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVSSecretRef.java @@ -0,0 +1,108 @@ + +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({ + "name" +}) +@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 SubscriptionSpecCVSSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVSSecretRef() { + } + + public SubscriptionSpecCVSSecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public SubscriptionSpecCVSSecretRefBuilder edit() { + return new SubscriptionSpecCVSSecretRefBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVSSecretRefBuilder 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/SubscriptionSpecCVScaleIO.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVScaleIO.java new file mode 100644 index 00000000000..1a147cb71e4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVScaleIO.java @@ -0,0 +1,234 @@ + +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({ + "fsType", + "gateway", + "protectionDomain", + "readOnly", + "secretRef", + "sslEnabled", + "storageMode", + "storagePool", + "system", + "volumeName" +}) +@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 SubscriptionSpecCVScaleIO implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("gateway") + private String gateway; + @JsonProperty("protectionDomain") + private String protectionDomain; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretRef") + private SubscriptionSpecCVSISecretRef secretRef; + @JsonProperty("sslEnabled") + private Boolean sslEnabled; + @JsonProperty("storageMode") + private String storageMode; + @JsonProperty("storagePool") + private String storagePool; + @JsonProperty("system") + private String system; + @JsonProperty("volumeName") + private String volumeName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVScaleIO() { + } + + public SubscriptionSpecCVScaleIO(String fsType, String gateway, String protectionDomain, Boolean readOnly, SubscriptionSpecCVSISecretRef secretRef, Boolean sslEnabled, String storageMode, String storagePool, String system, String volumeName) { + super(); + this.fsType = fsType; + this.gateway = gateway; + this.protectionDomain = protectionDomain; + this.readOnly = readOnly; + this.secretRef = secretRef; + this.sslEnabled = sslEnabled; + this.storageMode = storageMode; + this.storagePool = storagePool; + this.system = system; + this.volumeName = volumeName; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("gateway") + public String getGateway() { + return gateway; + } + + @JsonProperty("gateway") + public void setGateway(String gateway) { + this.gateway = gateway; + } + + @JsonProperty("protectionDomain") + public String getProtectionDomain() { + return protectionDomain; + } + + @JsonProperty("protectionDomain") + public void setProtectionDomain(String protectionDomain) { + this.protectionDomain = protectionDomain; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretRef") + public SubscriptionSpecCVSISecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(SubscriptionSpecCVSISecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonProperty("sslEnabled") + public Boolean getSslEnabled() { + return sslEnabled; + } + + @JsonProperty("sslEnabled") + public void setSslEnabled(Boolean sslEnabled) { + this.sslEnabled = sslEnabled; + } + + @JsonProperty("storageMode") + public String getStorageMode() { + return storageMode; + } + + @JsonProperty("storageMode") + public void setStorageMode(String storageMode) { + this.storageMode = storageMode; + } + + @JsonProperty("storagePool") + public String getStoragePool() { + return storagePool; + } + + @JsonProperty("storagePool") + public void setStoragePool(String storagePool) { + this.storagePool = storagePool; + } + + @JsonProperty("system") + public String getSystem() { + return system; + } + + @JsonProperty("system") + public void setSystem(String system) { + this.system = system; + } + + @JsonProperty("volumeName") + public String getVolumeName() { + return volumeName; + } + + @JsonProperty("volumeName") + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } + + @JsonIgnore + public SubscriptionSpecCVScaleIOBuilder edit() { + return new SubscriptionSpecCVScaleIOBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVScaleIOBuilder 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/SubscriptionSpecCVSecret.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVSecret.java new file mode 100644 index 00000000000..23a14108074 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVSecret.java @@ -0,0 +1,154 @@ + +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({ + "defaultMode", + "items", + "optional", + "secretName" +}) +@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 SubscriptionSpecCVSecret implements Editable , KubernetesResource +{ + + @JsonProperty("defaultMode") + private Integer defaultMode; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + @JsonProperty("optional") + private Boolean optional; + @JsonProperty("secretName") + private String secretName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVSecret() { + } + + public SubscriptionSpecCVSecret(Integer defaultMode, List items, Boolean optional, String secretName) { + super(); + this.defaultMode = defaultMode; + this.items = items; + this.optional = optional; + this.secretName = secretName; + } + + @JsonProperty("defaultMode") + public Integer getDefaultMode() { + return defaultMode; + } + + @JsonProperty("defaultMode") + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonProperty("secretName") + public String getSecretName() { + return secretName; + } + + @JsonProperty("secretName") + public void setSecretName(String secretName) { + this.secretName = secretName; + } + + @JsonIgnore + public SubscriptionSpecCVSecretBuilder edit() { + return new SubscriptionSpecCVSecretBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVSecretBuilder 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/SubscriptionSpecCVStorageos.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVStorageos.java new file mode 100644 index 00000000000..ace6b5cd8ab --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVStorageos.java @@ -0,0 +1,164 @@ + +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({ + "fsType", + "readOnly", + "secretRef", + "volumeName", + "volumeNamespace" +}) +@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 SubscriptionSpecCVStorageos implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretRef") + private SubscriptionSpecCVSSecretRef secretRef; + @JsonProperty("volumeName") + private String volumeName; + @JsonProperty("volumeNamespace") + private String volumeNamespace; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVStorageos() { + } + + public SubscriptionSpecCVStorageos(String fsType, Boolean readOnly, SubscriptionSpecCVSSecretRef secretRef, String volumeName, String volumeNamespace) { + super(); + this.fsType = fsType; + this.readOnly = readOnly; + this.secretRef = secretRef; + this.volumeName = volumeName; + this.volumeNamespace = volumeNamespace; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretRef") + public SubscriptionSpecCVSSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(SubscriptionSpecCVSSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonProperty("volumeName") + public String getVolumeName() { + return volumeName; + } + + @JsonProperty("volumeName") + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } + + @JsonProperty("volumeNamespace") + public String getVolumeNamespace() { + return volumeNamespace; + } + + @JsonProperty("volumeNamespace") + public void setVolumeNamespace(String volumeNamespace) { + this.volumeNamespace = volumeNamespace; + } + + @JsonIgnore + public SubscriptionSpecCVStorageosBuilder edit() { + return new SubscriptionSpecCVStorageosBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVStorageosBuilder 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/SubscriptionSpecCVVsphereVolume.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVVsphereVolume.java new file mode 100644 index 00000000000..32904d7afb5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVVsphereVolume.java @@ -0,0 +1,150 @@ + +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({ + "fsType", + "storagePolicyID", + "storagePolicyName", + "volumePath" +}) +@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 SubscriptionSpecCVVsphereVolume implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("storagePolicyID") + private String storagePolicyID; + @JsonProperty("storagePolicyName") + private String storagePolicyName; + @JsonProperty("volumePath") + private String volumePath; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVVsphereVolume() { + } + + public SubscriptionSpecCVVsphereVolume(String fsType, String storagePolicyID, String storagePolicyName, String volumePath) { + super(); + this.fsType = fsType; + this.storagePolicyID = storagePolicyID; + this.storagePolicyName = storagePolicyName; + this.volumePath = volumePath; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("storagePolicyID") + public String getStoragePolicyID() { + return storagePolicyID; + } + + @JsonProperty("storagePolicyID") + public void setStoragePolicyID(String storagePolicyID) { + this.storagePolicyID = storagePolicyID; + } + + @JsonProperty("storagePolicyName") + public String getStoragePolicyName() { + return storagePolicyName; + } + + @JsonProperty("storagePolicyName") + public void setStoragePolicyName(String storagePolicyName) { + this.storagePolicyName = storagePolicyName; + } + + @JsonProperty("volumePath") + public String getVolumePath() { + return volumePath; + } + + @JsonProperty("volumePath") + public void setVolumePath(String volumePath) { + this.volumePath = volumePath; + } + + @JsonIgnore + public SubscriptionSpecCVVsphereVolumeBuilder edit() { + return new SubscriptionSpecCVVsphereVolumeBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVVsphereVolumeBuilder 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/SubscriptionSpecCVolumeMounts.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVolumeMounts.java new file mode 100644 index 00000000000..f74a1118178 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVolumeMounts.java @@ -0,0 +1,192 @@ + +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({ + "mountPath", + "mountPropagation", + "name", + "readOnly", + "recursiveReadOnly", + "subPath", + "subPathExpr" +}) +@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 SubscriptionSpecCVolumeMounts implements Editable , KubernetesResource +{ + + @JsonProperty("mountPath") + private String mountPath; + @JsonProperty("mountPropagation") + private String mountPropagation; + @JsonProperty("name") + private String name; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("recursiveReadOnly") + private String recursiveReadOnly; + @JsonProperty("subPath") + private String subPath; + @JsonProperty("subPathExpr") + private String subPathExpr; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVolumeMounts() { + } + + public SubscriptionSpecCVolumeMounts(String mountPath, String mountPropagation, String name, Boolean readOnly, String recursiveReadOnly, String subPath, String subPathExpr) { + super(); + this.mountPath = mountPath; + this.mountPropagation = mountPropagation; + this.name = name; + this.readOnly = readOnly; + this.recursiveReadOnly = recursiveReadOnly; + this.subPath = subPath; + this.subPathExpr = subPathExpr; + } + + @JsonProperty("mountPath") + public String getMountPath() { + return mountPath; + } + + @JsonProperty("mountPath") + public void setMountPath(String mountPath) { + this.mountPath = mountPath; + } + + @JsonProperty("mountPropagation") + public String getMountPropagation() { + return mountPropagation; + } + + @JsonProperty("mountPropagation") + public void setMountPropagation(String mountPropagation) { + this.mountPropagation = mountPropagation; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("recursiveReadOnly") + public String getRecursiveReadOnly() { + return recursiveReadOnly; + } + + @JsonProperty("recursiveReadOnly") + public void setRecursiveReadOnly(String recursiveReadOnly) { + this.recursiveReadOnly = recursiveReadOnly; + } + + @JsonProperty("subPath") + public String getSubPath() { + return subPath; + } + + @JsonProperty("subPath") + public void setSubPath(String subPath) { + this.subPath = subPath; + } + + @JsonProperty("subPathExpr") + public String getSubPathExpr() { + return subPathExpr; + } + + @JsonProperty("subPathExpr") + public void setSubPathExpr(String subPathExpr) { + this.subPathExpr = subPathExpr; + } + + @JsonIgnore + public SubscriptionSpecCVolumeMountsBuilder edit() { + return new SubscriptionSpecCVolumeMountsBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVolumeMountsBuilder 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/SubscriptionSpecCVolumes.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVolumes.java new file mode 100644 index 00000000000..07023d9b2e9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecCVolumes.java @@ -0,0 +1,514 @@ + +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({ + "awsElasticBlockStore", + "azureDisk", + "azureFile", + "cephfs", + "cinder", + "configMap", + "csi", + "downwardAPI", + "emptyDir", + "ephemeral", + "fc", + "flexVolume", + "flocker", + "gcePersistentDisk", + "gitRepo", + "glusterfs", + "hostPath", + "iscsi", + "name", + "nfs", + "persistentVolumeClaim", + "photonPersistentDisk", + "portworxVolume", + "projected", + "quobyte", + "rbd", + "scaleIO", + "secret", + "storageos", + "vsphereVolume" +}) +@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 SubscriptionSpecCVolumes implements Editable , KubernetesResource +{ + + @JsonProperty("awsElasticBlockStore") + private SubscriptionSpecCVAwsElasticBlockStore awsElasticBlockStore; + @JsonProperty("azureDisk") + private SubscriptionSpecCVAzureDisk azureDisk; + @JsonProperty("azureFile") + private SubscriptionSpecCVAzureFile azureFile; + @JsonProperty("cephfs") + private SubscriptionSpecCVCephfs cephfs; + @JsonProperty("cinder") + private SubscriptionSpecCVCinder cinder; + @JsonProperty("configMap") + private SubscriptionSpecCVConfigMap configMap; + @JsonProperty("csi") + private SubscriptionSpecCVCsi csi; + @JsonProperty("downwardAPI") + private SubscriptionSpecCVDownwardAPI downwardAPI; + @JsonProperty("emptyDir") + private SubscriptionSpecCVEmptyDir emptyDir; + @JsonProperty("ephemeral") + private SubscriptionSpecCVEphemeral ephemeral; + @JsonProperty("fc") + private SubscriptionSpecCVFc fc; + @JsonProperty("flexVolume") + private SubscriptionSpecCVFlexVolume flexVolume; + @JsonProperty("flocker") + private SubscriptionSpecCVFlocker flocker; + @JsonProperty("gcePersistentDisk") + private SubscriptionSpecCVGcePersistentDisk gcePersistentDisk; + @JsonProperty("gitRepo") + private SubscriptionSpecCVGitRepo gitRepo; + @JsonProperty("glusterfs") + private SubscriptionSpecCVGlusterfs glusterfs; + @JsonProperty("hostPath") + private SubscriptionSpecCVHostPath hostPath; + @JsonProperty("iscsi") + private SubscriptionSpecCVIscsi iscsi; + @JsonProperty("name") + private String name; + @JsonProperty("nfs") + private SubscriptionSpecCVNfs nfs; + @JsonProperty("persistentVolumeClaim") + private SubscriptionSpecCVPersistentVolumeClaim persistentVolumeClaim; + @JsonProperty("photonPersistentDisk") + private SubscriptionSpecCVPhotonPersistentDisk photonPersistentDisk; + @JsonProperty("portworxVolume") + private SubscriptionSpecCVPortworxVolume portworxVolume; + @JsonProperty("projected") + private SubscriptionSpecCVProjected projected; + @JsonProperty("quobyte") + private SubscriptionSpecCVQuobyte quobyte; + @JsonProperty("rbd") + private SubscriptionSpecCVRbd rbd; + @JsonProperty("scaleIO") + private SubscriptionSpecCVScaleIO scaleIO; + @JsonProperty("secret") + private SubscriptionSpecCVSecret secret; + @JsonProperty("storageos") + private SubscriptionSpecCVStorageos storageos; + @JsonProperty("vsphereVolume") + private SubscriptionSpecCVVsphereVolume vsphereVolume; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SubscriptionSpecCVolumes() { + } + + public SubscriptionSpecCVolumes(SubscriptionSpecCVAwsElasticBlockStore awsElasticBlockStore, SubscriptionSpecCVAzureDisk azureDisk, SubscriptionSpecCVAzureFile azureFile, SubscriptionSpecCVCephfs cephfs, SubscriptionSpecCVCinder cinder, SubscriptionSpecCVConfigMap configMap, SubscriptionSpecCVCsi csi, SubscriptionSpecCVDownwardAPI downwardAPI, SubscriptionSpecCVEmptyDir emptyDir, SubscriptionSpecCVEphemeral ephemeral, SubscriptionSpecCVFc fc, SubscriptionSpecCVFlexVolume flexVolume, SubscriptionSpecCVFlocker flocker, SubscriptionSpecCVGcePersistentDisk gcePersistentDisk, SubscriptionSpecCVGitRepo gitRepo, SubscriptionSpecCVGlusterfs glusterfs, SubscriptionSpecCVHostPath hostPath, SubscriptionSpecCVIscsi iscsi, String name, SubscriptionSpecCVNfs nfs, SubscriptionSpecCVPersistentVolumeClaim persistentVolumeClaim, SubscriptionSpecCVPhotonPersistentDisk photonPersistentDisk, SubscriptionSpecCVPortworxVolume portworxVolume, SubscriptionSpecCVProjected projected, SubscriptionSpecCVQuobyte quobyte, SubscriptionSpecCVRbd rbd, SubscriptionSpecCVScaleIO scaleIO, SubscriptionSpecCVSecret secret, SubscriptionSpecCVStorageos storageos, SubscriptionSpecCVVsphereVolume vsphereVolume) { + super(); + this.awsElasticBlockStore = awsElasticBlockStore; + this.azureDisk = azureDisk; + this.azureFile = azureFile; + this.cephfs = cephfs; + this.cinder = cinder; + this.configMap = configMap; + this.csi = csi; + this.downwardAPI = downwardAPI; + this.emptyDir = emptyDir; + this.ephemeral = ephemeral; + this.fc = fc; + this.flexVolume = flexVolume; + this.flocker = flocker; + this.gcePersistentDisk = gcePersistentDisk; + this.gitRepo = gitRepo; + this.glusterfs = glusterfs; + this.hostPath = hostPath; + this.iscsi = iscsi; + this.name = name; + this.nfs = nfs; + this.persistentVolumeClaim = persistentVolumeClaim; + this.photonPersistentDisk = photonPersistentDisk; + this.portworxVolume = portworxVolume; + this.projected = projected; + this.quobyte = quobyte; + this.rbd = rbd; + this.scaleIO = scaleIO; + this.secret = secret; + this.storageos = storageos; + this.vsphereVolume = vsphereVolume; + } + + @JsonProperty("awsElasticBlockStore") + public SubscriptionSpecCVAwsElasticBlockStore getAwsElasticBlockStore() { + return awsElasticBlockStore; + } + + @JsonProperty("awsElasticBlockStore") + public void setAwsElasticBlockStore(SubscriptionSpecCVAwsElasticBlockStore awsElasticBlockStore) { + this.awsElasticBlockStore = awsElasticBlockStore; + } + + @JsonProperty("azureDisk") + public SubscriptionSpecCVAzureDisk getAzureDisk() { + return azureDisk; + } + + @JsonProperty("azureDisk") + public void setAzureDisk(SubscriptionSpecCVAzureDisk azureDisk) { + this.azureDisk = azureDisk; + } + + @JsonProperty("azureFile") + public SubscriptionSpecCVAzureFile getAzureFile() { + return azureFile; + } + + @JsonProperty("azureFile") + public void setAzureFile(SubscriptionSpecCVAzureFile azureFile) { + this.azureFile = azureFile; + } + + @JsonProperty("cephfs") + public SubscriptionSpecCVCephfs getCephfs() { + return cephfs; + } + + @JsonProperty("cephfs") + public void setCephfs(SubscriptionSpecCVCephfs cephfs) { + this.cephfs = cephfs; + } + + @JsonProperty("cinder") + public SubscriptionSpecCVCinder getCinder() { + return cinder; + } + + @JsonProperty("cinder") + public void setCinder(SubscriptionSpecCVCinder cinder) { + this.cinder = cinder; + } + + @JsonProperty("configMap") + public SubscriptionSpecCVConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(SubscriptionSpecCVConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("csi") + public SubscriptionSpecCVCsi getCsi() { + return csi; + } + + @JsonProperty("csi") + public void setCsi(SubscriptionSpecCVCsi csi) { + this.csi = csi; + } + + @JsonProperty("downwardAPI") + public SubscriptionSpecCVDownwardAPI getDownwardAPI() { + return downwardAPI; + } + + @JsonProperty("downwardAPI") + public void setDownwardAPI(SubscriptionSpecCVDownwardAPI downwardAPI) { + this.downwardAPI = downwardAPI; + } + + @JsonProperty("emptyDir") + public SubscriptionSpecCVEmptyDir getEmptyDir() { + return emptyDir; + } + + @JsonProperty("emptyDir") + public void setEmptyDir(SubscriptionSpecCVEmptyDir emptyDir) { + this.emptyDir = emptyDir; + } + + @JsonProperty("ephemeral") + public SubscriptionSpecCVEphemeral getEphemeral() { + return ephemeral; + } + + @JsonProperty("ephemeral") + public void setEphemeral(SubscriptionSpecCVEphemeral ephemeral) { + this.ephemeral = ephemeral; + } + + @JsonProperty("fc") + public SubscriptionSpecCVFc getFc() { + return fc; + } + + @JsonProperty("fc") + public void setFc(SubscriptionSpecCVFc fc) { + this.fc = fc; + } + + @JsonProperty("flexVolume") + public SubscriptionSpecCVFlexVolume getFlexVolume() { + return flexVolume; + } + + @JsonProperty("flexVolume") + public void setFlexVolume(SubscriptionSpecCVFlexVolume flexVolume) { + this.flexVolume = flexVolume; + } + + @JsonProperty("flocker") + public SubscriptionSpecCVFlocker getFlocker() { + return flocker; + } + + @JsonProperty("flocker") + public void setFlocker(SubscriptionSpecCVFlocker flocker) { + this.flocker = flocker; + } + + @JsonProperty("gcePersistentDisk") + public SubscriptionSpecCVGcePersistentDisk getGcePersistentDisk() { + return gcePersistentDisk; + } + + @JsonProperty("gcePersistentDisk") + public void setGcePersistentDisk(SubscriptionSpecCVGcePersistentDisk gcePersistentDisk) { + this.gcePersistentDisk = gcePersistentDisk; + } + + @JsonProperty("gitRepo") + public SubscriptionSpecCVGitRepo getGitRepo() { + return gitRepo; + } + + @JsonProperty("gitRepo") + public void setGitRepo(SubscriptionSpecCVGitRepo gitRepo) { + this.gitRepo = gitRepo; + } + + @JsonProperty("glusterfs") + public SubscriptionSpecCVGlusterfs getGlusterfs() { + return glusterfs; + } + + @JsonProperty("glusterfs") + public void setGlusterfs(SubscriptionSpecCVGlusterfs glusterfs) { + this.glusterfs = glusterfs; + } + + @JsonProperty("hostPath") + public SubscriptionSpecCVHostPath getHostPath() { + return hostPath; + } + + @JsonProperty("hostPath") + public void setHostPath(SubscriptionSpecCVHostPath hostPath) { + this.hostPath = hostPath; + } + + @JsonProperty("iscsi") + public SubscriptionSpecCVIscsi getIscsi() { + return iscsi; + } + + @JsonProperty("iscsi") + public void setIscsi(SubscriptionSpecCVIscsi iscsi) { + this.iscsi = iscsi; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("nfs") + public SubscriptionSpecCVNfs getNfs() { + return nfs; + } + + @JsonProperty("nfs") + public void setNfs(SubscriptionSpecCVNfs nfs) { + this.nfs = nfs; + } + + @JsonProperty("persistentVolumeClaim") + public SubscriptionSpecCVPersistentVolumeClaim getPersistentVolumeClaim() { + return persistentVolumeClaim; + } + + @JsonProperty("persistentVolumeClaim") + public void setPersistentVolumeClaim(SubscriptionSpecCVPersistentVolumeClaim persistentVolumeClaim) { + this.persistentVolumeClaim = persistentVolumeClaim; + } + + @JsonProperty("photonPersistentDisk") + public SubscriptionSpecCVPhotonPersistentDisk getPhotonPersistentDisk() { + return photonPersistentDisk; + } + + @JsonProperty("photonPersistentDisk") + public void setPhotonPersistentDisk(SubscriptionSpecCVPhotonPersistentDisk photonPersistentDisk) { + this.photonPersistentDisk = photonPersistentDisk; + } + + @JsonProperty("portworxVolume") + public SubscriptionSpecCVPortworxVolume getPortworxVolume() { + return portworxVolume; + } + + @JsonProperty("portworxVolume") + public void setPortworxVolume(SubscriptionSpecCVPortworxVolume portworxVolume) { + this.portworxVolume = portworxVolume; + } + + @JsonProperty("projected") + public SubscriptionSpecCVProjected getProjected() { + return projected; + } + + @JsonProperty("projected") + public void setProjected(SubscriptionSpecCVProjected projected) { + this.projected = projected; + } + + @JsonProperty("quobyte") + public SubscriptionSpecCVQuobyte getQuobyte() { + return quobyte; + } + + @JsonProperty("quobyte") + public void setQuobyte(SubscriptionSpecCVQuobyte quobyte) { + this.quobyte = quobyte; + } + + @JsonProperty("rbd") + public SubscriptionSpecCVRbd getRbd() { + return rbd; + } + + @JsonProperty("rbd") + public void setRbd(SubscriptionSpecCVRbd rbd) { + this.rbd = rbd; + } + + @JsonProperty("scaleIO") + public SubscriptionSpecCVScaleIO getScaleIO() { + return scaleIO; + } + + @JsonProperty("scaleIO") + public void setScaleIO(SubscriptionSpecCVScaleIO scaleIO) { + this.scaleIO = scaleIO; + } + + @JsonProperty("secret") + public SubscriptionSpecCVSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(SubscriptionSpecCVSecret secret) { + this.secret = secret; + } + + @JsonProperty("storageos") + public SubscriptionSpecCVStorageos getStorageos() { + return storageos; + } + + @JsonProperty("storageos") + public void setStorageos(SubscriptionSpecCVStorageos storageos) { + this.storageos = storageos; + } + + @JsonProperty("vsphereVolume") + public SubscriptionSpecCVVsphereVolume getVsphereVolume() { + return vsphereVolume; + } + + @JsonProperty("vsphereVolume") + public void setVsphereVolume(SubscriptionSpecCVVsphereVolume vsphereVolume) { + this.vsphereVolume = vsphereVolume; + } + + @JsonIgnore + public SubscriptionSpecCVolumesBuilder edit() { + return new SubscriptionSpecCVolumesBuilder(this); + } + + @JsonIgnore + public SubscriptionSpecCVolumesBuilder 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/SubscriptionConfig.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecConfig.java similarity index 64% rename from kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionConfig.java rename to kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecConfig.java index a7ff8a4d8ca..bccc72e7622 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionConfig.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionSpecConfig.java @@ -14,20 +14,16 @@ 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.Affinity; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.EnvFromSource; -import io.fabric8.kubernetes.api.model.EnvVar; 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.Toleration; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; +import io.fabric8.kubernetes.api.model.ResourceRequirements; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -38,6 +34,7 @@ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "affinity", + "annotations", "env", "envFrom", "nodeSelector", @@ -55,43 +52,46 @@ }) @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(io.fabric8.kubernetes.api.model.ResourceRequirements.class), + @BuildableReference(ResourceRequirements.class), @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SubscriptionConfig implements Editable , KubernetesResource +public class SubscriptionSpecConfig implements Editable , KubernetesResource { @JsonProperty("affinity") - private Affinity affinity; + private SubscriptionSpecCAffinity affinity; + @JsonProperty("annotations") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map annotations = new LinkedHashMap<>(); @JsonProperty("env") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List env = new ArrayList<>(); + private List env = new ArrayList<>(); @JsonProperty("envFrom") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List envFrom = new ArrayList<>(); + private List envFrom = new ArrayList<>(); @JsonProperty("nodeSelector") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map nodeSelector = new LinkedHashMap<>(); @JsonProperty("resources") - private io.fabric8.kubernetes.api.model.ResourceRequirements resources; + private SubscriptionSpecCResources resources; @JsonProperty("selector") - private io.fabric8.kubernetes.api.model.LabelSelector selector; + private SubscriptionSpecCSelector selector; @JsonProperty("tolerations") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List tolerations = new ArrayList<>(); + private List tolerations = new ArrayList<>(); @JsonProperty("volumeMounts") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List volumeMounts = new ArrayList<>(); + private List volumeMounts = new ArrayList<>(); @JsonProperty("volumes") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List volumes = new ArrayList<>(); + private List volumes = new ArrayList<>(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -99,12 +99,13 @@ public class SubscriptionConfig implements Editable , * No args constructor for use in serialization * */ - public SubscriptionConfig() { + public SubscriptionSpecConfig() { } - public SubscriptionConfig(Affinity affinity, List env, List envFrom, Map nodeSelector, io.fabric8.kubernetes.api.model.ResourceRequirements resources, io.fabric8.kubernetes.api.model.LabelSelector selector, List tolerations, List volumeMounts, List volumes) { + public SubscriptionSpecConfig(SubscriptionSpecCAffinity affinity, Map annotations, List env, List envFrom, Map nodeSelector, SubscriptionSpecCResources resources, SubscriptionSpecCSelector selector, List tolerations, List volumeMounts, List volumes) { super(); this.affinity = affinity; + this.annotations = annotations; this.env = env; this.envFrom = envFrom; this.nodeSelector = nodeSelector; @@ -116,34 +117,45 @@ public SubscriptionConfig(Affinity affinity, List env, List getAnnotations() { + return annotations; + } + + @JsonProperty("annotations") + public void setAnnotations(Map annotations) { + this.annotations = annotations; + } + @JsonProperty("env") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getEnv() { + public List getEnv() { return env; } @JsonProperty("env") - public void setEnv(List env) { + public void setEnv(List env) { this.env = env; } @JsonProperty("envFrom") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getEnvFrom() { + public List getEnvFrom() { return envFrom; } @JsonProperty("envFrom") - public void setEnvFrom(List envFrom) { + public void setEnvFrom(List envFrom) { this.envFrom = envFrom; } @@ -159,65 +171,65 @@ public void setNodeSelector(Map nodeSelector) { } @JsonProperty("resources") - public io.fabric8.kubernetes.api.model.ResourceRequirements getResources() { + public SubscriptionSpecCResources getResources() { return resources; } @JsonProperty("resources") - public void setResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources) { + public void setResources(SubscriptionSpecCResources resources) { this.resources = resources; } @JsonProperty("selector") - public io.fabric8.kubernetes.api.model.LabelSelector getSelector() { + public SubscriptionSpecCSelector getSelector() { return selector; } @JsonProperty("selector") - public void setSelector(io.fabric8.kubernetes.api.model.LabelSelector selector) { + public void setSelector(SubscriptionSpecCSelector selector) { this.selector = selector; } @JsonProperty("tolerations") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getTolerations() { + public List getTolerations() { return tolerations; } @JsonProperty("tolerations") - public void setTolerations(List tolerations) { + public void setTolerations(List tolerations) { this.tolerations = tolerations; } @JsonProperty("volumeMounts") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getVolumeMounts() { + public List getVolumeMounts() { return volumeMounts; } @JsonProperty("volumeMounts") - public void setVolumeMounts(List volumeMounts) { + public void setVolumeMounts(List volumeMounts) { this.volumeMounts = volumeMounts; } @JsonProperty("volumes") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getVolumes() { + public List getVolumes() { return volumes; } @JsonProperty("volumes") - public void setVolumes(List volumes) { + public void setVolumes(List volumes) { this.volumes = volumes; } @JsonIgnore - public SubscriptionConfigBuilder edit() { - return new SubscriptionConfigBuilder(this); + public SubscriptionSpecConfigBuilder edit() { + return new SubscriptionSpecConfigBuilder(this); } @JsonIgnore - public SubscriptionConfigBuilder toBuilder() { + public SubscriptionSpecConfigBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionStatus.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionStatus.java index 2dbcde47dd8..344ebefe6c4 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionStatus.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionStatus.java @@ -20,6 +20,7 @@ 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; @@ -56,7 +57,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) }) @@ -66,20 +67,20 @@ public class SubscriptionStatus implements Editable , @JsonProperty("catalogHealth") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List catalogHealth = new ArrayList<>(); + private List catalogHealth = new ArrayList<>(); @JsonProperty("conditions") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List conditions = new ArrayList<>(); + private List conditions = new ArrayList<>(); @JsonProperty("currentCSV") private String currentCSV; @JsonProperty("installPlanGeneration") private Integer installPlanGeneration; @JsonProperty("installPlanRef") - private io.fabric8.kubernetes.api.model.ObjectReference installPlanRef; + private SubscriptionStatusInstallPlanRef installPlanRef; @JsonProperty("installedCSV") private String installedCSV; @JsonProperty("installplan") - private InstallPlanReference installplan; + private SubscriptionStatusInstallplan installplan; @JsonProperty("lastUpdated") private String lastUpdated; @JsonProperty("reason") @@ -96,7 +97,7 @@ public class SubscriptionStatus implements Editable , public SubscriptionStatus() { } - public SubscriptionStatus(List catalogHealth, List conditions, String currentCSV, Integer installPlanGeneration, io.fabric8.kubernetes.api.model.ObjectReference installPlanRef, String installedCSV, InstallPlanReference installplan, String lastUpdated, String reason, String state) { + public SubscriptionStatus(List catalogHealth, List conditions, String currentCSV, Integer installPlanGeneration, SubscriptionStatusInstallPlanRef installPlanRef, String installedCSV, SubscriptionStatusInstallplan installplan, String lastUpdated, String reason, String state) { super(); this.catalogHealth = catalogHealth; this.conditions = conditions; @@ -112,23 +113,23 @@ public SubscriptionStatus(List catalogHealth, List getCatalogHealth() { + public List getCatalogHealth() { return catalogHealth; } @JsonProperty("catalogHealth") - public void setCatalogHealth(List catalogHealth) { + public void setCatalogHealth(List catalogHealth) { this.catalogHealth = catalogHealth; } @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; } @@ -153,12 +154,12 @@ public void setInstallPlanGeneration(Integer installPlanGeneration) { } @JsonProperty("installPlanRef") - public io.fabric8.kubernetes.api.model.ObjectReference getInstallPlanRef() { + public SubscriptionStatusInstallPlanRef getInstallPlanRef() { return installPlanRef; } @JsonProperty("installPlanRef") - public void setInstallPlanRef(io.fabric8.kubernetes.api.model.ObjectReference installPlanRef) { + public void setInstallPlanRef(SubscriptionStatusInstallPlanRef installPlanRef) { this.installPlanRef = installPlanRef; } @@ -173,12 +174,12 @@ public void setInstalledCSV(String installedCSV) { } @JsonProperty("installplan") - public InstallPlanReference getInstallplan() { + public SubscriptionStatusInstallplan getInstallplan() { return installplan; } @JsonProperty("installplan") - public void setInstallplan(InstallPlanReference installplan) { + public void setInstallplan(SubscriptionStatusInstallplan installplan) { this.installplan = installplan; } diff --git a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionStatusCHCatalogSourceRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionStatusCHCatalogSourceRef.java new file mode 100644 index 00000000000..552dce732b6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionStatusCHCatalogSourceRef.java @@ -0,0 +1,192 @@ + +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({ + "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 SubscriptionStatusCHCatalogSourceRef 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 SubscriptionStatusCHCatalogSourceRef() { + } + + public SubscriptionStatusCHCatalogSourceRef(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 SubscriptionStatusCHCatalogSourceRefBuilder edit() { + return new SubscriptionStatusCHCatalogSourceRefBuilder(this); + } + + @JsonIgnore + public SubscriptionStatusCHCatalogSourceRefBuilder 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/SubscriptionCatalogHealth.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionStatusCatalogHealth.java similarity index 82% rename from kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionCatalogHealth.java rename to kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionStatusCatalogHealth.java index 0e2666444ae..f8f85dcc7ba 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionCatalogHealth.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionStatusCatalogHealth.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.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; @@ -47,16 +48,16 @@ @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) }) @Generated("jsonschema2pojo") -public class SubscriptionCatalogHealth implements Editable , KubernetesResource +public class SubscriptionStatusCatalogHealth implements Editable , KubernetesResource { @JsonProperty("catalogSourceRef") - private io.fabric8.kubernetes.api.model.ObjectReference catalogSourceRef; + private SubscriptionStatusCHCatalogSourceRef catalogSourceRef; @JsonProperty("healthy") private Boolean healthy; @JsonProperty("lastUpdated") @@ -68,10 +69,10 @@ public class SubscriptionCatalogHealth implements Editable , KubernetesResource +{ + + @JsonProperty("lastHeartbeatTime") + private String lastHeartbeatTime; + @JsonProperty("lastTransitionTime") + private String lastTransitionTime; + @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 SubscriptionStatusConditions() { + } + + public SubscriptionStatusConditions(String lastHeartbeatTime, String lastTransitionTime, String message, String reason, String status, String type) { + super(); + this.lastHeartbeatTime = lastHeartbeatTime; + this.lastTransitionTime = lastTransitionTime; + this.message = message; + this.reason = reason; + this.status = status; + this.type = type; + } + + @JsonProperty("lastHeartbeatTime") + public String getLastHeartbeatTime() { + return lastHeartbeatTime; + } + + @JsonProperty("lastHeartbeatTime") + public void setLastHeartbeatTime(String lastHeartbeatTime) { + this.lastHeartbeatTime = lastHeartbeatTime; + } + + @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("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 SubscriptionStatusConditionsBuilder edit() { + return new SubscriptionStatusConditionsBuilder(this); + } + + @JsonIgnore + public SubscriptionStatusConditionsBuilder 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/SubscriptionStatusInstallPlanRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionStatusInstallPlanRef.java new file mode 100644 index 00000000000..290d519a0cd --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionStatusInstallPlanRef.java @@ -0,0 +1,192 @@ + +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({ + "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 SubscriptionStatusInstallPlanRef 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 SubscriptionStatusInstallPlanRef() { + } + + public SubscriptionStatusInstallPlanRef(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 SubscriptionStatusInstallPlanRefBuilder edit() { + return new SubscriptionStatusInstallPlanRefBuilder(this); + } + + @JsonIgnore + public SubscriptionStatusInstallPlanRefBuilder 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/InstallPlanReference.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionStatusInstallplan.java similarity index 90% rename from kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanReference.java rename to kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionStatusInstallplan.java index ca040b0d812..359a33b08ba 100644 --- a/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/InstallPlanReference.java +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha1/SubscriptionStatusInstallplan.java @@ -54,7 +54,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class InstallPlanReference implements Editable , KubernetesResource +public class SubscriptionStatusInstallplan implements Editable , KubernetesResource { @JsonProperty("apiVersion") @@ -72,10 +72,10 @@ public class InstallPlanReference implements Editable , HasMetadata, Namespaced +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "operators.coreos.com/v1alpha2"; + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "OperatorGroup"; + @JsonProperty("metadata") + private ObjectMeta metadata; + @JsonProperty("spec") + private OperatorGroupSpec spec; + @JsonProperty("status") + private OperatorGroupStatus status; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public OperatorGroup() { + } + + public OperatorGroup(String apiVersion, String kind, ObjectMeta metadata, OperatorGroupSpec spec, OperatorGroupStatus status) { + super(); + this.apiVersion = apiVersion; + this.kind = kind; + this.metadata = metadata; + this.spec = spec; + this.status = status; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ObjectMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ObjectMeta metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public OperatorGroupSpec getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(OperatorGroupSpec spec) { + this.spec = spec; + } + + @JsonProperty("status") + public OperatorGroupStatus getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(OperatorGroupStatus status) { + this.status = status; + } + + @JsonIgnore + public OperatorGroupBuilder edit() { + return new OperatorGroupBuilder(this); + } + + @JsonIgnore + public OperatorGroupBuilder 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/v1alpha2/OperatorGroupList.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha2/OperatorGroupList.java new file mode 100644 index 00000000000..20570c9e72b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha2/OperatorGroupList.java @@ -0,0 +1,195 @@ + +package io.fabric8.openshift.api.model.operatorhub.v1alpha2; + +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.KubernetesResourceList; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.ListMeta; +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.fabric8.kubernetes.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +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", + "metadata", + "items" +}) +@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) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1alpha2") +@Group("operators.coreos.com") +@Generated("jsonschema2pojo") +public class OperatorGroupList implements Editable , KubernetesResource, KubernetesResourceList +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "operators.coreos.com/v1alpha2"; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "OperatorGroupList"; + @JsonProperty("metadata") + private ListMeta metadata; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public OperatorGroupList() { + } + + public OperatorGroupList(String apiVersion, List items, String kind, ListMeta metadata) { + super(); + this.apiVersion = apiVersion; + this.items = items; + this.kind = kind; + this.metadata = metadata; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ListMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ListMeta metadata) { + this.metadata = metadata; + } + + @JsonIgnore + public OperatorGroupListBuilder edit() { + return new OperatorGroupListBuilder(this); + } + + @JsonIgnore + public OperatorGroupListBuilder 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/v1alpha2/OperatorGroupSpec.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha2/OperatorGroupSpec.java new file mode 100644 index 00000000000..9592d1300f2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha2/OperatorGroupSpec.java @@ -0,0 +1,154 @@ + +package io.fabric8.openshift.api.model.operatorhub.v1alpha2; + +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({ + "selector", + "serviceAccountName", + "staticProvidedAPIs", + "targetNamespaces" +}) +@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 OperatorGroupSpec implements Editable , KubernetesResource +{ + + @JsonProperty("selector") + private OperatorGroupSpecSelector selector; + @JsonProperty("serviceAccountName") + private String serviceAccountName; + @JsonProperty("staticProvidedAPIs") + private Boolean staticProvidedAPIs; + @JsonProperty("targetNamespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List targetNamespaces = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public OperatorGroupSpec() { + } + + public OperatorGroupSpec(OperatorGroupSpecSelector selector, String serviceAccountName, Boolean staticProvidedAPIs, List targetNamespaces) { + super(); + this.selector = selector; + this.serviceAccountName = serviceAccountName; + this.staticProvidedAPIs = staticProvidedAPIs; + this.targetNamespaces = targetNamespaces; + } + + @JsonProperty("selector") + public OperatorGroupSpecSelector getSelector() { + return selector; + } + + @JsonProperty("selector") + public void setSelector(OperatorGroupSpecSelector selector) { + this.selector = selector; + } + + @JsonProperty("serviceAccountName") + public String getServiceAccountName() { + return serviceAccountName; + } + + @JsonProperty("serviceAccountName") + public void setServiceAccountName(String serviceAccountName) { + this.serviceAccountName = serviceAccountName; + } + + @JsonProperty("staticProvidedAPIs") + public Boolean getStaticProvidedAPIs() { + return staticProvidedAPIs; + } + + @JsonProperty("staticProvidedAPIs") + public void setStaticProvidedAPIs(Boolean staticProvidedAPIs) { + this.staticProvidedAPIs = staticProvidedAPIs; + } + + @JsonProperty("targetNamespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getTargetNamespaces() { + return targetNamespaces; + } + + @JsonProperty("targetNamespaces") + public void setTargetNamespaces(List targetNamespaces) { + this.targetNamespaces = targetNamespaces; + } + + @JsonIgnore + public OperatorGroupSpecBuilder edit() { + return new OperatorGroupSpecBuilder(this); + } + + @JsonIgnore + public OperatorGroupSpecBuilder 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/v1alpha2/OperatorGroupSpecSMatchExpressions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha2/OperatorGroupSpecSMatchExpressions.java new file mode 100644 index 00000000000..3526bf3aeff --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha2/OperatorGroupSpecSMatchExpressions.java @@ -0,0 +1,140 @@ + +package io.fabric8.openshift.api.model.operatorhub.v1alpha2; + +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/v1alpha2/OperatorGroupSpecSelector.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha2/OperatorGroupSpecSelector.java new file mode 100644 index 00000000000..3623aa9f196 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha2/OperatorGroupSpecSelector.java @@ -0,0 +1,128 @@ + +package io.fabric8.openshift.api.model.operatorhub.v1alpha2; + +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/v1alpha2/OperatorGroupStatus.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha2/OperatorGroupStatus.java new file mode 100644 index 00000000000..a7ff987c616 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha2/OperatorGroupStatus.java @@ -0,0 +1,140 @@ + +package io.fabric8.openshift.api.model.operatorhub.v1alpha2; + +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({ + "lastUpdated", + "namespaces", + "serviceAccountRef" +}) +@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 OperatorGroupStatus implements Editable , KubernetesResource +{ + + @JsonProperty("lastUpdated") + private String lastUpdated; + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List namespaces = new ArrayList<>(); + @JsonProperty("serviceAccountRef") + private OperatorGroupStatusServiceAccountRef serviceAccountRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public OperatorGroupStatus() { + } + + public OperatorGroupStatus(String lastUpdated, List namespaces, OperatorGroupStatusServiceAccountRef serviceAccountRef) { + super(); + this.lastUpdated = lastUpdated; + this.namespaces = namespaces; + this.serviceAccountRef = serviceAccountRef; + } + + @JsonProperty("lastUpdated") + public String getLastUpdated() { + return lastUpdated; + } + + @JsonProperty("lastUpdated") + public void setLastUpdated(String lastUpdated) { + this.lastUpdated = lastUpdated; + } + + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNamespaces() { + return namespaces; + } + + @JsonProperty("namespaces") + public void setNamespaces(List namespaces) { + this.namespaces = namespaces; + } + + @JsonProperty("serviceAccountRef") + public OperatorGroupStatusServiceAccountRef getServiceAccountRef() { + return serviceAccountRef; + } + + @JsonProperty("serviceAccountRef") + public void setServiceAccountRef(OperatorGroupStatusServiceAccountRef serviceAccountRef) { + this.serviceAccountRef = serviceAccountRef; + } + + @JsonIgnore + public OperatorGroupStatusBuilder edit() { + return new OperatorGroupStatusBuilder(this); + } + + @JsonIgnore + public OperatorGroupStatusBuilder 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/v1alpha2/OperatorGroupStatusServiceAccountRef.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha2/OperatorGroupStatusServiceAccountRef.java new file mode 100644 index 00000000000..31ae8a8a0d6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v1alpha2/OperatorGroupStatusServiceAccountRef.java @@ -0,0 +1,192 @@ + +package io.fabric8.openshift.api.model.operatorhub.v1alpha2; + +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/v2/OperatorCondition.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v2/OperatorCondition.java new file mode 100644 index 00000000000..743eccb04dd --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v2/OperatorCondition.java @@ -0,0 +1,204 @@ + +package io.fabric8.openshift.api.model.operatorhub.v2; + +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.HasMetadata; +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.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; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +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", + "metadata", + "spec", + "status" +}) +@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) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v2") +@Group("operators.coreos.com") +@Generated("jsonschema2pojo") +public class OperatorCondition implements Editable , HasMetadata, Namespaced +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "operators.coreos.com/v2"; + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "OperatorCondition"; + @JsonProperty("metadata") + private ObjectMeta metadata; + @JsonProperty("spec") + private OperatorConditionSpec spec; + @JsonProperty("status") + private OperatorConditionStatus status; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public OperatorCondition() { + } + + public OperatorCondition(String apiVersion, String kind, ObjectMeta metadata, OperatorConditionSpec spec, OperatorConditionStatus status) { + super(); + this.apiVersion = apiVersion; + this.kind = kind; + this.metadata = metadata; + this.spec = spec; + this.status = status; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ObjectMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ObjectMeta metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public OperatorConditionSpec getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(OperatorConditionSpec spec) { + this.spec = spec; + } + + @JsonProperty("status") + public OperatorConditionStatus getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(OperatorConditionStatus status) { + this.status = status; + } + + @JsonIgnore + public OperatorConditionBuilder edit() { + return new OperatorConditionBuilder(this); + } + + @JsonIgnore + public OperatorConditionBuilder 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/v2/OperatorConditionList.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v2/OperatorConditionList.java new file mode 100644 index 00000000000..d28260d302d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v2/OperatorConditionList.java @@ -0,0 +1,195 @@ + +package io.fabric8.openshift.api.model.operatorhub.v2; + +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.KubernetesResourceList; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.ListMeta; +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.fabric8.kubernetes.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +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", + "metadata", + "items" +}) +@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) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v2") +@Group("operators.coreos.com") +@Generated("jsonschema2pojo") +public class OperatorConditionList implements Editable , KubernetesResource, KubernetesResourceList +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "operators.coreos.com/v2"; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "OperatorConditionList"; + @JsonProperty("metadata") + private ListMeta metadata; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public OperatorConditionList() { + } + + public OperatorConditionList(String apiVersion, List items, String kind, ListMeta metadata) { + super(); + this.apiVersion = apiVersion; + this.items = items; + this.kind = kind; + this.metadata = metadata; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ListMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ListMeta metadata) { + this.metadata = metadata; + } + + @JsonIgnore + public OperatorConditionListBuilder edit() { + return new OperatorConditionListBuilder(this); + } + + @JsonIgnore + public OperatorConditionListBuilder 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/v2/OperatorConditionSpec.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v2/OperatorConditionSpec.java new file mode 100644 index 00000000000..7d2ff8af6b3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v2/OperatorConditionSpec.java @@ -0,0 +1,160 @@ + +package io.fabric8.openshift.api.model.operatorhub.v2; + +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({ + "conditions", + "deployments", + "overrides", + "serviceAccounts" +}) +@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 OperatorConditionSpec implements Editable , KubernetesResource +{ + + @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List conditions = new ArrayList<>(); + @JsonProperty("deployments") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List deployments = new ArrayList<>(); + @JsonProperty("overrides") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List overrides = new ArrayList<>(); + @JsonProperty("serviceAccounts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List serviceAccounts = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public OperatorConditionSpec() { + } + + public OperatorConditionSpec(List conditions, List deployments, List overrides, List serviceAccounts) { + super(); + this.conditions = conditions; + this.deployments = deployments; + this.overrides = overrides; + this.serviceAccounts = serviceAccounts; + } + + @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getConditions() { + return conditions; + } + + @JsonProperty("conditions") + public void setConditions(List conditions) { + this.conditions = conditions; + } + + @JsonProperty("deployments") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getDeployments() { + return deployments; + } + + @JsonProperty("deployments") + public void setDeployments(List deployments) { + this.deployments = deployments; + } + + @JsonProperty("overrides") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getOverrides() { + return overrides; + } + + @JsonProperty("overrides") + public void setOverrides(List overrides) { + this.overrides = overrides; + } + + @JsonProperty("serviceAccounts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getServiceAccounts() { + return serviceAccounts; + } + + @JsonProperty("serviceAccounts") + public void setServiceAccounts(List serviceAccounts) { + this.serviceAccounts = serviceAccounts; + } + + @JsonIgnore + public OperatorConditionSpecBuilder edit() { + return new OperatorConditionSpecBuilder(this); + } + + @JsonIgnore + public OperatorConditionSpecBuilder 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/v2/OperatorConditionSpecConditions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v2/OperatorConditionSpecConditions.java new file mode 100644 index 00000000000..2d817e3c61b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v2/OperatorConditionSpecConditions.java @@ -0,0 +1,178 @@ + +package io.fabric8.openshift.api.model.operatorhub.v2; + +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 OperatorConditionSpecConditions 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 OperatorConditionSpecConditions() { + } + + public OperatorConditionSpecConditions(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 OperatorConditionSpecConditionsBuilder edit() { + return new OperatorConditionSpecConditionsBuilder(this); + } + + @JsonIgnore + public OperatorConditionSpecConditionsBuilder 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/v2/OperatorConditionSpecOverrides.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v2/OperatorConditionSpecOverrides.java new file mode 100644 index 00000000000..547d5de6248 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v2/OperatorConditionSpecOverrides.java @@ -0,0 +1,178 @@ + +package io.fabric8.openshift.api.model.operatorhub.v2; + +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/v2/OperatorConditionStatus.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v2/OperatorConditionStatus.java new file mode 100644 index 00000000000..7cc26fc9a13 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v2/OperatorConditionStatus.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.operatorhub.v2; + +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({ + "conditions" +}) +@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 OperatorConditionStatus implements Editable , KubernetesResource +{ + + @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List conditions = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public OperatorConditionStatus() { + } + + public OperatorConditionStatus(List conditions) { + super(); + this.conditions = conditions; + } + + @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getConditions() { + return conditions; + } + + @JsonProperty("conditions") + public void setConditions(List conditions) { + this.conditions = conditions; + } + + @JsonIgnore + public OperatorConditionStatusBuilder edit() { + return new OperatorConditionStatusBuilder(this); + } + + @JsonIgnore + public OperatorConditionStatusBuilder 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/v2/OperatorConditionStatusConditions.java b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v2/OperatorConditionStatusConditions.java new file mode 100644 index 00000000000..fde4f151414 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-operatorhub/src/generated/java/io/fabric8/openshift/api/model/operatorhub/v2/OperatorConditionStatusConditions.java @@ -0,0 +1,178 @@ + +package io.fabric8.openshift.api.model.operatorhub.v2; + +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; + } + +}